Syntax for how to call one script from another? and
Syntax to call one "Action" in another?
Answers were Sorted based on User's Feedback
Answer / suresh babu m
Hi,
Sorry to say from above answer is wrong.
If u want to call the actions, before it should be reusable.
Syntax : Runaction "ACTIONNAME[TEST NAME]",Oneiteration.
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / chintu
Steps to insert a call to an action:
• Choose Insert > Call to Action, right-click the action and select Insert Call to Action, or right-click any step and select Action > Insert Call. The Insert Call to Action dialog box opens.
• In the Select an action box, select the action you want to insert from the list.
• Specify where to insert the action : At the end of the test or After the current step.
• Click OK. The action is inserted into the test as a call to the original action
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / sreeprasad
If u want to call the script from one action to another
thenthe below syntax used
suppose u have created a test1 ,in that you have created
the all steps for action1.and you have created a
action2 .now you want to call your script from action
runaction "action1(test1)iteration1"
| Is This Answer Correct ? | 1 Yes | 2 No |
Hi, Is there any function or vbscript in QTP to clear the cookies,sessions. Please help me in this.
why we use sendkey method in qtp?
What are objects? how do you select the unknow object?
Batch testing in howmany ways u perfrom in QTP
What is the default add-ins in qtp?
is the institute MindQ laid by Mr.Nageswar rao.. heard alot about Nageswar rao...can you briefly let me know about the Nageswar rao inst. and MinQ...THANX IN ADVANCE
What is checkpoints for quicktest professional (qtp)?
why is execute file used.
What are the Levels of Automation in QTP
what are all the fileds present in object repository?
is qtp 9.2 create the scripts with the application run on mozilla firefox browser?
Test Life cycle starts IS it Requirments stage or Test Initiation?