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 |
What is QTP’s model for test creation?
Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?
can any one tell me how to select some text.i need the script for that
How to create log file in qtp?
Cn u please clarify my doubt Where are micTab and micReturn used.Thanx in Advance
What is the difference between byref and byval in qtp?
How many ways we can parameterize data in quicktest professional?
How to execute a WinRunner Script in QTP?
What is SQL injection?
How to make "TEST Batches" in manual testing . How it is possible plz explin in detail?
Hello, Can we capture only the labels of the web page in the object repository. If yes, then how. Actually my scenario is: I have to capture all the label of mercury site http://newtours.mercuryinteractive.com/tour/mercurypurchase. php. and want to copy all these labels in the notepad. So,please help me how to do this all. Thanks in advance, Gaytri
Can any one please explain hwo to test client/server application using QTP?