there are having 10 checkboxes..how can i check only first
5 check boxes by using descriptive programing..

Answer Posted / pushpa

By using QTP Ordinal identifier "creationtime" like

Browser("title:=").page("title:=").WebCheckbox("Name:=',Creationtime:=0").select

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how do u plan test automation?

1446


What is the difference between shared and local object repository?

617


we add library file used in test via settings or through "ExecuteFile" command. when we implement framework do we make common library file and load the same for all the test cases execution?

1583


Explain the concept of object repository and how quicktest professional (qtp) recognises objects?

614


Have you used xml check point in your project? How?

550






Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("ยป County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma

1348


can i change the runtime properties of an object ? How can i check if a parameter exists in database ?

1415


What is checking bitmaps?

556


How will you compare keyword and expert view?

541


Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly

1253


How can you send user defined messages to test report?

585


What is the diff between image and bitmap check point?

597


Which environments are supported by hp qtp?

601


If the objects hierarchy is changing from build to build, then how you will handle that condition?

621


Define Canvas view of UFT?

620