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


I am having trouble understanding #1 how to paramaterize a
userid and password that I need to call in about 25
existing scripts. I need to know how to Create a Reuseable
action for 25 existing scripts that will call the exact
same userid and password? I need to know how to create a
Reuseable action and then have it called by existing
scripts being run in a batch.

Answers were Sorted based on User's Feedback



I am having trouble understanding #1 how to paramaterize a userid and password that I need to call..

Answer / m.hemakumar

converting action into reusable action follow this
navigation

edit-action-action properties-Select resusable action check
box


RunAction "action Name",oneiteration,"userid
value","passwordvalue"


Note:
1)we have to define injput parameters in calling action

here calling action means actula action
called action is reusable action

Is This Answer Correct ?    0 Yes 0 No

I am having trouble understanding #1 how to paramaterize a userid and password that I need to call..

Answer / nagk24

first u have to parametriz from excel to datatable
datatable.importsheet"path of xl","sheetname in xl","action name in current test"
to get data from data table
dialog().winedit().set datatable("action name","clumn name")
later we can call dis action from any test
insert--->call to existing call

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

Is QTP a compiler or interpreter..? can you we execute a QTP Script file in a another system which does not have QTP installed..??

6 Answers   Virtusa,


I am trying to read the rediffmail usign the below code. But facing problem, while i user to get the link of the mail, i am getting all the link of the page, While i just want to get only mail name - link (not all the link of an page) so that i able to read the mail message by clcking on them in qtp. Dim Lnk,Webcheckbox Set Lnk= Description. Create '********* To count and display the webcheckbox Lnk("micclass" ).value=" Link" set LinkName= Browser("Welcome to Rediffmail:" ).Page("Welcome to Rediffmail:" ).ChildObjects( Lnk) LinkCount=LinkName. Count msgbox LinkCount For i=1-1 to LinkCount-1 DataTable.SetCurren tRow(i) DataTable.Value( "Name",1) =LinkName( i).GetRoProperty ("name") Next Waiting for the reply Praveen Saini

1 Answers  


what are the design objects in qtp

3 Answers   Wipro,


How to Import data from a ".xls" file to Data table during Runtime.

1 Answers   Crea,


when we enter url,one page should open.write a vb script ,that page is open or not

2 Answers   Blue Chip India, Persistent,


How we can we create a Text checkpoint in QTP 9.1,Actually what i did is first i put in recording mode and gofor Inser menu>Checkpoint>Textcheckpoint>click,Now an hand symbol came and i showed it to some textbox and cliked but the QTP9.1 is giving an error message like "The Obkect you are selecting doesn't support this operation" If i go for Help of QTP 9.1 information I didn't get any solution,pls help me in this issue.

6 Answers  


How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")

0 Answers  


Does QTP support Linux Red Hat? Does QTP support Flash?

4 Answers  


I want to open a GOOGLE page without recording a test in QTP.Can any one answer me?

4 Answers   IBM,


When and why to use descriptive programming?

0 Answers  


How to create runtime property for an object?

0 Answers  


if we made any changes in shared object repository how it reflects of others like our team members?

2 Answers   CTS,


Categories