Home | BA-Interview-Questions  | Jobs | Resumes  | BA-Dictionary | Contact | Privacy Policy

 

Resources:

..

 

..

aa

 

Integrated testing

 

When we put together 2 or more actions and test it together we call it Integrated Testing. In QTP we cannot integrate 2 URLs [we can do that in Win runner & Load runner]. We cannot put together actions recorded in MSN & Yahoo in QTP. Also we have to come back to the homepage just like we start with it for all the actions that we want to integrate.
E.g.: Yahoo>autos>new cars>BMW>yahoo…Action 1
E.g.: Yahoo>autos>used cars>Acura>yahoo…Action 2
E.g.: Yahoo>autos>sell my car>Blue book>yahoo…Action 3

There are two options in Integrated Testing.
1) Copy of Action.
2) Call to Action.

Copy of Action:
You can edit your scripts in there.
Ø Go to “Insert”
Ø Click on “Copy of Action”
Ø Browse [from test….]
Ø Clock on “Yahoo.BMW”, highlight
Ø Click “open”
Ø Rename it.
Ø Click “OK”
Ø The script is locked.
Ø “Run”
Ø The reusable action becomes “External action”
In the “Menu” it is there. As many as you copy they will be there.


Call to Action:
Pre-requisite condition to “Call to action” is to make the script reusable.
To make a script as a reusable action:
Ø Open the script
Ø Go to “Step”
Ø Click on “Action properties”
Ø Check the button “Reusable action”
Ø Click “OK”
Ø “Save” (make sure).
Now in the drop down menu it will be there. Once you call a “Reusable Action” it becomes “External Action”. It will be in the non-editable secured mode.
Ø Go to “Insert”
Ø Click on “Existing Action”
In Keyboard view right click on the file”Rename the action”. In integrating scripts they have to be sequential not random. First we have to have a new file.
Ø Go to “Insert”
Ø Click on “Call to existing Action”
Ø “Browse”
Ø “Select action” click on.
Ø Highlight which we want to integrate and click “Open”
Ø Click “OK”
To get the second one
Ø Go to “Insert”
Ø Click on “Call to existing Action”
Ø “Browse”
Ø “Select action” click on.
Ø Highlight which we want to integrate and click “Open”
Ø Click “OK”
Ø When we are done “Run”.


To check the properties:
Ø Click on just before the “check point”
Ø Go to “Add/Remove”
If anything changes you can catch from there.

 

photo