mattiej Posted February 6, 2015 Posted February 6, 2015 I'm working on automating testing for software. When you input invalid input, an error icon appears next to the textbox where you input the incorrect data. There are multiple textboxes where you could put invalid input. My job is to test to make sure each box has the error icon show up. Unfortunately, I can not check to see if the control for the error icon is available because all of the error icons are under the same control. To get around this, I checked to see if one of the pixels changed colors (aka red or not red). The problem now is that they want me to run it while the screen is locked, so obviously pixelgetcolor does not work now. What other options do I have? I am using autoit in C# so I only have the base functions available with AutoIt.
MikahS Posted February 6, 2015 Posted February 6, 2015 Please, read this link to the AutoIt wiki explaining this: wiki link Also, welcome to the AutoIt forum mattiej! Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ
mattiej Posted February 6, 2015 Author Posted February 6, 2015 Please, read this link to the AutoIt wiki explaining this: wiki link Also, welcome to the AutoIt forum mattiej! All my other functions and test do work fine, because I use those functions. Its just trying to check and see if these error icons actually appear. Thanks
MikahS Posted February 6, 2015 Posted February 6, 2015 (edited) All my other functions and test do work fine, because I use those functions. Its just trying to check and see if these error icons actually appear. Thanks My pleasure. Edited February 6, 2015 by MikahS Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now