images are dynamically changes how to compare two images
Answer Posted / 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 |
Post New Answer View All Answers
Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain
How does qtp identify gui object?
what is object and child object.. explain ..if possible give some example for better understanding ..
Can we Test Welcome Screens and Process Images with QTP
Write a script to verify font style and color of a windows object using descriptive programming
What is environment variable in qtp and why to use it?
How does you pass optional arguments in qtp?
Hoe can we do retesting using functions please give the code for it using login page
Can anybody post some real time scenario in qtp? please its very urgent.
Is it possible to split an action? How?
can u please explain what is the exact difference between qtp8.2 and 9.0
PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME
What are the main differences of qtp and win runner?
Explain how you can delete excel file in qtp?
What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz