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 |
Explain runtime dynamic settings?
how can we test load time of an page in webtesting?
IF we use batch testing.the result shown for last action only.in that how can i get result for every action.
hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]
How to fetch web elements count from Google Page which contains letter "e"
How to add synchronisation points in qtp?
Can we record a video in qtp recording??
What is the extension of the qtp local repository?
How to compare source and target database in testing? Can anybody please tell me in detail the procedure how to compare it?
hi i have one issue while automating the script using QTP i want scrool down .i cannot do even using scrool down methqad is not working .the object will take WebElement plz is there any code help me
How to Analyze the Checpoint results by Checking Bitmaps?
How many types of parameters are available in quicktest professional?