Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.

2355


What are the main differences of qtp and win runner?

1148


if numbers are always changing write a script for that

4210


How do you open adobe acrobat file in QTP and do some testing on that file ?

1059


Is it possible to change the property value at runtime? How it is possible?

1034


Explain quicktest professional testing process?

1028


How to modify the text checkpoint?

1117


What are the ways you can synchronize?

1049


Get the count of files of similar types from a folder.

1495


I AM TRYING PORT CODE FROM WINRUNNER TO QTP AND DON'T KNOW TO HOW TO CHECK THE ERRORS. IN WINRUNNER FUNCTION RETURNS EIGHER 0 OR -1 AGAINST WHICH RESULT CAN BE MADE PASS OR FAIL BUT IN QTP I DON'T SEE FUNCTIONS RETURNING ANY VALUE. APPRECIATE IF ANYONE COULD HELP ME CONVERTING FOLLWOING WINRUNNER CODE TO QTP. set_window("Customer Service"); rc = web_obj_get_text("Summary","#2","#4",ssn,""," ",1); if (rc != E_OK) { report_msg("[GetSubscriberSummary] Could Not get subscriber SSN; rc = "&rc); myRC = rc; } else { ssn = StripBlank(ssn); if (DEBUG) report_msg ("[GetSubscriberSummary] SSN: "&ssn); }

2281


What are the various automation frameworks available in qtp?

980


Can we record using all the modes in a single script? Explanation with example is appreciated

1857


In qtp, how you can use xpath to identify objects?

1089


Explain how to use QTP to check broken links on a page?

1007


When you open QTP, how many sheets you can see?

1079