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...

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

What is post recovery scenario?

2348


What is the process of synchronizing qtp and aut?

1082


Without integrating QC/Testdirector with QTP, is it possible to keep track of the defects?If yes how? How to export QTP results to an excel sheet?

1986


What is the difference between keyword view and expert view?

1109


The hybrid framework can be implemented for any application. Is it true?

1205


Which features or drawbacks of QTP lead to the upgrade for a newer version?

1082


How many tabs are available in debug viewer pane?

1169


Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.

3558


What is text/text area checkpoint?

1110


can u explain relative path architecture framework in qtp?

2068


After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.

7610


How do you do batch testing in wr & is it possible to do in qtp, if so explain?

1136


How did you use regular expressions in QTP and also in WR?

2690


what is description object?

2109


Hi ,Can any one pleas explain how to test splash objects using QTP?

2418