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"
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 |
In Remote acess server how u run a test?
How to connect the real time application application with the QTP?
does the vb script knowledge is mandatery in testing using QTP
If an application name is changes frequently i.e while recording it has name, in this case how does QTP handles?
What is driver script and driver script in qtp frame work????
Describe how Smart Identification is used
what is the diffrence between script and Language ? (Chandana)
how to load vbs file to qtp through scripting. plz provide the code.....
Explain how Does Run time data (Parameterization) is handled in QTP?
what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent
How many types of Parameters are available in QTP?
This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10