Versions Compared

Key

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

Adding a Web or SFDC Object

When you start Prior to automating your manual test cases, the first thing you will need to do is add objects to your object repository . This repository will 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 Qualitia Automation Studio Client <insert Screenshot>QAS - Client.

  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.

    1. You

    will see Object Repository.
  4. All the Pages from which the Objects captured under the Project will be listed.

  5. All the Objects listed will be alphabetically sorted.

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

  7. Click the Expand button before each web page Parent Object to view the its 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 several objects, use the Search functionto quickly search for the desired objects.

...

Info

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

Add a Web, Mobile, or an SFDC Object

Info

...

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

  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.

    1. You

    will see
    1. can view Object Repository

    .All
    1. , 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 under the Project will be listed.

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

  6. If you are landing on this page for the first time, you will be seeing 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 a the object Name for the Object.

    2. If you want to To use the Smart Locator feature during execution, make sure 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.Choose

    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,

      Qualitia
        1. QAS will use the Explicit Wait mode during execution, overriding the values specified in the associated execution profile.

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

      .
    If you want to
      1. .

    1. 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. Click Once completed, click Save to add the object to repository; otherwise, else click discard to avoid saving in repositoryclick Discard.

  11. 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 from the left pane 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.

  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, else click discard 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.

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