Categories

Quick start

You want to get started quickly with Agilitest, but you don't know how to do it? Here is an article that will quickly get you started.

1 / Download Agilitest

If you don't have an access to an Agilitest package, go to the page : https://www.agilitest.com/free-trial

Fill in your personal information and we will go back to you for a short explaination before the installation.

Our technical team will give you a link to download the package.

Download Agilitest

2 / Install Agilitest

Once the agilitest.zip has been downloaded, you just need to decompress it in a folder where you have access rights.

Launch the Agilitest.exe file by double clicking on it.

Then go to the settings panel.

Click on "Update" of the ATS configuration, it will download the last version of the ATS package.

Update packages

For the java installation, you have two possibilities:

-Click Download Java Configuration : do it by default if you don't know wether Java is already installed on your machine. It will break nothing if Java is alreday installed.

-You can also enter the directory where your JRE can be found if you want to use your own JRE.

Java setup

3 / Create a test project

Click on "New project"

Select a directory with acess read/write on your computer and click OK.

Agilitest will create a new project and a project tree under the selected directory.

Create a new project


4 / Create your first test

Click on "New component" at the top left of the editor and select "Create ATS script".

Enter the name of your first "helloworld" test

Agilitest will create a helloworld.ats file in the project tree, under src/main/ats, and will open this file in the editor.

Click on the "Channels" action and select "Start Channel". By default Agilitest will create a web channel in Chrome.

 Start channel

Click on the play button that appears when you place your mouse on the right part of the channel opening action: the action will be launched and Agilitest will open a browser.

Execute this action

Click on the "Navigation" action and select "Browser URL". Agilitest will create a second action to navigate to a URL

Browser URL action selection

Click on the "Browser URL" action which has just been created in the editor and select a website: www.google.com

Launch the action by clicking on the play button on the right.

Now, we are going to recover an element from the google page to perform an action on it: click on the "Capture" button on the right of the editor.

Channels management menu and capture button

Agilitest will give focus to Chrome and allow you to select the elements of your web page.

Sélection du champ INPUT principal de www.google.com

Place your mouse on the main INPUT component of the page and press the CTRL key on your keyboard: Agilitest will open the main locator selection window.

Opening the locator selection window

Selecting a locator allows you to identify which attributes of your component, or its parents, make your component unique on the page. For example, select the "name" attribute by clicking on its selector.

If you click on the "Statistics" button, Agilitest tells you if it has uniquely identified the component.

Identification of a component by its "name" attribute

When your locator is defined, you can drag-drop the component in the editor: click and hold your mouse button in the "Drag and drop in the editor" area

Drag start zone

Move your mouse in the editor area until you see "Create an action" appear: either between two actions, or in the lower part of the last action created.ction créée.

"create an action" to be able to drop the element

Then release your mouse button: Agilitest displays a menu allowing you to define the action you want to create.

Select "Enter text": a new action is created at the desired location.

Selecting the type of action to create

Click on the new action created on the text "Enter text", and enter the text to search for.

Hello world !

Then, if you click on the play button of the new action created, your Chrome browser will launch a search on the site www.google.com


First action linked to an element of the page

Here is it !, Agilitest works like that. You have the possibility of defining much more complex actions, adding controls, acting on locators and doing similar tests on Windows, mobile applications (Android and iOS) and webservices: each time the principle remains the same.

Agilitest piloting an Android application

One last thing: don't forget to close the open channel.

Close the channel

The name of the channel you close is the default opened channel, but don't forget: with Agilitest you can open as many channels as you want on as many different technologies in a single test.

Enter the name of the channel to close if necessary



Still require support?
Contact support