which checkpoint we use to validate yahoo login screen
window after login with ur id and password in qtp
Answers were Sorted based on User's Feedback
Answer / sailaja
If it is after log in I mean after entering into the
account u have to check the text check point inorder to
verify the account holders name is appeared on the screen.
If it is sign in page u have to insert standard checkpoint
to check username is printed or not.
sailaja
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / rajendra pradeep
Text Area check point for UID and Password Fields
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / venkat
rather than using checkpoints in scripts it is better to
use GetRoProperty to validate any functionality. Some times
Checkpoints are getting failed when scripts are moved from
one location to the other location
for validating yahoo loging we can use inbox, compose
buttons visible property
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / saroj
I do verify the above cases in this way.
ret= Browser("yahoo").Page("home").CheckProperty
("title","Yahoo...")
if ret= true Then
<lines of code>
Else
<lines of code>
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / anonymous
May be there are several ways, but I think, by getting the
title of the yahoo page, we can validate. This is concept,
not real example. I have to test this today.... So Check
the correctness of this code before run it.
pname= Browser("...").Page("welcome xxxx/OR Something
else").GetRoProperty("text")
If pname="welcomexxx" then
datatable("TestName",3)=Environment("TestName")
datatable("Results",3)="Pass"
else
datatable("TestName",3)=Environment("TestName")
datatable("Results",3)="Fail"
End if
Datatable.exportsheet "c:\res.xls",3
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / anonymous
Already I am nervous.
First give me job. Then I show you how to do auto. Please
don't ask such type of hard questions.
----------------------------------------------------------
By using Standard Check Points. Check the title of the Next
Widow.
Ex: title="welcome.*"
x=Browser()page().GetROProperty("text")
If x="welcome JIGGA" then
Browser().page().webButton("").click
End if
We can use this as a standard check point.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / muralikri
Page Check point OR Table Check point
Please correct me if i am wrong
| Is This Answer Correct ? | 0 Yes | 1 No |
I am in .Net development for past 3.5 years and want to enter in to automated testing and learn QTP. For this I need some good tutorial for beginners. I will be really greatful if any one has and they can send it to me on this address- ruchidureja@gmail.com
How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)
Read excel using qtp descriptive programing
What is difference between Class and MicClass
write is the code for regular expression in QTP
What is the another extension name of library file. If that is exist than what's the difference between them.
How will u declare a variable to access multiple actions? a)Dim b)Global c)Public d)Private
If there are 100 checkboes in a page then how can we select all chexkboxes at once through descriptive programing in QTP using vb script. Please send the answers...
In QTP 8.2 there are lot of check points is this same in latest version QTP 9.5 ?
How to retrieve value (data) from notepad using QTP ?
I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.
Can we record an application running on a remote machine using qtp?