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 |
Write the Test Cases for ATM(Any Time Money)
What are the common defects found in your project? (in qtp interview)
Do you have any knowledge about Business Processing Testing in QTP
If an application name is changes frequently i.e while recording it has name, in this case how does QTP handles?
what are the environment variables,how do you use them. give an example.
How we can differentiate between stand alone application and web application in QTP?
When can shared object repository fails?
What is the ur roles and responsibilities as automation testing engineer?
i have to pass the testcases into userid anf password of gmail login page using functions you can take your own testcaseslike userdid should take only lowerletters it should not take special charactors and uppercase letters and password should take only numericvalues it should not take alphanumeric and alphabets
What are accessibility check point and xml check point?
how to test globalisation testing using qtp? lets take an example: suppose i have to test the word is in hindi "ratikanta", how we test it by using descriptive programming or any method??
Through array we can execute the testcase how ? give me example