if you have the same application screen with 7 drop down
boxes and approximately 70 values how do you test with QTP?
Answers were Sorted based on User's Feedback
Answer / sagar
By Using DP
set descObj=Description.Create()
descObj("micclass").Value="weblist"
set itmWeblist=Browser().page().ChildObjects(descObj)
for i=0 to itmWeblist.Count
allitems=itmWeblist(i).GetROProperty("all items")
x=Split(allitems,";")
for j=0 to UBound(x)
msgbox (x(j))
Next
Next
I think the above code will work.. please let me know if im
wrong
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / s
allITEMS =GetROProperty("all items") property should be
used.
x=Split(allITEMS,";")
for i=0 to UBound(x)
msgbox (x(i))
Next
OR
for i=1 to 29 'Assume there are 29 Items in the Listbox.
ListBox().GetItem(i) should be used.
next
Post your feedback here, I would like to know opinion.
| Is This Answer Correct ? | 0 Yes | 3 No |
How can i see test results in excel sheet ? test data not present in data table.
How to check the value for variables during run time. Pls anybody can give the answer.. Thanks in advance...
Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji
Idid my qtp course in 2007 june in mind Q i for got to use this tool ,i want to mention in my resume about this ,how can i rectify this ,pls give me any idea .
Can I compare two DataBases using QTP ?
after initiating one project for testing, when exacltly QTP tester role starts?
Presently i am working on QTP 8.2 Version,i want to know features in 9.2 version, because i have not sufficient time to put the effort on the 9.2 version
i have .xls,.txt,.doc files are there (together). i want find only .xls file among them? how can we write function?
Which features or drawbacks of QTP lead to the upgrade for a newer version?
what is batch run ?
how we connect 1. qtp9.2 to the quality center9.0? 2. Load runner8.0 to the quality center9.0
tell me abt a time when u had to go above &beyind the call of duty to get the job done