how can i call reusable action in a function
could any one explain me?

Answer Posted / nanda

by using if then else statements...

for example...

public function cal_action(strdata)

if strdata = "" then

runAction "Action1[test1]",OneIteration

else

RunAction "Action1[test2]",OneIteration

else if

Close function

Like this....we can call

If any queries..

nanda.dreddy@gmail.com

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If I give some thousand tests to execute in two days what do you do?

568


What is RTM (require ment tracebulity marix) fromate?

1515


When to use shared and local object repository?

620


if mandatory and Assitive propertys are shows same how will u write skript in QTP window

1608


what is the frame work in J-meter?

1584






To which environments does quicktest professional (qtp) supports?

577


What are test settings and global settings?

573


Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.

1697


What is smart identification in QTP?

616


what is the advantages and disadvantages of using functions instead of re usable actions

1416


if anyone has idea of the interview procedure in covansys, plz send me a mail?

1515


What is the extension of the recovery scenario file in qtp?

528


What is the file extension of the code file in qtp?

552


What is qtpro?

580


What are the various types of Actions in UFT?

579