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 |
In QTP what is the difference between Step-in, Step-out, Step-over ?
How do u connect database through QTP tell me both Ms Access and SQL
I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?
WHAT IS THE DESCRIPTIVE programming when it is useful? & when to use this ?
What is the DIFF Between PROJECT AND PRODUCT?When Company will need Product?
How to use checkpoints in qtp ?
To which environments does quicktest professional supports?
What is positive test case and Negative Test case? What is the meaning of Real World Scenario's?
What is the Obect Repository type, we use in Automated Testing..in Real time.. Pls anybody can give the answer.. Thanks in advance...
What is the regular expression for Yahoo mail Inbox?
How to break the object spy ?
Hi,All How to change background color of a cell in excel using qtp and that too with out using Excel Object.(I am importing the excel sheet by using ImportSheet method)