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 / veeru
Below code saves sometime
set ocheck=description.create
ocheck("micclass").value="WebCheckbox"
set objCheckboxes = browser("Creationtime:=0").page("micclass:=page").childobjects(ocheck)
objCheckboxes(9).Set "ON"
objCheckboxes(10).Set "ON"
objCheckboxes(13).Set "ON"
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
how u will evaluate the tool for test automation?
Create flight reservation login descriptive programing (Condition: Remove the value and substitute with a variable, and then call the validation from Excel) Plz help me....... very urgent.........
Describe how Smart Identification is used
1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?
what you mean by artifact,milestone...
What is the architecture of your project? Can any one answer for this question plz........
When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.
Define Environment Variable in UFT and its uses?
I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?
What is keyword driven framework?
How do you capture tooltip using QTP?
Why is action split used by qtp?
If created one virtual object? Next time I changed the window position will it work?
Describe the differences between functions and actions in UFT?
how can we compare descriptive programing with a regular expression