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 |
I am trying to install QTP 9.5 but i am getting error message saying that ("Path is \QuickTest Professional\bin\vb_init.exe") vb_init.exe file is not find. can anybody give me the advise what to do ?
Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?
Which company is better amdocs or techm ???
Why u don’t like recording the script and writing the script
How u perform exception handling in QTp,what is other name for ths?
what is the diff between manual test plan document and automation test plan doc.can u explain indetail.
How to customize checkpoints with parameters?
what is test scheduleling?
Explain how you can find length of array in qtp?
Can you expect major bugs in Net banking Application?
If i entered 2 columns and 4 rows inputs in DDT Like Mango fruit, Banana Fruit, Brinjal Veget, Carrot Veget.. . My Q is How to get the 2nd column value for corresponding 1 column input in 3rd row ie, ( i need to get "veget" in messge box @ run time
What is difference between the For..Next and While..Wend statements?