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...

how to write code for to select all the checkboxs in the
gmail
i wrote code for my question but it didn't works any body
suggest what wrong my code my code is Set
chkboxDesc=Description.Create()
chkboxDesc("type").value="chekbox"
Set chboxcollection=Browser("name:=Gmail
.*").Page("title:=Gmail .*").ChildObjects(chkboxDesc)
For i=0 To chboxcollection.count-1
chboxcollection(i).set "ON"

Next
i was getting general run time error pls help me i am in
learing stage

Answer Posted / udham singh

chkboxDesc("type").value="chekbox"
replace this line with

chkboxDesc("miclass").value="webchekbox"

in ur code spelling of checkbox is also wrong

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the file extension of the code file in qtp?

1045


How to use setroproperty?

1077


How to customize checkpoints with parameters?

3648


How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?

4694


I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?

2241


How to define array in qtp?

1056


How to creating an output value using quicktest professional?

1117


Approach for Installation,comaptibility,system testing

2242


What is meant by Output Value in UFT?

1279


what is review

2203


what is the difference btn risks & Therads in the Test plan documentation?

2169


What is the extension of the recovery scenario file in qtp?

1042


Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?

2289


Explain hybrid framework with advantages and disadvantages?

1118


What is the Difference between copy to action and call to action?

1182