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 |
How to Synchronize the Browser at Field level? For example if you put Browser.sync(), its waiting upto for that Browser sync only. It should wait total Browser get upload with fields.
Thanks....But can u tell me how i use the QTP for GIS with one Example...
I have 3 add buttons of same properties in my page but i want trigger one of them i required in my recovery scnario manager is qtp recognizes it to recovre d scnario if so how qtp recognizes it
In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail
what kind of erros can be handled with the using QTP?
Explain about reusable actions?
what is the difference between link and hyperlink?
What are all the common questions asked for the candidates having more than 1 yrs exp in QTP?
Get the count of files of similar types from a folder.
Is it possible to merge two object repository files in qtp?
There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code
What is the diffrence bettween QTP 9.0 and QTP 9.1?