Use Page Prompting
Use of PTF page prompting steps make tests more robust and repeatable by simplifying test data and replacing it with intelligence built into the step.
Page prompting functions replace explicit navigation in the test and instead directly access the component search page by URL manipulation. A test with the navigation explicitly defined can break when the navigation changes, even though the application is working fine. Page prompting avoids this problem.
Tests that use page prompting are more repeatable. Consider the following test instruction:
1. At the Define Calculation search page, add a calculation with the name KUSPTEST
or, if it already exists, update it.Using page prompting, a single step can navigate directly to the search page and either update or add a key, whichever is needed.
PTF can be configured to insert page prompt constructs automatically during recording. The default behavior is set by the PTF administrator on the Define Configuration Options page and can be overridden during recording using the recorder utility tools.
See the Page type actions Prompt and PromptOK for more details.