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
Explain the concept of object repository and how quicktest professional recognises objects?
Hi Samrat, Thank u very much, what u said it is right.
What is an object repository?
What VBScript operators, functions, and statements do you use in QuickTest Professional?
Difference between action & Reusable action?
How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")
What are the data types in qtp?
Suppose you are using shared objects repository in your test and you want to split your present action? At that time shared object repository is single or it’s also splits?
What is Distributed testing? How does UFT support it?
Dear Friends, I having total 3+year experience in manual testing including automation testing QTP, if i am attending any interview what kind of question will i get? please help me out
can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process
I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?
how to evalute defects in QTP script?
How do you test DLL files using automation Tool QTP?
How you know that a test case is a regression test case