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 |
Difference between copy to action and call to action?
i this is balaji from chennai i have 4 yrs exp in testing and my qualification is bsc computers i completed in correspondace in which companiies accept the correspondace plz let me know
What is the extension of the qtp local repository?
How to connect the real time application application with the QTP?
I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.
what is error and fault in terms of software quality?
How can you identify the browser and its information using the qtp script?
what is the frame work your using in automation ?
how to count the word "IS" is repeated in the application using DP
3 Answers DST Global Solutions,
Please clarify Automation and QTP both(names) are same or diff?
What is the current version of QTP?
This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?