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 can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company
How will you handle custom object in QTP?
How comfortable are you in VB scripting?
What are the flaws in water fall model and how to overcome it?
What is the new version of qtp which is recently released in the market?
What VBScript operators, functions, and statements do you use in QuickTest Professional?
Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?
Explain object spy in qtp.
How to make arguments optional in a function?
What types of testing comes under functional testing or in other word what will you test in functional testing?
hi all, I want to know about the QTP scripts, i have read more books but all areis to be a theory so how can i improve my script skills. if anybody knows about qtp scripts plz guide me and i need a sample scripts.my mail id is karthis4u@gmail.com, 9986667831 If you all have any data send it to akadi111@gmail.com
Can we do qtp testing without creating objects in Dbject repository? can we do it completely writing code i.e in expert view only. Are there any books for this?