Hi,
How to give drop down values as input [Variable] from data
table in QTP?
If u know share with me.
Answers were Sorted based on User's Feedback
Answer / ramesh
what u mean by drop down values ...
sorry i'm not clear with the question
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / babu
Can you explain little bit more wat exactly you want.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / xyz
Firstly go to the first row
r = datatable.getsheet(1).rowcount
for i=0 to r-1
datatable.getsheet(1).setcurrentrow(i)
Browser().page().weblist().select(datatable.Value("Name",1))
This is for single select
If you want to enable multiselect property then
Browser().page().weblist().multiselect= 2
datatable.getsheet(1).setcurrentrow(i+1)
Browser().page().weblist().extendselect(datatable.Value("Name",1))
datatable.getsheet(1).setcurrentrow(i+2)
Browser().page().weblist().extendselect(datatable.Value("Name",1))
next
| Is This Answer Correct ? | 0 Yes | 0 No |
I want to execute 1st row of the local sheet and 3rd row of the global sheet parellely. write script to execute
w is time parameter
How to test whether the navigation i.e. from one page to another is working r not using QTP for web based application. plz explain in detailed or mail the sample code to malepatin@gmail.com
What is error handled other than recovery scenario manager?
where do you store the test result?
Please explain how to open with notepad of saved html file by right click option using QTP
How to call .vbs functions in QTP? plz Explain indetail
Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?
I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?
Suppose there are 100 links in a web page and the number of links will be changing dynamically from time to time. I need code such that every time i had to click on the last link of the web page.
Is it possible to call from one action to another action in qtp?
What type of framework you are using in your company and explain it?