images are dynamically changes how to compare two images
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / guru
Set Obj = CreateObject("Mercury.FileCompare")
Flag = Obj.IsEqualBin(Img1, Img2, 1, 1)
Flag = 1 both images are same
Flag = 0 both image are not same
| Is This Answer Correct ? | 1 Yes | 0 No |
I have one question as HP QTP is concern, Please send your answers..... Can we do testing of any application without using any of the framework which are we used in QTP tool. If yes then how it can be possible in the HP QTP tool. -- Regards
write a qtp code to display all the items in the fly from combo box or list box
What is the Test Object model in QTP?
How to load an object to a object repository at RUN TIME ?
hi all, I have installed QTP successfully on windows vista. I am able to record and run on windows applications, but facing problem with web applications. While recording, I am able to open the web application, but when I click on any object or give login name and password, the events are not getting recorded in QTP. Could anyone solve the problem. Any settings to be done for web applications other than selecting web-addin? Waiting for replies. Thanks in advance.
hi friends can anyone tell me where can i find descriptive programming material please send me the link also,from which i can download the material
Why we have to split actions in a test?
can any one make me confirm about a real time employee with better experience in QTP who is providing QTP course individually in Bangalore???
Explain the Different types of QTP test assets and their extensions?
Differentiate the type of test cases which can be automated and which cannot be automated?
write a script to verify the image path(src property) of the images which are in web pages.(do it by Descriptive method by creating a description object)
Hi frens! I am testing VB project with MS Access database. At add button click my record is storing in data table and it is shown in datagrid. So at Delete button click i want to check datagrid rows 9before and after delete). so how can i do it using descriptive programming?