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

Version 1 Next »

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:

  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.

  3. Click Objects tab icon from the right side of the screen.

  4. A slide-out panel will appear where the existing objects will be listed.

  5. Click Refresh icon if you intend to check for new objects added by your team members.

  6. Click Expand All to expand all the parent objects so that you can view the parent and corresponding child objects.

  7. Click Collapse All to collapse all the child objects so that you can view only the parent objects.

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

Adding a Web 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.

  3. Click Objects tab icon from the right side of the screen.

  4. A slide out panel will appear where are the existing objects will be listed.

  5. Hover on the existing object if it exists or click the Create Object.

  6. 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. Enter the Object Name and Description.

  7. Choose the Class from the drop-down list.

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

  9. If you want to use the SmartLocator feature during execution, make sure to check the SmartLocator checkbox.

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

  11. (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.

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

  13. Click Save to finish.

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.

Editing an Object

 

Sometimes, an object's name or properties might change, or you might want to rearrange your object hierarchy. Here's how you can edit an object:

  1. Click

Develop from the left navigation pane.

  1. Click

Objects icon from the right side of the screen.

  1. A slide-out panel will appear where the existing objects will be listed.

  1. If you have 100s of objects use the search bar to quickly search for the objects.

  1. Double click on an existing object you wanted to edit.

  1. You will see the Object details.

  1. Click

Pencil icon to edit.

  1. Edit the fields as needed.

  1. Click

Save to finish.

 

Note: If you want to change the locator type and the locator value for an object, remember to uncheck the SmartLocator checkbox first.

Note: You cannot change the class of an Object. If it is accidentally created delete the object.

 

You can also move objects to different parent objects or make them independent. Just select the object you want to move and select a different parent object.

Removing Objects

 

Over time, you might accumulate objects that you no longer need. Here's how you can remove them:

  1. Click

Develop from the left navigation pane.

  1. Click

Objects icon from the right side of the screen.

  1. A slide-out panel will appear where the existing objects will be listed.

  1. If you have 100s of objects use the search bar to quickly search for the objects.

  1. Double click on an existing object you wanted to edit.

  1. You will see the Object details.

  1. Click

Bin icon to delete.

  1. You see a new pop-up screen to confirm deleting the object.

  1. Confirm that you want to delete the object by clicking

Delete.

 

Note: Remember, you can only remove objects that aren't part of any tasks or test cases. If you remove a parent object, all its child objects will be removed as well.

Viewing Test Cases Before Modifying Objects[SS3] 

Before you make changes to an object, it's a good idea to check which test cases will be affected. This can help you understand the impact of your changes. Here's how you can do it:

·       Click Develop from the left navigation pane.

·       Click Objects icon from the right side of the screen.

·       A slide-out panel will appear where the existing objects will be listed.

·       In the left pane, find the object you're planning to modify. This could be a parent or child object that's been used in some tasks.

·       Right-click on the object, then click on View Test Cases from the context menu.

 

This will show you a list of all the test cases where the object is used. If you select an object from the list view (right-pane) and choose to edit it, you'll also see a list of impacted tasks. You can then decide whether to proceed with the edits or take some other action based on the potential impact.

Editing an Image Object

 

Editing an image object is like editing a regular object, but there are a few additional fields:

  1. Image Accuracy: This lets you specify the image pixel accuracy value, which ranges from 1 to 100. For example, if you set the image accuracy value to 10, then it will verify the image object by matching 10% of the image pixels. The default value is 70.

  2. Time out: This lets you specify the maximum time, in seconds, that you want the system to spend searching for the object.

  3. Polling Interval: This lets you specify the polling interval in milliseconds.

  4. Class: This lets you select the desired class.

To change the pointer position of the image, click on the image and set the pointer to the desired location. When you're done, click "Done", then "Save".


  • No labels