Hi,
How to give drop down values as input [Variable] from data
table in QTP?
If u know share with me.
Answer Posted / 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 |
Post New Answer View All Answers
Can we run multiple QTP scripts one after the other without manual intervention? How?
tell me abt a time when u had to go above &beyind the call of duty to get the job done
If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?
Tell me about qtp?
Hai anyone please "Explain about Framework in QTP?"
Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers
you are recording on "WINDOW 1", say it has a link if you click on that, that leads you to "WINDOW 2". If you do any manipulations on "WINDOW 2" that are automatically updated in to "WINDOW 1". But "WINDOW 1" is currently invisible. But the updations in "WINDOW 1" must also be recorded as a script in QTP. The best Example is if you update your resume in JOB STREET portal it actually happens in other window, but the previous window is automatically updated. Now does QTP help you in this types of situations? Any body can answer this question. please..... Siva
Hi, I got error message as "object does not support this property or method: "Test.Actions" when i execute the following line of script on QTP 9.0 Dim qtApp, qtRep Set qtApp = CreateObject("QuickTest.Application") Set qtRep = qtApp.Test.Actions("Action1").ObjectRepositories Can anyone tell me where i am wrong.
what is the advantages and disadvantages of using functions instead of re usable actions
Thanks....But can u tell me how i use the QTP for GIS with one Example...
How to create runtime property for an object?
How many types of parameters are available in quicktest professional (qtp)?
This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?
what is the difference btn risks & Therads in the Test plan documentation?
Explain how you can delete excel file in qtp?