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
How do you convert manual test cases to automated test cases?
Explain the types of object repository?
What is the process of synchronizing qtp and aut?
What is object repository in qtp?
How many number of actions possible in qtp?
What is the keyword view and expert view in qtp?
Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?
Explain the qtp test phases.
How will internal and external links be validated and updated? how often?
What is output value? How many types of output values are there in qtp?
what function you write to do database testing with the help of qtp?
What is the difference between the design-time and run-time data tables?
What is the difference between a Function and Procedure in QTP?
Hi How to retrieve data from web element line by line?
How to customize checkpoints with parameters?