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

Answer Posted / naazneen

set desc_obj=description.create
desc_obj("micclass").value="WebCheckBox"
set obj=Browser("creationtime:=0").page("title:=.*").ChildObjects(desc_obj)
for i=1 to 5
obj(i).set "ON"
next

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to write xml output check point bu useing descriptive programing .means without useing output check point

1644


what type of values given to objects. EX::Set oBrowser=Description.Create oBrowser(“micclass”).Value=”Browser”

1480


explain abt dyanamic changing object with example?

1894


Step 3&4 are repeated until an the object in recognised uniquely.

1514


How do you check ticket cost and ticket number in flight application?

576






Explain calling sub procedure.

616


When ‘option explicit’ keyword is used in qtp?

741


Explain features of the latest version of qtp/ uft 12.1?

591


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

599


What are the general steps involved in the data driven framework?

546


what are the frame work models of qtp?which frame work you follow in your company?and explain it process?

1947


In qtp is it possible to check broken links of a page?

572


how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??

1571


what frame work you are following?

1516


what is the difference between IE & Netscape in web testing on a log in page

1779