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

Explain the difference between data driven testing and parameterization ?

1026


What is the difference between the design-time and run-time data tables?

1113


how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance

1896


Pls can anybody send me the Recent Technical and Interview Questions Which were asked in IBM(QTP)Automation PLZZZZZZZZZ

2024


how to i add the values using the check points property?( i.e valid data(for valid data it's giving the footer message:value is added) and for invalid data: special chars, spaces,Duplicates and null values (in my page when ever we enter special chars, spaces and null values, it's giving the proper warning message and for Duplicates it's giving the footer message:"value already exists)?

1900


Name the different types of recording modes?

1029


What is checkpoints for quicktest professional?

997


How many types of parameters are there?

985


give me an example where u used good judgement and logic in solving a problem

3856


Hi ,Can any one pleas explain how to test splash objects using QTP?

2358


Explain the difference between check point and output value?

1006


Give me some real time point of way where exactly we can conduct audits?

1901


What is data driver in qtp?

1009


For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?

1025


Want to verify notepad reports using QTP framework or any other BV script method. Can anyone share the method to achieve it? Eg. Person Name is the header and the actual name is John then how can we verify weather person name is John

2592