adspace


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


Please Help Members By Posting Answers For Below Questions

I am in .Net development for past 3.5 years and want to enter in to automated testing and learn QTP. For this I need some good tutorial for beginners. I will be really greatful if any one has and they can send it to me on this address- ruchidureja@gmail.com

2076


How are actions and functions different in QTP?

1153


what kind of frame work you used in your last project?

2414


if anyone has idea of the interview procedure in covansys, plz send me a mail?

2064


what is actually contain test report? can anybody post the test report

2095


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....

3003


hi frinds i need help .i have 4 + yrs exp in testing and nearly 2 yrs exp in QTP and QC .currently iam working north fast 2 yrs iam looking for job in south is there any openings plz letme know my mail id is pbre1980@gmail.com

2154


What is the registration process and examination fees?

1165


What is the new version of qtp which is recently released in the market?

1162


Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?

2188


can anyone tell me from where i can download qtp demo or crack version

2081


we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?

2151


How to give a call to another action from one action?

1171


Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com

1864


how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods

2017