Automating your first Test Case with Qualitia Automation Studio (Web Application)
After you have created your project in Qualitia, you can start creating your first test case for Web application.
Log on to Qualitia Automation Studio.
On the Develop tab, click Objects.
Click Spy. The Internet Explorer opens with the Object Spy add-on.
Navigate to your Web application: "https://www.linkedin.com/"
Add the following objects:
Textbox to add Email ID.
Textbox to add Password.
Sign In button.
Error message when the email or password is incorrect.
Click Save and close Internet Explorer.
On the Develop tab, click Tasks.
Right click in the left pane and select New Task. The New Task screen appears.
Enter Task Name, Task Description and File Name and click OK.
To add step, click Add.
Double click in the Action field and select OpenUrl.
In the Parameter section, enter URL to your Web application: "https://www.linkedin.com/"
Add new step.
Double click in the Action field and select MaximixeBrowser.
Create new task.
Add following steps:
In the Object column, Select textbox added to enter email address using Object Spy.
In the Actions column, select Set and give username in the parameter section inside double quotes. For example "john.doe@gmail.com"
In the Object column, Select textbox added to enter password address using Object Spy.
In the Actions column, select SecureSet and give password for the account using this syntax inside double quotes. Syntax: "Encrypt(PASSWORD_HERE)". Using this action encrypts your password for security purpose.
In the Object column, select button added to Sign In to your Web application.
In the Actions column, select Click.
In the Object column, select Error Message added when adding incorrect username or password.
In the Actions column, select VerifyExistence.
In the parameter section, enter "True". This step checks that the error message displays on entering incorrect username and password.
Click Save to save the task.
Navigate to Test cases screen and create new Scenario and Test case.
To Import tasks created previously, click Import.
Select the task created for opening application, click OK.
Select the task created for adding email ID, passwords, and so forth, click OK.
Click Save to save the test case.
Click the Run button and ensure every step is being executed correctly.
To add this test case to Suite, navigate to the Execute window > create new suite or click the existing suite > Search and select test case to add and click OK.
After successful suite creation, you can:
Save the marked test cases in XML clicking Save As XML button.
Run all the test cases marked in the list from this suite clicking Run Now button.
Schedule the test case execution on desired time clicking the Schedule button.
Test Case Specifications
Application Type
Web
Operating System
Windows
Application Under Test
Linked In
Execution Browser
Internet Explorer
Object Identification Tool
Qualitia Object Spy
Test Summary
Enter incorrect username and password and verify the error message.
JavaScript errors detected
Please note, these errors can depend on your browser setup.
If this problem persists, please contact our support.