images are dynamically changes how to compare two images
Answer Posted / 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 |
Post New Answer View All Answers
Hi, While recording a Jave based web application, its recording all my actions and the objects.And I have 5 WebEdit objects on the page and all are recorded. But while execution, at the 2 WebEdit object, its entering the value into the object (Its making a call to the AJAX, matching the value), when the control get out of this object the value is erased or cleared. Could anyone please help. I have recoreded 5 more scenarios where WebEdit is in the picture on different webpages and all are working fine. Here is my Script: Browser("Sign In").Page("Matching Workbench_3").WebEdit ("locationLookup").Set "0320 - SEATTLE-KM" Browser("Sign In").Page("Matching Workbench_3").WebEdit ("supplierNameLookup").Set "TRAMMO PETROLEUM INC" *** SupplierNameLookup is the object, which is haing an issue. And also I was using the SendString function, but it didnt work.
There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?
I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...
What is the difference between analog and low level recording?
What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?
what are the utilities and drivers
assume i have few url link how will i dynamically call then using descriptive programming?
How to find the name of the machine where you are running your automation scripts in qtp?
Can we use index on view?
What is the use of running the scripts in Hidden-mode in UFT?
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?
Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance
Explain about the quicktest professional (qtp) automation object model?
What is standalone database?
What are the differences between table and db checkpoints?