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


Please Help Members By Posting Answers For Below Questions

What is action? How many types of actions are there in qtp?

622


Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?

1524


A FORM CONTAINS 5 FIELDS. 1 FIELD IS ENABLED REMAINING(4) FIELDS DISABLED. MY QUESTION IS ENTER VALUES INTO 1 FIELD AFTER THAT CLICK TAB BUTTON THEN 2 FIELD ENABLE THIS PROCESS CONTINUE UPTO 5TH FIELD. HOW TO WRITE CODE IN DESCRIPTIVE PROGRAMMING. PLZ TELL ME THE PROCEDURE AND CODE FOR IT.

1288


What is the syntax for how to call one script from another?

576


What is the syntax to call one script from another?

544






What are table and db checkpoints?

594


i want information about API testing and i want info like how process can be done in company? i want added info like coding ,debugging, desing in c.v ? what should add in c.v for eg banking domin? pls any answer my question?

1614


Hi, how can we check or avoid the memory leakage in QTP9.2?

1716


Your roles and responsibilities and daily tasks? (As automation tester)

2589


What is the script for database check point, bitmapchek point, regular expression ?

1571


How many types of recording modes in qtp? Which will be used when?

556


What does mean by Scope of Automation?n How we defined it?

1586


how to find that tools work well with ur existing system?

1368


How can I find out the cursor position through QTP suppose I am keep tabbing(Pressing the tab key continuously) and stoped at a position Now I want to find out where the cursor position is

6311


What are the types of object repository in qtp?

575