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


Hi,
I have weblist which contains the data like Design
change,admin edit and cost saving etc.. User doesn't know
the values existed in weblist. Now the user has to select
the right value from the list otherwise the test will fail.
Pls help me "To select the correct value from the list"



Hi, I have weblist which contains the data like Design change,admin edit and cost saving etc.. Us..

Answer / kashinath hajare

Hi,
Suppose you have Weblist which
contains "English", "Marathi","Hindi" options and you want
to check this options and select "English from it. please
check following code for the same.

Dim sValue
sValue=Browser("xyz").Page("abc").WebList
("wblLanguage").GetROProperty("all items")
msgbox sValue

If InStr(Browser("xyz").Page("abc").WebList
("wblLanguage").GetROProperty("all items"),"English")=
False Then
Reporter.ReportEvent micFail, "Check Fields on
Compose page","The Dropdown list doesn't contain English
item"
msgbox "Fail"
Else
msgbox "Pass"
Browser("xyz").Page("abc").WebList
("wblLanguage").Select "English"
End If

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More QTP Interview Questions

In Remote acess server how u run a test?

0 Answers  


How to connect the real time application application with the QTP?

2 Answers  


does the vb script knowledge is mandatery in testing using QTP

1 Answers  


If an application name is changes frequently i.e while recording it has name, in this case how does QTP handles?

1 Answers  


What is driver script and driver script in qtp frame work????

6 Answers   IBM,


Describe how Smart Identification is used

0 Answers  


what is the diffrence between script and Language ? (Chandana)

6 Answers   Cognizant, Wipro,


how to load vbs file to qtp through scripting. plz provide the code.....

2 Answers   IBM,


Explain how Does Run time data (Parameterization) is handled in QTP?

0 Answers  


what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent

0 Answers  


How many types of Parameters are available in QTP?

1 Answers  


This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10

0 Answers  


Categories