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
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 |
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 |
How to find local host name using QTP?
What is the basic concept of quicktest professional?
After executing the script in qtp suppose i found some script execute successfully and found some error.So how to report the status for both (i.e pass and fail report)in test director. For "fail" We use "defect tab" in testdirector. But for "pass" how to report it to TL.what is the process plz anybody ans
In your QTP framework, what checkpoints were applied in the script to minimize script failure due to any reason during execution?
what is database check point, how will you parameterize the database from seperate data table?
OR is full with objects but i want to add 5 more objects,but i tried merging files,shared mode and descriptive ,iwont work.is there any alternative for that
How to check feasibility of the appliction?in automation testing?
How to record right click of a context menu and click on the selection ?
What are the recording modes in wave event?
can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks
Regular expressions..... Actually how to use this and what is the exact syntax and can anybody can help me out this with example.is there any docs pls send to my mailid rvreddy82@gmail.com
How to pass a variable in Dos Command using QTP? Eg: Dim path1, path2 path1 = "C:\Test\sample1.doc" path2 = "C:\Test\sample2.doc" How can we pass these path1 and path2 inside the "copy" dos command? I tried like this. this is not working. oShell.run "cmd /K copy" &path1 &path2