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 |
Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?
how to get childobject from .net application. i tried but its showing child object count zero. but window has child objects.the following script i written... pls help me how to get. set parent=SwfWindow("winodw name") CheckObjectDescription parent, SwfButton Public Function CheckObjectDescription(parent, oDesc) Set oDesc = Description.Create() oDesc("micClass:").Value ="Swfbutton" Set children = parent.ChildObjects(oDesc) cntObj=children.count msgbox(cntObj) End function
Using Object Repository is a advantage or disadvantage?
I want to grow as a Automation Engineer,Kindly help me in clearing my interview that what interviewer looks for as a Automation Engineer. I am having three years of experience in testing.
How to use debug tools?
Where virtual objects stores results?
results.xls file is automatically generated while running the script in QTP.But it is showing error to open the file
action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans
You have an application version 1 with 5 combo boxes, Developers develop version 2. Here they replaced bottom 3 combo boxes with each other. While executing the Test script for version1 no errors. When we execute the Test script for version2 that QTP showing the error message "Object not identified" remember no property changed in version 2, ordinal identifier also disabled. Find what properties might change here in this scenario
breef description of batch testing ?
How to add a page checkpoint to your test?
We have 10 page.In first page we 2 popup and next page we 3 popup window......(windows name is different)how can we handle the all the popups without using recovery scenario