Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



if you have the same application screen with 7 drop down boxes and approximately 70 values how do ..

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

if you have the same application screen with 7 drop down boxes and approximately 70 values how do ..

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

Post New Answer

More QTP Interview Questions

Waht is Test Report , What it consists?

2 Answers  


How to automate the windows dialog box which is coming in the run mode? Whenever I run my scripts,I am getting dialog box ( for ex: Pls enter zipcode" eventhough I already entered the value,the dialog box pops up).I need to click it. Pls give some idea-How to automate the dialog box which is pop up in the runtime.

2 Answers  


Explain the difference between check point and output value?

0 Answers  


Explain in brief about the QTP Automation Object Model.

1 Answers  


Explain script generated after applying database check point?

2 Answers  


How can we do this one ? at runtime qtpwindow and browser aren't disply on monitor (or) aren't visible on desktop?how?

1 Answers  


How do I modify a value of an elemnt which is not the first one in xml file? My sample XML file is like: <Environment> <Variable> <Name>Name</Name> <Value>Uday Kumar</Value> </Variable> <Variable> <Name>Designation</Name> <Value>Senior Software Engineer</Value> </Variable> </Environment> for example, I'd like to change the value 'Senior Software Engineer' to 'Student' in the second element. How do I do it in QTP?

3 Answers   QualiTest,


Give me brief idea about QTP automation object model?

5 Answers   TCS,


what is delay in QTP?

2 Answers  


Which advantages helping QTP to hold the position of "Market Leader" for such a long period?

0 Answers  


What is a Run-Time Data Table? Where can I find and view this table?

4 Answers  


How to use the object spy in quicktest professional (qtp) 8.0 version?

0 Answers  


Categories