If there are 100 checkboes in a page then how can we select all chexkboxes at once through descriptive programing in QTP using vb script.
Please send the answers...
Answer Posted / pravati
set obj=Description.create()
obj("micclass").value="Webcheckbox"
set checkboxobj=Browser("micclass:=Browser").page("micclass:=page").childobjects(obj)
msgbox checkboxobj.count
for i=0 to checkboxobj.count -1
checkboxobj(i).set "on"
Next
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
am not having intrest in coding lang like c c++ java etc can i choose Testing tools as my carrier and please suggest me which tool is good (suitable for me)
Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji
I have enrolled for a QTP course which is a four weekend course.Do you think its a good way to start off learning this tool?What all do i need with me in order to become a pro at using this tool?
How does quicktest professional identifies the object in the application?
diff between qtp versions from 8.5
Mention the test steps of qtp.
X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?
What is keyword view in qtp?
Is it possible to call win runner script in qtp?
To which environments does quicktest professional supports?
What is the difference between Keyword Driven test and Data Driven test?
What are the data types in qtp?
how to acess a test in RSA?
Can we run multiple QTP scripts one after the other without manual intervention? How?
I had installed QTP 9.2. It is working fine but whenever I open QTP, it is trying to reinstall the below-mentioned files again and again "QTP92PS82UPGRADE.exe", "recogn.dll". If anybody has these files, please provide those files in this site or you can send that files to my mail id also (lravi4u@yahoo.com). If you don't know where the files will be in the QTP, search in the QTP software CD or path of QTP program installed (C:\Program Files\Mercury Interactive\QuickTest Professional)