What is an Action?
Action is a meaningful functionality that a user can perform in one given page (context).
Action is performed in one context (owner context) and may lead the test application to another context, which is called destination context.
What does an Action contain?
An action contains logic comprised of statements.
These statements allow interacting and verifying the test application.
- Action completely belongs to one context only.
- Action makes use of the views and elements that belong to the owner context
Owner and Destination Context of an Action
Action has access to all the Views and elements belonging to the owner context. It cannot access elements from Destination context.
Destination context may sometimes be same as the Owner context, when the action's logic does not involve moving to a different page.
Comments
0 comments
Please sign in to leave a comment.