If there are 100 checkboes in a page then how can we select 10th & 11th & 14th chexkboxes at once through descriptive programing in QTP using vb script.
Please send the answers...
Answer Posted / johnson
set ocheck=description.create
ocheck("micclass")="webedit"
set checkcol=browser().page().childobjects(ocheck)
for i=0 to checkcol.count -1
if i=10 and i=11 and i=14 then
checkcol(i).set "ON"
end if
next
| Is This Answer Correct ? | 1 Yes | 16 No |
Post New Answer View All Answers
1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?
What is system testing and what are the different types of tests you perform in system testing?
I have developed and executed a script successfully, and saved the same to QC. When I tried to execute the script from QC, the script is not executing. What are the possible reasons?”
What is Curd testing?
What are test settings and global settings?
Are Shared ORs read-only?
How can we conduct U-I Testing by using QTP??????
What r the different filters in defect in quality center
Can anybody let me know how to test the Drag and drop feature of the column in a .net application...eg..i hav to test the drag and drog feature of a table(swftable) in a application..plze help!!
Which features or drawbacks of QTP lead to the upgrade for a newer version?
How do you test DLL files using automation Tool QTP?
Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar
What is the difference between byref and byval in qtp?
Define object spy ?
What are advantages of test automation?