how to select particular value from the combobox in the
current page which is entred in the previous page editbox
after parameterization?
Answer Posted / priya
' to Parameterize
browser().Page().Webedit().set DataTable("A",dtglobalsheet)
'fetch value from edit box at runtime
ItemToSelect = browser().Page().webedit().GetRoProperty
("value")
'Now get number of rows in combobox
x = browser().Page().webList().GetRoProperty("items count")
'loop through each item n try to match
for i = 1 to x
actualvalue = browser().page().weblist().getitem(i)
if(actualvalue = ItemToSelect)then
browser().Page().weblist().select actualvalue
exit for
endif
next
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana
in a web page How to check and display a particular word from a paragraph?
How do you configure QTP AND Test director?
action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans
What are the different attributes used with regular expression?
What r the different filters in defect in quality center
What are the key elements available in test result window?
what is error and fault in terms of software quality?
Hi Friends, How many types of Data Bases available in market... What is the diff. while using Syabase and Oracle in a Project... ? and what is the main diff. of Syabase and Oracle databases... ? Thanx in advance..
Without integrating QC/Testdirector with QTP, is it possible to keep track of the defects?If yes how? How to export QTP results to an excel sheet?
How to modify the text checkpoint?
What is checkpoints for quicktest professional?
How many number of actions possible in qtp?
What are the features and benefits of quick test pro (qtp 8.0)?
I want to know can we integrate visual source safe tool with QTP and QC for our version controlling process? WE know QTP and QC 10.0 version is having the version control inbuilt in it but I want to know the merits and demerits of the inbuilt version control tool and the visual source safe tool using QTP and QC.