if you have the same application screen with 7 drop down
boxes and approximately 70 values how do you test with QTP?
Answer Posted / 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 |
Post New Answer View All Answers
How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric
How to create runtime property for an object?
How you can find length of array in qtp?
hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me
Which scripting language used by quicktest professional (qtp)?
hi i want license key for qtp 9.2 pls its adjust product name : quick test professional locking code :8 - 54A6A license type : seat license maintenance number : 88888888-8888 pls send license key to my email id borusu.ramkumar@gmail.com
How many types of actions are there in quicktest professional?
one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.
When to use shared and local object repository?
Describe synchronization point.
What are the types of object repositories? Which one is you using?
i am trying to automate yatra.com,in that site, when i go to automate the Leaving from field showing as a WEBEDIT, but when i enter 1 or 2 char, it displaying dropdownlist, i try to use keyboard automation to select the item from that list but it is not possible, can anybody help he. Thans for posting the Answer
what is the difference between modular framework & datadriven framework
1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?
Can testing be done on the production system, or will a separate test system be required? How are browser caching, variations in browser option settings, dial-up connection variabilities, and real-world internet 'traffic congestion' problems to be accounted for in testing?