Document toolboxDocument toolbox

Header

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 Add Desktop Object.

View Objects

  1. Login to QAS - Client.

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

  3. Click the 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 next to each Parent Object to view its Child Objects.

  5. If you land on this page for the first time, you will see a blank Object Repository with a Create Object button.

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

A Light Bulb icon next to an object indicates that it is a Smart Object.

Add a Web, Mobile, or SFDC Object

Image objects do not support manual creation, and the 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. Log in to QAS - Client.

  2. Access Develop from left navigation to view the 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 the Expand button next to each web page to view its objects.

  6. If you land on this page for the first time, you will see a blank 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 you 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 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.

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

      2. Follow the same process for adding an object.

      3. 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 that you can add an SFDC object using either the SFDC:Label or XPath locator types. If you're working on a Salesforce project, you can also add web and mobile objects for the associated web and mobile applications.

 

📞📚 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