Dividing the Test into Two Actions

Here i explained how to divide the test into two actions. Follow the below steps:

Since your test currently contains two main processes: signing-in and purchasing a flight, it makes sense to divide the test into separate actions.

1.Select the page where you want the second action to begin. In the Keyword View, expand Action1 > Welcome: Mercury Tours.

2.Split the test into two actions.
Select the first Find a Flight: Mercury page and choose Edit > Action > Split Action or click the Split Action button . The Split Action dialog box opens.
3.Enter names and descriptions for the two actions.In the Name box of the 1st action type: Sign_in.

In the Description box of the 1st action, type: Enters user name and password to sign in.

In the Name box of the 2nd action type: FlightOrder.

In the Description box of the 2nd action, type: Chooses and purchases a flight.

Click OK to close the Split Action dialog box and accept the other default selections. The two actions are displayed in the Keyword View.

Choose View > Expand All to examine the contents of each action. Note that the FlightOrder action begins and ends with the Find a Flight: Mercury page.

Comments

Popular posts from this blog

2.Areas of Deployment

Setting Actions as Reusable Actions

Sample QA/Testing Resume