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 |
HOW TO COUNT NUMBER OF ITEMS PRESENT IN WEB LIST
explain abt dyanamic changing object with example?
There is one parent browser and 'n' number of child browsers on desktop. Write a code to close all the child browsers but parent browser should not be closed.
WHICH PROCESS U FOLLOW IN COMPANY
Whether qtp 9.0 supports Test director8.0
What the differences are and best practical application of each.
i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click
Please let know the scripts for counting number of repeated letters in the word. Note repeated letter should not be count agian. Ex: If "Hello" is my word... l is coming twice.. it should count once and print... secong 'l' should not count again..
How can we record an edit box in the Web application ?
How we can differentiate between stand alone application and web application in QTP?
I wnnt to learn about QTP Automation Framework,please give URL Address to get more information about AFW.
What is an Custom Object in QTP ?