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 |
what is defination of intergration testing?
What is the Test Object model in QTP?
we are submitting data one form to another form.defaultly it is time period set as 5sec. but it is taken 15sec what to do
What is the main difference between QTP 8.0& QTP 9.2.And what r the features and benefits of QTP.
how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief
what is Unicoad Compatibility ???? HOw does this makes a diffrence from Winrunner.???
Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance
hai, i completed my b.tech in 2010 with 62.3%. i having knowledge on manual testing and Qtp. i want Relavent experience in testing.watever may be d salary i dont bother..I just want to gain knowledge. i dont have good communication skills.
Username field having some string mistake like"user naem".what type of testing i prefer to test spell check.
How to use Regular Expressions in QTP
If aclient comes to tester ask to bye a tool Keep aside about the cost,In what way we can choose the tool.
Suppose there are 10 browsers opened on desktop. I want to close all browsers except one browser in QTP. Can any one give the code for this?