Restricting actions during the recording and playing back of tests with start application
You can restrict the recording of tests to capture only the actions that you perform on the start application. The playing back of such a test performs the recorded actions only on the instance of the start application associated with the test and reduces the overall playback time.
About this task
When you restrict the recording and playing back of tests that use a start application, the recording of a test does not capture any unnecessary click actions that you might perform on other active instances of the start application.
For information about how to add a start application to a test, refer to Related Links.
- The recording monitor captures only the actions that you perform on the instance of the start application associated with the test during recording.
- The playing back of the test performs the verification points and data-driven commands only on the instance of the start application associated with the test.
- If you use the Find the object
option to insert an object when an
ObjectNotFound exception is
displayed during playback, you can select only the
missing objects from the instance of the start
application associated with the test.Note: In Test UI running on Linux, you cannot insert an object by using the Find the object option when an ObjectNotFound exception is displayed. Therefore, you must disable the Limit Record/Playback to StartApp applications only option and then play back the test.
- If you have a test that has
find()
methods, the playing back of the test performs thefind()
method based actions only on the instance of the start application associated with the test and reduces the overall playback time.
Procedure
- Go to Test UI. in
-
Select Limit Record/Playback to StartApp applications only.
Important: If you remove the start application from the test, then the playback is not restricted to the start application associated with the test.