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 DESCRIPTIVE programming when it is useful? & when to use this ?

2 Answers  


How to run a test using quicktest professional?

0 Answers  


i want know iam working 2+ exp in QTP can i do performence testing (eg:loadrunner) yes r no?

6 Answers   IBM,


Action1: I have a value "test" stored in a variable X. I want to use that variable X in Action2 .. how?

1 Answers  


I am new to automation testing.I am learning QTP 9.2.my question is how to install the defferent addins(other than Default Addins) is there any defference in QTP after installing the Addins.where we can get the addins?

0 Answers  






What is parameterization? What is syncronization pt.?

3 Answers   Semantic Space, SRM,


1.IF SOME OBJECT IN APPLICATION IS NOT IDENTIFIED BY QTP? HOW WILL YOU OVERCOME THIS? 2. WHEN AND WHYDO U GO FOR DESCRIPTIVE PROGRAMMING? 3. WHAT IS THE DIFFERENCE BETWEEN VB AND VBA? 4.WHAT ARE THE REGULAR EXPRESSIONS YOU USED? 5.IF ANY REQUIREMENT IS ADDED IN YOUR PROJECT, HOW WILL YOU PROCEED TO DERIVE THE TEST CASES AND HOW WILL YOU PERFORM AUTOMATION FOR IT?

2 Answers   RBS,


How u send bugs to dev'lpment team all at once or one by one or waht is the process?

2 Answers   kenexa,


why do we go for Test Automation?

2 Answers  


What is the extension of script and object repository files?

4 Answers   Crea,


What is reusable action?

0 Answers  


What is the disadvantage of smart identification?

3 Answers   Infosys, Sony,


Categories