Header

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

📚Prerequisites:

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:

  1. Parent objects: These are objects whose class is a page.

  2. Child objects: These are objects present under a page class and used in your test cases. A child object can also have its own set of child objects.

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 Objects under the Project will be listed.

  6. All the Objects listed will be alphabetically sorted.

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

  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

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.

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

💡Golden Nuggets: Best Practices for Adding Objects


🔧 Got a problem? Let’s fix!

 

📞📚 Here to Help: Support and Resources

Need a helping hand? Don't hesitate to reach out to your Qualitia Relationship Manager. For more resources, our official Qualitia documentation and community website are just a click away!

  • No labels