Specifying an expected screen title
Screen title verification points report an error if the title of an SAP screen is different from what you expected.
Procedure
- Select the SAP screen in the test editor and ensure that
screen title verification is enabled for the SAP screen.
The Test Element Details area includes a Screen Title Verification Point section.
- If screen title verification was enabled for the entire test, the Enable verification point check box is selected for all SAP screens in the test.
- If screen title verification was enabled for a specific SAP screen, the Enable verification point check box is selected for the selected SAP screen.
You can enable or disable screen title verification for a specific SAP screen in the test editor by selecting or clearing the Enable verification point check box.
- Ensure that the Expected screen title field
shows the string that you expect to be included in the page title
that is returned when this page is loaded.
When the test was recorded, SAP returned a default title for this screen. This value is displayed in the Recorded title field, and is automatically copied to the Expected page title field when the Enable verification point check box is selected. You can change the string in the Expected page title field as needed.
Whenever the test runs with page title verification enabled, an error is reported if the title returned for the page does not contain the expected title. Although the comparison is case-sensitive, it ignores multiple white-space characters (such as spaces, tabs, and carriage returns).