Syntax for how to call one script from another? and

Syntax to call one "Action" in another?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?

576


What is the use of ordinal identifier in qtp?

608


What kinds of security (firewalls, encryptions, passwords, etc.) will be required and what is it expected to do? How can it be tested?

643


What is a programmatic description?

606


What is throw Object?

1564






Name the properties you would use for identifying a browser and page when using descriptive programming?

527


What is the difference between Keyword Driven test and Data Driven test?

1775


How software automation specialist enter steps in the Expert View?

1678


Explain runtime dynamic settings?

2028


What is the use of an object spy tool in qtp?

561


Can anyone pls tell me how to do action parameterization (input and output parameters) with respect to login window and insert order of flight reservation window in detail( pls give a clear step by step explanation with example) anyone please. Will be very thankful to u

1379


Is text area check point supports for web applications?

535


Can we create user defined functions in qtp?

559


What are the advantages of Object Repository?

590


I need to obtain the parent of an object programatically, so if I have: winButton("aButton") I need to obtain the parent part: window("Window1").Dialog("Dialog1") so I can programatically create a string of the full name of the object to call it with an execute statement in QTP I would like to use something like: part[1] = "window(""Window1"")" part[2] = "dialog(""Dialog1"")" so I can do: exeLine = part[1]&"."&part[2]&"."&"winButton(""aButton"")" Execute exeLine Apart from keeping a record of the window/dialog hierarchy is there a parent or path function/ command Thanks Adrian

1574