Automate Images Using Testmate

Testmate can automate anything you see on the desktop screen. It can identifies the images and perform actions on them. It is useful when the objects are not identifiable using standard methods.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
'Highlight the image on the desktop
Call img.HighlightImage("C:\Users\...\Desktop\Capture.png")
 
'Click on the image
Call img.ClickImage("C:\Users\...\Desktop\Capture.png")
 
'Doubleclick on the image
Call img.DoubleClickImage("C:\Users\...\Desktop\Capture.png")
 
'Right click on the image
Call img.RightClickImage("C:\Users\...\Desktop\Capture.png")
 
'Get Image Location
Msgbox img.GetImageLocation("C:\Users\...\Desktop\Capture.png")

Add a Comment

Your email address will not be published. Required fields are marked *