hi i have one isuue on selecting webcheckbox .there are 15
wecheckboxex i want to select every time 9 th one how can i
select plese help me
regards
balaji
Answer Posted / manoj kumar
'Create teh object of Browser
set brow_obj = description.Create
brow_obj("title").value = "Google Accounts"
'Create the object description for Checkbox
Set chk_obj = description.Create
chk_obj("html tag").value = "INPUT"
chk_obj("type").value = "checkbox"
'Find out the all check box on page
Set ocheckbox = Browser(brow_obj).page
(brow_obj).ChildObjects(chk_obj)
'Count the no of check box
intcountobj = ocheckbox.count
'Select only two check box on page
For i = 0 to 8
ocheckbox(i).set "ON"
Next
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework
terminal services client
i can done the project with QTP in that time i can say how many members in my team size?
i have a doubt can anyone tell me where are scripts stored while using QTP.Tell me the exact procedure takes place in real time?like how we call scripts how to proceed after writing scripts?how scripts are executed etc?i heard some use Qc whether others dont use.so tell me whole procedure for both the things it will be a very big help.as i have interview i want to have whole idea on this.its very urgent.
Name the properties you would use for identifying a browser and page when using descriptive programming?
what difference between runtime object and text object and what property they have. whether they have same properties or different properties.
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..
Hi,Sudhanandareddy plz forword framework and ppts for QTP to me. This is my mail id: ranjith_99reddy@yahoo.co.in (your contact number also)
Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...
How to indentify MS-Word objects like Menubar, Toolbar, table/columns/rows/cells etc within Word document, using QTP?
Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..
What are the benefits of quick test pro(qtp)?
how to acess a test in RSA?
explain structured testing? plz guys with exp. do answer
In qtp, explain what is crypt object