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

How to create Reusable and Multiple Actions?

1714


What is the difference between rational rose and QTP?

1782


Explain quicktest professional (qtp) testing process?

539


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

563


What is the Difference between copy to action and call to action?

591






can the activities of test case design be automated?

1457


How can i initiate the objects to find uniquely in OR

1476


Hybrid framework supports Descriptive programming. Is it true?

656


What are the two types of repositories available, explain them?

594


Why do we use breakpoints in QTP?

582


Define object spy ?

567


Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?

1425


What is RTM (require ment tracebulity marix) fromate?

1533


tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?

1531


please give me the code for doing retesting of gmail login page using functions so the function has to give the value

1547