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 |
i'm using QTP 8.2, How should i select(browse) object repository from desktop(or from local local drives like C:\,D:\)?. Note:- object repository to select(browse) is been sent by some other person who is using QTP 9.0
What is QTP and the use of QTP in TD?
How can i see test results in excel sheet ? test data not present in data table.
what is Defect density, defect leakage, defect age,latentbed,yasid testing, interface
what is supply chain management?
how can i pass a "cript"as a parameter in to a function
How to analyzing test results using quicktest professional?
Explain features of the latest version of qtp/ uft 12.1?
hi This is Harish.1. What is object repositery .2. what is frame works in QTP,what is keyword driven frame work,explain it and how to associate the folders.3.the build is developed in java, can we write scripting in vb .4.what is discriptive progaram,how to write it.5.what is process of QTp testing.6. how to associate the shared repository. 7.what is implicit and explicit 8.what is runtime data please replay me regards Harish
What are the automation metrice in your project?
Thanks....But can u tell me how i use the QTP for GIS with one Example...
write a qtp script to see time in windows command prompt? its urgent....