Versions Compared

Key

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

...

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".

...