The SmartShot View offers graphical and hierarchical views of the
current step in a test. The view displays a table of properties associated with a selected
object. You can also use this view to quickly create user actions, adding steps to the test
using the selected graphical elements.
You must have created a test from a recording and have the test script open in the test
editor.
You can add actions for any of the widgets in the SmartShot
view.
-
Click an action item in the Test Contents area of the test
editor.
-
Select a graphical object or the corresponding element in the hierarchical list
Elements in the SmartShot view, and then
right-click and select Add user action for this element.
In the test editor, a step is added just before the current selected
node.
-
Select a value for the action of the object in the User Action
Details section. An easier method is to drag an object in the
SmartShot view, and drop it in the test script.
-
Save the test.