Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Define the sequence of the steps in a test case that resemble the flow of a test scenario.

...

Editing a Step Underlined with the Red Color

If the The Test Case Editor screen highlights some steps or tasks by underlining them with the red color, as shown in the following figureSimilarly, the left pane highlights some test scenarios and test cases by underlining them with the red color. You need to resolve the steps to avoid test case execution failures.

The following figure is a sample that shows how steps, tasks, test cases, and test scenarios are underlined with the red color:

This indicates that every highlighted step has anyone of the following problems due to which the test case execution fails:

  • The step is not provided with test data. Add the relevant test data for that step. For instructions on how to add a test data, refer to Adding Test Data for a Test Case.
  • The step contains an empty object, which means that object properties values are blank, such as locator type and locator value. 
  • The step contains a deleted object, which is applicable for the desktop projects only. This occurs when the The object is removed deleted from the OR object repository because the synchronized TSR file is either updated or replaced with another TSR file. 

To find all the task steps that are underlined with the red color, select any step in the Test Case Editor screen, click the Next Deleted/Empty/New test data step button () or the Previous Deleted/Empty/New test data step button () to navigate through the steps
Similarly, the left pane highlights some test scenarios and test cases by underlining them that are underlined with the red color. Open the test case to resolve its steps as explained above.