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 are the benefits of qtp?

556


Define Error Pane of UFT?

695


Give me At Least 5 Differences between DOCUMENTATION OBJECT MODEL(DOM)and COMPONENT OBJECT MODEL(COM)? Interviewer said me to WRITE the difference only in points not as you WRITE a paragraph ???? only in points

1633


unique properties of button,edit box, radio button,check box?

3831


What are metrics and matrix?

1371






What does mean by Scope of Automation?n How we defined it?

1582


any body can you help me what is the script to automate an comand promt

1980


How to capture a window in QTP?

1530


how to acess a test in RSA?

1673


can the activities of test case design be automated?

1457


How to save your test using quicktest professional (qtp)?

601


If you are testing a web application then what will you test in that application?

1544


How to use setroproperty?

579


What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?

609


What are the differences between table and db checkpoints?

537