Document toolboxDocument toolbox

Header

(v9.0) Add Web, Mobile and SFDC Objects

Prior to automating your manual test cases, add objects to your object repository to 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 QAS - Client.

  2. Access Develop from left navigation to view Test Explorer screen.

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

    1. You can view Object Repository, where all Objects of a Project are listed in alphabetical order.

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

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

  6. If you have several objects, use the Search function to quickly search for the desired objects.

Light Bulb object next to an object indicates that the Object is a Smart Object.

Add a Web, Mobile, or an SFDC Object

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 QAS - Client.

  2. Access Develop from left navigation to view Test Explorer screen.

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

    1. You can view Object Repository, where all Objects of a Project are listed in alphabetical order.

  4. Under a Project, you can view all the Pages from which the Objects are captured.

  5. Click Expand button before each web page to view its Objects.

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

  7. Click Create Object button.

  8. This will open a form where you can:

    1. Enter the object Name.

    2. To use the Smart Locator feature during execution, ensure to check the Smart Object checkbox.

      1. 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. Select 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.

        1. Remember, if you specify these, QAS 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. Select 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.

  9. To continue adding another object right away, check the Create Another checkbox.

  10. Once completed, click Save to add the object to repository; otherwise, click Discard.

  11. Now, you have two options:

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

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

      1. Follow the same process for adding an Object.

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

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

  13. Click Save to add the object to repository; otherwise, 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.

 

💡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!

Footer