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

What are the different types of checkpoints?

0 Answers  


how to write regular expression for Date field?

12 Answers   Google,


What are test settings and global settings?

0 Answers  


what is the syntax for regular expression in QTP? how to create user defined functions in QTP?

6 Answers   CTS, MBT, TCS,


Am going to QTP testing......but i dont know coding languages like (c,c++,java,etc)and am not having interest in coding .............can i choose testing tools like qtp to learn and get a job in software......please reply me

1 Answers  






WHAT IS ENVIRONMENT VARIABLES?

6 Answers   Ordain Solutions,


If an application name is changes frequently i.e while recording it has name "Window1" and then while running its "Windows2" in this case how does QTP handles?

1 Answers   Crea,


In QTP where i have to concentrate more in the Interview point of View

1 Answers  


how to write the descriptive programming in QTP for loginwindow.without using Step generator,object repository for referecnes

4 Answers   STC,


How to build scripts that access data from external sources?

0 Answers  


What is the exact difference bet function and action in QTP Anybody can explain it in detail..Thanks in advance..

12 Answers   Wipro,


Give me brief idea about QTP automation object model?

5 Answers   TCS,


Categories