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

For which type of projects the iterative model is not suitable?

1887


What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?

1187


What are the benefits of quick test pro(qtp)?

983


Can launch two instances of qtp on the same machine?

1099


How to execute a winrunner script in quicktest professional (qtp)?

967


Explain in brief about the quicktest professional (qtp) automation object model?

988


how we connect 1. qtp9.2 to the quality center9.0? 2. Load runner8.0 to the quality center9.0

1900


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

1133


Can I change properties of a test object?

1149


What is the difference between the design-time and run-time data tables?

1121


When to use shared and local object repository?

1078


How to use output values in qtp ?

1016


What is ‘object spy’ and what is the function of object spy in qtp?

1104


How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)

2211


Explain the qtp test phases.

1049