The Recording Activity (RA) Dialog is used for Recording, Analog recording (absolute and relative), Object Learning, and creating Simulated Objects.
How to Open
|1.||Open the SAR Dialog. Instructions are HERE.|
|2.|| You must select two things: (1) which recording library to use during the recording session and (2) which process/program to record. Look HERE for more information on using the SAR Dialog.|
|3.||Press either Select or Run on the SAR dialog to open the RA Dialog.|
As you interact with the AUT (Application Under Test), your actions are recorded in the grid of the RA dialog. The following screenshot shows the RA dialog after two interactions with www.google.com: (1) first, Inflectra was entered into the query text box and (2) the Google Search button was then pressed.
If you right click in the grid, you'll see a context menu with three options:
|·||Delete Action removes the selected row.|
|·||Edit Action opens the Action Editor Dialog. This is also opened by double-clicking a grid entry.|
|·||Press Try Action and Rapise will execute the action.|
|·||The Learn Shortcut: Use to learn an object.|
Place the mouse cursor over the object you wish to learn. It should become highlighted with a purple box. Press Ctrl+2 while the object is highlighted. You will see a line added to the RA dialog, signifying that the object was learned.
|·||The Spy Button: The Spy Button opens the SeS Spy dialog. The SeS Spy dialog allows you to view the state of the objects in your program. Viewing object state is called Object Spying. The SeS Spy dialog is described here.|
|·||Pick Object: Use If the object you wish to learn is invisible (covered by another object). Pick Object is disabled for Internet Explorer and Firefox recording.|
|2.||Spy on the obstructing object. (Press Start Tracking, mouse over the object, press CTRL+G)|
|3.||Select the item you wish to learn from the Tree section.|
|4.||Press the Learn Selected button.|
|·||The Pause Button: The Pause Button on the RA dialog temporarily stops Recording. Any interacting you do with the AUT is ignored. When you press the Pause Button, the title of the button changes to Resume. Press the Resume button to continue recording.|
|·||The Analog Button: The Analog button begins Analog Recording. Analog Recording tracks mouse movements, keyboard inputs, and clicks. To end Analog Recording, press CTRL+Break.|
|·||The _Simulated Drop-down Menu:|
An object can be learned if it matches a rule specified in the Recording/Learning libraries available. The drop-down menu lists the possible rules for learning objects in the current application. If you cannot learn an object with one rule, try another in the list. Create a Simulated Object only if the other, more flexible alternatives have been exhausted.
Learning using a specific rule:
|1.||Double click on a rule in the drop down list. The button text should change to the text that you selected|
2. Select an object on the screen and make sure it is highlighted with a rectangle
3. Press Ctrl+2 to learn the object
|·||The Cancel Button: The Cancel button stops Recording, closes the RA dialog, and discards any actions recorded or objects learned during the Recording session.|
|·||The Finish Button: The Finish button ends the Recording session. The RA dialog is closed, and the information collected during Recording is used to create a script. The script is displayed.|
|·||Transparent Option: While the RA dialog is open, it is always on top. The Transparent checkbox makes the RA Dialog transparent so that you can interact with objects behind it. The image below illustrates the difference:|