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
What are the benefits of qtp?
Define Error Pane of UFT?
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
unique properties of button,edit box, radio button,check box?
What are metrics and matrix?
What does mean by Scope of Automation?n How we defined it?
any body can you help me what is the script to automate an comand promt
How to capture a window in QTP?
how to acess a test in RSA?
can the activities of test case design be automated?
How to save your test using quicktest professional (qtp)?
If you are testing a web application then what will you test in that application?
How to use setroproperty?
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.?
What are the differences between table and db checkpoints?