Jump to content

Recommended Posts

Posted

Hello there!

I have started to automate an app (mostly windows/desktop) and am wondering what is the best way to build test scripts avoiding analog code. That is, avoiding mouse movements, coordinates, etc. I really would want to go for the object recognition way of automating!

Here is a snippet of code I recorded with the Au3record program, which I like to avoid as much as possible.

Thanks in advance for your time.

CarlF

---

_WinWaitActivate("Citrix Receiver - Internet Explorer","Address Combo Contro")

;Maximize
WinSetState("Citrix Receiver - Internet Explorer","",@SW_MAXIMIZE)
;_WinWaitActivate("ABS-Core TEST <on DTMLA93> - \\Remote","")
;MouseClick("left",744,14,1)

MouseClick("left",542,89,1)
MouseClick("left",388,282,1)
_WinWaitActivate("Login - \\Remote","")
MouseClick("left",34,115,1)
MouseClick("left",413,467,1)
_WinWaitActivate("ABS-Core TEST <on DTMLA93> - \\Remote","")
MouseClick("left",52,123,1)
 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...