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
Which advantages helping QTP to hold the position of "Market Leader" for such a long period?
Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?
How does qtp identify the object in the application?
What is TOM in QTP?
Which functionalities of QTP used in banking project?
Write a script to customize the test results in PDF and HTML format.
desribe a situation where u faced a stressful situation and how did u cope with it
what is review
how to evalute defects in QTP script?
How did you use regular expressions in QTP and also in WR?
Which environments are supported by hp qtp?
Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?
Explain the concept of object repository & how qtp recognizes objects?
What are the ways you can synchronize?
How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?