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
What is Curd testing?
How you can find length of array in qtp?
Explain xml checkpoints.
how did u use automating testing tools in ur job?
Describe how Smart Identification is used
How can you identify the browser and its information using QTP script?
how to post xml data from QTP scripts to any application?
Hoe can we do retesting using functions please give the code for it using login page
give me the code to save all messages of inbox of gmail into a folder and notepad
I want two test two agents login for the flight website. Here is the scenario: I want to go through 1-3 rows for one user login and other user login I want to go though 3-5 rows. How would you set this up in qtp. Thank You
What are the steps involved in recovery scenario wizard?
hi, FOR 3+ QTP INTERVIEW, FOR EXAMPLE WE PUT ONLINE BANKING SYSTEM PROJECT IN OUR RESUME, IN PROJECT MANAGER ROUND...WHAT R THE MAJOR QUESTIONS ARE ASKED IN P.M? PLS TELL ME ATLEAST 10 QUESTIONS?.....AND IF POSSIBLE POST ANSWERS ALSO....
What is the difference between run time object and test object in QTP?
What is an optional step in qtp ?
What is difference between design time and run time data table?