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 |
What is test fusion report?
what is the difference between Automation object model(AOM) and test object model(TOM)
what type of frame work used in your company?
How to give Table check points?
How you r using QTP in u r project
1 Answers IBM, Lehman Brothers,
What are default add-ins in qtp?
How to do the scripting. Is there any inbuilt functions in QTP as in QTP-S. Whatz the difference between them? how to handle script issues?
when i try to recognise a winmenu item it does not allow me to do that but recognises it as window..i am using qtp 9.2 could someone help with this
How to return a value from a fn, if it has more than one value how to return
What is descriptive programming?
How to differentiate the webedit field like user name and password? Please tell any other best answer is ther
Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..