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
What is file database?
In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?
How will you check a web application for broken links using qtp?
If there is a change in the object type eg: A button is changed as link, 1. How to edit that in the shared object repository. 2.What options are available to edit the object within shared object repository other than copy from loca; 3.What would be the effect of the change in Coded Scripts within QTP and Functions stored in .vbs file which are loaded and used in QTP
wht type of User defined functions or Java Releated functions Do we write in VB scripting
can any one say that where we can download the QTP trail version ??????????
Want to verify notepad reports using QTP framework or any other BV script method. Can anyone share the method to achieve it? Eg. Person Name is the header and the actual name is John then how can we verify weather person name is John
.have you ever written compiled module? if yes , tell me about some of the function that you wrote.
How we can use the database checkpoint on a java web based application in which the database connectivity is done using JDBC->Pure Java type (in this type there is no need to create a DSN). At present in QTP we can fetch database values using checkpoint only through DSN. Is there any programming for this if we don't have DSN (ODBC)
In qtp is it possible to check broken links of a page?
Please guide me release notes of Automation once scripts are completed
What are the challenges u faced in testing with crm domain? How u overcome with?
How you can replace string in qtp?
Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers?
What is data driver in qtp?