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



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

Answer / ramyab.mca@gmail.com

Hai....

RunAction ActionName, [IterationMode , IterationRange ,
Parameters]

Here the actions become reusable on making this call to any
Action.
IterationRange String Not always required. Indicates the
rows for which action iterations will be performed. Valid
only when the IterationMode is rngIterations. Enter the row
range (i.e. "1-7"), or enter rngAll to run iterations on
all rows.
If the action called by the RunAction statement includes an
ExitAction statement, the RunAction statement can return
the value of the ExitAction's RetVal argument.

K,Byeeee...
Thanks & Regards
B.Ramyasri

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

General Ques : At What State u start Automating ? means at what stage we start writing QTP scripts ?

2 Answers  


how can i change the action path that called in other action. when i copy one action to other pc,the action"test2" calls another action(C:\test1\action0),and i update this"test1",the folder update to "action1",but when i open "test2", it just point the call path to "C:\test1 \action0", but does not update to "action1",and the change i make can be shown in test2. so, can i update the call path manully? thanks

2 Answers   HP,


how can i pass a "cript"as a parameter in to a function

0 Answers  


what is batch testing?

1 Answers  


Dear Friends, I having total 3+year experience in manual testing including automation testing QTP, if i am attending any interview what kind of question will i get? please help me out

0 Answers  






tell me QTP standards ?plz

0 Answers   Kanbay,


What is meant by a Check Point in UFT? Also, explain the applicable Check Points.

0 Answers  


can any one give me the doccument how to test aproject developed in java language in qtp can here can we use the general vb scripting or we have to use java script here if we have to ese the java script here can any one send me the manual for it means how to write descriptive programming for it thanks in advance

1 Answers  


what is the difference between quality and testing ?

2 Answers  


Can you write a script for to insert array elements in an excel A to Z columns only. if the number oe elements in the array is greater than the number of columns (A to Z), come to next row and proceed furthur. eah cell should contain only one array value.

1 Answers  


I want to know can we integrate visual source safe tool with QTP and QC for our version controlling process? WE know QTP and QC 10.0 version is having the version control inbuilt in it but I want to know the merits and demerits of the inbuilt version control tool and the visual source safe tool using QTP and QC.

0 Answers   Wipro,


I want to open a text file and then search some specified text in it and then replace that text with some other text i found that text in .txt but do not know how to replace that text can any body help me. if possible put the code for qtp

2 Answers  


Categories