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

Give me some real time point of way where exactly we can conduct audits?

0 Answers   CTS,


what are the different Frame Works in Quick Test Proffessional testing

3 Answers   Wipro,


How to record & run on Japanese language application using english version of QTP ???

4 Answers   ABC,


Analyzing the checpoint results?

0 Answers  


This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?

0 Answers  






we have 10 actions in out test how can we convert 9th action is main action ? how ?

5 Answers  


What is expert view and keyword view?

0 Answers  


How to customize checkpoints with parameters?

0 Answers  


Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)

0 Answers  


What is keyword driven Testing Framework. Anybody can explain it in details... Pls anybody can give the answer.. Thanks in advance...

1 Answers   Navis,


in QTP we test web based application at that time what script is run? is support vb script? plz tell me

3 Answers  


how do you remove object repository at runtime and load object repository and verify it

2 Answers   Thomson Reuters,


Categories