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 have recorded a test using qtp to download a file in an application. Code: Browser("MFA Work Queue Manager").Page("MFA Work Queue Manager").Link("Rules Maintenance").Click Browser("MFA Work Queue Manager").Page("Rule Maintenance").WebEdit("txtSearch").Set "PmtType" Browser("MFA Work Queue Manager").Page("Rule Maintenance").WebButton("Search").Click Browser("MFA Work Queue Manager").Page("Rule Maintenance").WebButton("Export").Click Browser("MFA Work Queue Manager").Dialog("File Download").WinButton("Save").Click Browser("MFA Work Queue Manager").Page("Rule Maintenance").Sync Dialog("Save As").WinButton("Save").Click Dialog("Save As_2").WinButton("Yes").Click Problem: When running this test it gives an error at line no. 5 as Save button object is not identified by it's parent object. This code I ran 4 times after recording at it was working fine but 5th time onwords, it starts giving me the above problem. I used exist property option, Check Property option but none of this changes work at all. Kindly help...
how can i impliment error handling in QTP?
cud anybody please tell me the full form's of the extention files that we use in real time---.tsr,.mtr,.qrs
How to catch the TOol Tip Dyanamically changing values using the qtp script by Descriptive Programming Scenario: ======== 1. when i press the submit button 2. The Tool tip first shows the value "Validating...." 3. Next the value is changed in tooltip "Logging....." ------ And the class is webElement SO , how can i catch both values During Run time using Dp
how can we write descriptive programming for menus when qtp is not able to identify it..and how can we write descriptive programming for partially identified and non standard objects..do i have to map the objects before writing the script
How to swap two numbers by using parameter passing method byref in a fucntion and return the result to outside of the function?
how to identify a webtable coulmn values ,if we spy the coulmn value it is sometimes identifying as Webedit and some times it is identifying as "webelement", Could any body let me know how to handle the issue?
What is Object Spy?
1.what is the difference between childobjects and child items in qtp? 2.what is difference between a class and function? 3.can u convert ustimings to indian timings using vbscript? 4.i have scripts in one machine.can i run those scripts in another machine.how?
2 Answers Genpact, Infosys, Symantic Space, TCS,
How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?
terminal services client
how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?