Jump to content

Can AutoIt evaluate the script results?


cfoutscae
 Share

Recommended Posts

I've read the FAQ, tutorials, and Learning to Script with AuoIt V3 by Peters and Francis and couldn't find a straight answer.

Can AutoIt scripts evaluate the results of the script and return a pass/fail criteria? For example, in the included Calculator example that calculates 2x4x8x16, how can I check that it resulted in 1024, and return a pass/fail condition accordingly?

I want to use AutoIt for automated testing for a Windows game-like application where I pust a button and expect results. For example, if I flip a power switch, and want to check if an LED turned on red. If it does the script passes, if not the script fails.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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