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 would you directly trigger javascript in a test?
How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")
What are the data types in qtp?
how to post xml data from QTP scripts to any application?
What is Curd testing?
When to use descriptive programming?
What is use of object spy?
How can I check if a environment variable exist or not?
HOw to add the recovery file at runtime to the test file .
Mention the test steps of qtp.
Explain how to use QTP to check broken links on a page?
can anyone tell me from where i can download qtp demo or crack version
Client is able to provide budget..he want you to choose the automation tool for the web application? which one you will select ? QTP or Selenium ? what are the reasons?
Explain about Test Fusion Report of QTP?
what is key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?