Self Help Documentation
Sample Project Structure
Lets look into a sample project illustrating actions with single step and multiple steps:
Scenario 1: Verify google homepage (contains 2 actions)
-
Action 1: Verify URL and check logo (contains 2 steps)
-
Step 1: Visit
- Needs a value i.e. https://www.google.com
- It does not require ‘Element’
-
Step 2: VerifyElementDisplayed
- Needs an ‘Element’ i.e. CSS locator to locate the element
- It does not require ‘Value’
-
Step 1: Visit
-
Action 2: Verify Search input appearing
Scenario 2: Open google homepage (contains 1 action)
-
Action 1: Open google homepage (contains 1 step)
-
Step1: Visit
- Needs a value i.e. https://www.google.com
- It does not require ‘Element’
-
Step1: Visit