How to parameterize in QTP?
Answers were Sorted based on User's Feedback
Answer / shyam.meghansh
Paramaterization can be done in this way:
#1. In the sheet "Action 1", write some parameters under
column A like name1, name2.
#2. In the code,
Browser("browser_name").Page("page_name).Webedit
("textbox_name").Set
Datatable("A","Action 1").
#3. From FSO u can do like this
datatable.import(<file name>)
In default sheet the data will be stored and in the script
u need 2 modify the code like this
Browser("browser_name").Page("page_name).Webedit
("textbox_name").Set
Datatable(Names,Gtsheet).
Names :- is the colum name and
GtSheet : - is global sheet in default sheet
Is This Answer Correct ? | 14 Yes | 1 No |
Answer / mukesh
Go to Keyword view, Select the value to parameterize. click
on configure value button for value to be
parameterize.Value configuration options window pop/s up.
Select parameter radion button and click ok button. The
script will automatically update in Expert view. We can
pass the parameters in the data table directly
Is This Answer Correct ? | 13 Yes | 2 No |
Answer / poonam
Paramaterization can be done in this way:
#1. In the sheet "Action 1", write some parameters under
column A like name1, name2.
#2. In the code,
Browser("browser_name").Page("page_name).Webedit("textbox_name").Set
Datatable("A","Action 1").
Is This Answer Correct ? | 16 Yes | 6 No |
There are 4 ways of doing parameterize in QTP
1. Action Parameterization
2. Data Table parameter
3. Random number parameter
4. Environmental variable parameter
Is This Answer Correct ? | 0 Yes | 0 No |
Cn u please clarify my doubt Where are micTab and micReturn used.Thanx in Advance
how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps
Synchronozation types in QTP
we have 10 more actions in our test and we are using exit action command to come out from the action if any error s occured.In action 1 if any error occurs control is moving to second action but if we get error in second action exitaction is throwing general run error. Please give a idea to overcome .
How to load a object repository in QTP during runtime?
2 Answers BNP Paribas, Virtusa,
whenever U using QTP,Test Director, Why we using separate Bug tracking tool?
i'm testing the webpage with QTP, in this wabpage i have to choose the CV from the window, but QTP can't recognize the object, so i used the Low LEvel Recording, but every time i run the test, QTP go to halt when it gets to the Recorded part, any solution for that?( except puting delay in the script and manuall selecting, because i've did that)
How will you handle java tree in qtp?
Why we have to import data from excel sheet to data table?becoz v can directly use test data directly from xl know. can u all pls explain me clearly
How do client side image and server side image work?
Define QTP ?
How do we run a test from the 3rd row of the datatable in QTP? Leaving the first two rows we need to test AUT from 3rd row to n'th row.