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
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?
What are the types of properties that quick test learns while recording?
what is vmodel?advantages and disadvantages of vmodel?
1.Write a CRITICAL test cases for calculator ? 2.What is the difference b/w FRS and SRS documents ? 3.What is Component ? 4.What is object ? 5.what is the difference b/w static and dynamic descriptive programming ?
Hi, My name is kishan. I have good Conceptual Knowledge on QTP. In order to Boost up my Confidence Level, I want to do a Project oriented Training only on QTP in Hyderabad. Kindly Let me know which is the Best QTP Project Training Institute in Hyderabad. Thanks in Advance kishan
I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=", Second button "html id:=btnSave "outerhtml:=", Third button "html id:=", outerhtml:=",
any body can you help me what is the script to automate an comand promt
Can you write a script to check if the folder exists or not?
What is optional step in qtp? How you can add optional step in qtp?
"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...
Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....
In qtp, explain what is keyword driven automation framework?
what are the frame work models of qtp?which frame work you follow in your company?and explain it process?
How to import a test case present in ".xls" file to TD under a Test set?
How does QTP identify an object?