Write the code for select the 5 values from drop down list.
drop down list having the 10 values.
Answer Posted / ashish srivastava
Copy and paste the Below code
dim CountItem
countItem=Browser().Page().Weblist().GetROProperty("Itemcount")
For i = 1 to CountItem
Browser(). Page(). Weblist().Select i
if i >5 then
Browser(). Page(). Weblist().ExtentedSelect i
end If
Next
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
How to find the length of the string in qtp?
regular expression in qtp standar check point for months from accepting months from january to december only
What is the latest version of qtp?
after initiating one project for testing, when exacltly QTP tester role starts?
how to explain a claims and insurance project?
How can you pass value one action to another action?
How will you declare a variable in qtp?
Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?
Hi, how can we check or avoid the memory leakage in QTP9.2?
can the activities of test case design be automated?
What is quicktest professional (qtp)?
Explain the types of object repositorys in qtp?
Through array we can execute the testcase how ? give me example
What is the extension of qtp local repository?
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.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))