Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Adding a Web or SFDC Object

When you start automating your manual test cases, the first thing you will need to do is add objects to your object repository. This repository will include:

...

If you are working with a desktop application, you will need to refer to the guide on Working with Qualitia for Desktop Applications

View Objects

  1. Login to Qualitia Automation Studio Client <insert Screenshot>

  2. Access Develop from left navigation of your Qualitia Automation Studio -Client to view Test Explorer screen.

  3. Click Objects icon from extreme right of the toolkit.

  4. You will see Object Repository.

  5. All the Pages from which the Objects captured under the Project will be listed.

  6. All the Objects listed will be alphabetically sorted.

  7. Click Expand button before each web page Parent Object to view the Child Objects under the page.

  8. If you are landing on this page for the first time, you will be seeing a bank Object Repository with a Create Object button.

  9. If you have 100s of objects use the Search to quickly search for the objects.

  10. If you see a Light Bulb next to an object it indicates that the Object is a Smart Object.

Adding a Web, Mobile or an SFDC Object

Info

Note: Image objects do not support manual creation, and Time Out and Polling Interval options do not work for SFDC objects. Also, you can only create an SFDC object in a Salesforce project.

  1. Login to Qualitia Automation Studio Client <insert Screenshot>

  2. Access Develop from left navigation of your Qualitia Automation Studio -Client to view Test Explorer screen.

  3. Click Objects icon from extreme right of the toolkit.

  4. You will see Object Repository.

  5. All the Pages from which the Objects captured under the Project will be listed.

  6. Click Expand button before each web page to view the Objects under the page.

  7. If you are landing on this page for the first time, you will be seeing a bank Object Repository with a Create Object button.

  8. Click Create Object button.

  9. This will open a form where you can

    1. Enter a Name for the Object.

    2. If you want to use the Smart Locator feature during execution, make sure to check the Smart Object checkbox. If you are selecting the Smart Object, you will be prompted to confirm, click Ok.

    3. Choose Technology from the dropdown.

    4. In case of a SFDC or Web Object

      1. Choose the Class from the dropdown.

      2. Add a Description.

      3. (Optional) If you want to specify a Time Out, enter it in seconds.

      4. (Optional) If you want to specify a Polling Interval, enter it in milliseconds. Remember, if you specify these, Qualitia will use the Explicit Wait mode during execution, overriding the values specified in the associated execution profile.

      5. Select the Locator Type and enter the corresponding Locator Value.

    5. In case of Mobile Object

      1. Choose the Class from the dropdown.

      2. Enter a Description.

      3. Choose

        1. Android Locator Type and Locator Value.

        2. IOS Locator Type and Locator Value.

  10. If you want to continue adding another object right away, check the Create Another checkbox.

  11. Click Save to add the object to repository, else click discard to avoid saving in repository.

  12. Now, you have two options:

    1. To create a parent object, click on Add Object at same level.

    2. To create a child object, find the parent object under which you want to add the child in the left pane. Then, click Add Contained Object button.

      1. Follow the same process for adding an Object (9).

      2. In case of Child Object, select the Parent from the dropdown.

  13. If you want to continue adding another object right away, check the Create Another checkbox.

  14. Click Save to add the object to repository, else click discard to avoid saving in repository.

Remember, you can add an SFDC object using either the SFDC:Label or XPath locator types. And if you're working on a Salesforce project, you can also add web and mobile objects for the associated web and mobile application objects.

Info

You can create an empty object by not specifying the Locator Type and Locator Value.