Skip to main content
Skip table of contents

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.

  1. Log on to Qualitia Automation Studio.
  2. On the Develop tab, click Objects.
  3. Click Spy.
    The Internet Explorer opens with the Object Spy add-on. 
  4. Navigate to your Web application: "https://www.linkedin.com/"
  5. Add the following objects:
    1. Textbox to add Email ID.
    2. Textbox to add Password.
    3. Sign In button. 
    4. Error message when the email or password is incorrect.
  6. Click Save and close Internet Explorer.
  7. On the Develop tab, click Tasks.
  8. Right click in the left pane and select New Task.
    The New Task screen appears.
  9. Enter Task Name, Task Description and File Name and click OK.
  10. To add step, click Add.
  11. Double click in the Action field and select OpenUrl.
  12. In the Parameter section, enter URL to your Web application: "https://www.linkedin.com/"
  13. Add new step.
  14. Double click in the Action field and select MaximixeBrowser.
  15. Create new task.
  16. Add following steps:
    1. In the Object column, Select textbox added to enter email address using Object Spy.
    2. In the Actions column, select Set and give username in the parameter section inside double quotes.
      For example "john.doe@gmail.com" 
    3. In the Object column, Select textbox added to enter password address using Object Spy.
    4. 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. 
    5. In the Object column, select button added to Sign In to your Web application.
    6. In the Actions column, select Click.
    7. In the Object column, select Error Message added when adding incorrect username or password. 
    8. In the Actions column, select VerifyExistence.
    9. In the parameter section, enter "True"
      This step checks that the error message displays on entering incorrect username and password.
  17. Click Save to save the task.
  18. Navigate to Test cases screen and create new Scenario and Test case.
  19. To Import tasks created previously, click Import
  20. Select the task created for opening application, click OK.
  21. Select the task created for adding email ID, passwords, and so forth, click OK
  22. Click Save to save the test case.
  23. Click the Run button and ensure every step is being executed correctly.
  24. 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.
  25. 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 ToolQualitia 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.