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 |
Whats the realtime QTP testing process
How do you capture tooltip using QTP?
For ex we are doing automate testing in that can we do some part of application recording, some part descriptive programing and some part general VB scripting like that .............
Does the Existing reusable action can be modified at the time of calling the action?? Please help me..
3. How to handle the exceptions using recovery secnario manager in Qtp?
what is the use of automation objective model?where is used? plz tell me
we r conduction testing on a project USING QTP, regarding that project the object repository is full ? Till that project having objects that r not recognised by repository, then what wil you do? How we wil recogine remailning objects? Is it possible to maintain another shared(or)peraction repository? what is the maximum capcity of object repository? How the technical people decide this much object repository is enoughf for this project?
Hello, I am learning QTP. I have recorded test for Login page, i have also inserted checkpoint for Email field & when I run test it passed. But when i tried to run test by inserting 'Adding Parameter Values to a Data Table' for email & password field, it pass the first value in both the fields but after that when test run for second parameter values it displays 'Internet Explorer cannot open the Internet site, Operation aborted' & when i analyze test result it displays run time error 'Object disable'. I have also cleared all the history from IE but it is not working. Please help me. Thank you.
the question was on what techonlogy u been working on i said VB then he asked me the addin for VB in Qtp?
What is Environment Variable and when we apply this in QTP?
qtp script for recording and running the application.need script for short cut keys like f3,f4 etc.how to write script for recording?
How to open a new test using quicktest professional (qtp)?