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


Please Help Members By Posting Answers For Below Questions

What is 'sleep' in sync point?

630


what is the advantages and disadvantages of using functions instead of re usable actions

1433


What are the challenges u faced in testing with crm domain? How u overcome with?

1489


How many scripts did you have?

1702


What is standalone database?

1748






What is a Patch in QTP?

608


who QTP recognizes the object stored in object repository?

1666


what is test scheduleling?

2017


how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps

1677


What is meant by a Check Point in UFT? Also, explain the applicable Check Points.

709


How to find the length of the string in qtp?

582


What is a data driven test in qtp?

591


What is recovery scenario manager? When you go for recovery scenario manager? Tell me one scenario were your used recovery scenario in your project?

582


What is quicktest professional (qtp)?

567


images are dynamically changes how to compare two images with out using the bitmap

2007