Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



Syntax for how to call one script from another? and Syntax to call one "Action" in anot..

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

Syntax for how to call one script from another? and Syntax to call one "Action" in anot..

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

Syntax for how to call one script from another? and Syntax to call one "Action" in anot..

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

Post New Answer

More QTP Interview Questions

Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?

0 Answers  


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

1 Answers  


Using Object Repository is a advantage or disadvantage?

6 Answers   Wipro,


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.

0 Answers   RBS,


How to use debug tools?

0 Answers  


Where virtual objects stores results?

4 Answers  


results.xls file is automatically generated while running the script in QTP.But it is showing error to open the file

1 Answers  


action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans

0 Answers   TCS,


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

6 Answers   ADP,


breef description of batch testing ?

0 Answers   Wipro,


How to add a page checkpoint to your test?

1 Answers  


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

1 Answers   HK, TCS,


Categories