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 to invoke Mozilla from QTP thru VB Script
Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!
According to use, how virtual object is different from object spy? If Qtp is not learning a sub-menues. What should we done? how would we manage on the expert view too? alkaa.dugaal@gmail.com
can i compare two databases using QTP ?
I have a 10 lines of qtp script, while executing i got an error at line 7 but i dont want to stop the execution i want to continue the execution up to last line and display the test result window, wts the syntax we use?
3 Answers BirlaSoft, Collabera,
What is the use of an object spy tool in qtp?
What test you perform mostly? Regression or retesting in your testing process?
what is the difference btn risks & Therads in the Test plan documentation?
How will you handle java tree in qtp?
can somebody send the script to write a multiplication table in notepad through qtp
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
Give me diffrent script in QTP for Webpage(Java and .Net),WindowsBased Applications,Java application,.Net application...