Write the code for select the 5 values from drop down list.
drop down list having the 10 values.
Answer Posted / deven
Dim cMethodcount,cme
cMethodcount = Browser("IAS").Page("IAS").Frame("WorkFrame").WebList("CalcMethod").GetROProperty("items Count")
For cme = 1 to cMethodcount -1
Browser("IAS").Page("IAS").Frame("WorkFrame").WebList("CalcMethod").Select(cme)
If Instr(Browser("IAS").Page("IAS").Frame("WorkFrame").WebList("CalcMethod").GetROProperty("selection"),datatable.Value("CalculationMethod","dtAManagement")) Then
Exit for
End If
Next
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
How to open a new test using quicktest professional (qtp)?
what is meant by Implicit and explicit requirements?
How to connect the remote desktop using QTP 9.2 explain the method or procedure?
when a test case is written how u test using qtp
If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?
how to acess a test in RSA?
How do I get the QTP scripts result in xml format by using vb script function?
What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?
What is QTP’s model for test creation?
How to use the object spy in quicktest professional 8.0 version?
Please guide me release notes of Automation once scripts are completed
how to test Web application using QTP software
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
What environment does qtp run in?
Give me some real time point of way where exactly we can conduct audits?