images are dynamically changes how to compare two images
Answers were Sorted based on User's Feedback
Answer / karthick
hai friend..
for this you can use isequalbin method..i am showing below
' Code for comparing two images
Set CompareUtil = CreateObject("Mercury.FileCompare")
IsEqualFlag = CompareUtil.IsEqualBin(Img1, Img2, 0, 1)
in above code 0 means in file compare class showing no
error ; syntax FC_NO_ERROR = 0
1 means in file compare class showing difference of
size; FC_DIFF_SIZE = 1
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / guru
Set Obj = CreateObject("Mercury.FileCompare")
Flag = Obj.IsEqualBin(Img1, Img2, 1, 1)
Flag = 1 both images are same
Flag = 0 both image are not same
| Is This Answer Correct ? | 1 Yes | 0 No |
What is the Risk Analysis? Waht types of risk analysis are there?
what is batch testing?
How to export data present in Datatable to an ".xls" file?
In QTP I have a parameter in a datatable that is a sentence. I need to take the last word from the sentence and enter it into a field in a web application. How can I setup a parameter to enter in just a portion of the parameter (last word of the sentence) instead of the entire paramater (whole sentence).
Any one knows about descriptive programming to identify objects in a page? Kindly drop me mail prasanna.sabat@gmail.com
I have the following Doubts Please clarify me with examples? 1.Could QTP cover entire application? or part of the application? 2.Shall we rewrite(modify) the Manual testcase to automate? 3.How can I execute my scripts through client mechine which is not having QTP installation 4.Few objects are not being identified by QTP afeter one month. what could be the reason for this (I am using trail version of 15 days)
Pls anyone, tell me the script in QTP to find the number of links, and images in a webpage. Verry very urgent. I shall really be very thankful
anyone can explain about "Smart Identification" in QTP. what is the use of "Smart Identification" ???
What VBScript operators, functions, and statements do you use in QuickTest Professional?
Suppose if a functionalityis not mensioned in requirement document and but its present in application. will it be consider as a bug and viceversa?
Why is Client side image is preferred over server side image?
How to open a new test using quicktest professional (qtp)?