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

Answers were Sorted based on User's Feedback



how to write code for to select all the checkboxs in the gmail i wrote code for my question but i..

Answer / 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

how to write code for to select all the checkboxs in the gmail i wrote code for my question but i..

Answer / chinmay

It is correct.No need to change the code

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

What is the synchronization point in qtp?

0 Answers  


How does u create new test sets in TD?

1 Answers   Crea,


In QTP, Which are the concepts are needed to do Functional testing and Regression testing?

3 Answers   IBM,


How to call the userdefined functions to script? If i am stored 'add()' function in Library functions folder. i want to cal that function in my script.

4 Answers  


what is the diffrence between script and Language ? (Chandana)

6 Answers   Cognizant, Wipro,


Hi,All How to change background color of a cell in excel using qtp and that too with out using Excel Object.(I am importing the excel sheet by using ImportSheet method)

1 Answers  


What is the file extension of the code file & object repository file in QTP?

2 Answers  


Hi, OUR PROJECT NAME IS: HOSPITAL CONTROL SYSTEM. IS IT COMES UNDER WHICH DOMAIN(HEALTH CARE OR HEALTH INSURANCE)

4 Answers   Four soft,


How can i use Ordinal identifiers and Smart identification methods suppose i want to know the index no of check box

1 Answers  


What is the diffrence bettween QTP 9.0 and QTP 9.1?

1 Answers  


regular expression

2 Answers   Wipro,


Scripts for Ascending order in qtp.

3 Answers  


Categories