If you entered into yahoo mail with your valid user name
and password , then you will get " welcome , username "
(for example you will see , “welcome, Krishna” ) text on
the top of the Inbox page , how can you test the user name
is correct or not using QTP?
Answers were Sorted based on User's Feedback
yeah....
you can use the getROProperty method to get that value.
later on compare that value with ur parameter.
for example:
GetAppval = Browser("XXX").Page("XXX").WebElement("html
tag:=TD","index:=3").GetROProperty("innertext")
getparam = Datatable.Value("name",dtGlobalSheet)
If GetAppval = getparam then
msgbox "pass"
Else
msgbox "fail"
End If
guys here i just given the logic to use. instead message
box use a reporter statement or if u r writing to exeternal
log use it. and i used data table for example, but many
people (including me) will use separate excel file for
parameterization. but this is the logic to check values.
Regards...
nanda.d reddy
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sandipgami84
index is not a reliable way......if have entered valid
username & Password then u can check URL...or check Inbox
link is exist or not.....
Sandip
9714177088
| Is This Answer Correct ? | 0 Yes | 2 No |
Does QTP support Java Script also. Which is one is preferrable for QTP, VB script or Java script
Explain features of the latest version of qtp/ uft 12.1?
Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in
If you use low level recording,what objects will be recorded in Object Repository and what properties?
What r steps to migrate from Manual testing to QTP?(IN BOTH WEB BASED AND WINDOWS APP)
How to export data present in Datatable to an ".xls" file?
what is the framework followed by ur company in qtp
i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework
Suppose if a functionalityis not mensioned in requirement document and but its present in application. will it be consider as a bug and viceversa?
What is Virtual object wizard in QTP?
When Recovery scenario actually starts while testing the application?
WHAT IS OBJECT REPROSITORY?