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 |
How to Practice QTP Scripts?
How to retrive the property of an object?
hi radhaka plz tell me clearly to handle the earrors with out isng recovery scnerio this is sreenivas from delhi
How many types of object repository in qtp?
In descriptive programming how we know the properties of the objects, if application is not developed and the prototype of the application is also not developed.
Are Shared ORs read-only?
Diff. between keyword driven Data driven testing?
Did you face the problem, changing the properties of an object in Run Time?
How to extract the data in the below scenario and dump it in the excel? Link1 Link2 Link3 Link4 numberlink1 text text text numberlink2 text text text numberlink3 text text text numberlink4 text text text So, Here is my question? -- It is a matrix but is not a web table(QTP does not recognize it as a web table) -- Link1, link2 and link3 are links under which text is available -- numberlink1 to numberlink4 are again LINKS -- All the others displayed are text only I want to extract the data in the above scenario and dump it into an excel in the same scenario as it is displayed above. Kindly help.. Thank you
How to use conditional loops in qtp ?
h u call the function
Hi Everybody, Can anybody please tell me the how to display the result of the QTP in the notepad text file rather than in the QTP result window. Suppose this is my simple script:WHich will open the notepad file and enter some text and then will change the font then will calculate how much time has been taken.Now, in this script i want to display the result in notepad file. Dim s Dim starttimer,endtimer,timeit s="uyetuywqtywqte" SystemUtil.Run "notepad","","Y:\","" Window("Notepad").WinEditor("Edit").Type micCtrlDwn + "s" + micCtrlUp Window("Notepad").Dialog("Save As").WinEdit("File name:").Set "test1" Window("Notepad").Dialog("Save As").WinEdit("File name:").Type micReturn Window("Notepad_3").Type s Window("Notepad_3").WinEditor("Edit").Type micCtrlDwn + "s" + micCtrlUp starttimer=timer Window("Notepad_3").WinMenu("Menu").Select "Format;Font..." Window("Notepad_3").Dialog("Font").WinEdit ("Font:").Type "cou" + micDwn Window("Notepad_3").Dialog("Font").WinComboBox ("Font:").Select "Courier" Window("Notepad_3").Dialog("Font").WinEdit ("Font:").Set "Courier" Window("Notepad_3").Dialog("Font").WinEdit("Font:").Type micReturn endtimer=timer timeit=endtimer-starttimer print(timeit) Please also tell me where the function for the text file result will be declared and where it should be called. Thanks, Gaytri