JibsMan Posted June 30, 2015 Share Posted June 30, 2015 I need to determine a way to get a Test Engineer or QA Tech's attention. Audio may not work as the tester may not have headphones or speakers plugged in. What I was thinking of doing was creating and playing a video that shifts from black to white and back until the tester hits a key, but that may interfere with what we are testing, or if there was a way to do something like this using AutoIt. That is, using AutoIt to Flash the screen, not play the video.Searching the inet for "Flash Video AutoIt" or other combinations brings up lots of answers to Video Flashing problems with monitors, but nothing to help me with this.I am writing tests for a video utility and there are some areas of the test that require the tester to LOOK at the monitor to verify video quality or other things that can only be validated by looking at the screen. Other tests are validated internally and automatically post "Pass" or "Fail" messages to the log file.Yeah I know they are supposed to be watching but they test multiple systems at once and can't watch everything.Are there features of AutoIt that could help me?ThanksJibsMan Link to comment Share on other sites More sharing options...
kaisies Posted June 30, 2015 Share Posted June 30, 2015 (edited) Well, certainly a ui popping up and setting the background random colors would work, provided they were paying attention. Which begs the question, why aren't theh paying attention to the task at hand? Edited June 30, 2015 by kaisies Link to comment Share on other sites More sharing options...
nitekram Posted July 1, 2015 Share Posted July 1, 2015 Is the test being performed in AutoIt? Is there anyway to stop or pause the test? Since the test is asking for human intervention, does it stop and wait?If the task waits until human intervention, maybe an email to the tech, with the computer name asking for help?Or have the techs line up the computers being tested, and when they get done with the (maybe 5th one), they go back to the first computer, and see where it is, if not ready, go to set up the 6th computer, and keep following that until the first one is ready - then the second one will be ready and so on. 2¢ All by me:"Sometimes you have to go back to where you started, to get to where you want to go." "Everybody catches up with everyone, eventually" "As you teach others, you are really teaching yourself." From my dad "Do not worry about yesterday, as the only thing that you can control is tomorrow." WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2 AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit Docs SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language Programming Tips Excel Changes ControlHover.UDF GDI_Plus Draw_On_Screen GDI Basics GDI_More_Basics GDI Rotate GDI Graph GDI CheckExistingItems GDI Trajectory Replace $ghGDIPDll with $__g_hGDIPDll DLL 101? Array via Object GDI Swimlane GDI Plus French 101 Site GDI Examples UEZ GDI Basic Clock GDI Detection Ternary operator Link to comment Share on other sites More sharing options...
Chimaera Posted July 1, 2015 Share Posted July 1, 2015 Is the test being performed in AutoIt? Is there anyway to stop or pause the test? Since the test is asking for human intervention, does it stop and wait?Thats how i do my stufff at work i give a message box popup and the tech has to manually answer before the test continues, and if they are busy it will sit and wait until they can get to it If Ive just helped you ... miracles do happen. Chimaera CopyRobo() * Hidden Admin Account Enabler * Software Location From Registry * Find Display Resolution * _ChangeServices() Link to comment Share on other sites More sharing options...
JohnOne Posted July 1, 2015 Share Posted July 1, 2015 (edited) I have no idea exactly what it is you're doing so I could be off here._WinAPI_FlashWindowEx Edited July 1, 2015 by JohnOne JibsMan 1 AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
JibsMan Posted July 1, 2015 Author Share Posted July 1, 2015 The _WinAPI_FlashWindowEX looked promising, but running the sample code on a test system displayed no flashing. Have not tried to debug yet.Beep and SoundPlay or _SoundPlay do not produce sounds either. I did not have the time to debug so it could be the system, but the onboard sound device has the driver loaded and I can play music and videos with sound that work just fine. Getting it to work in AutoIt seems to be an issue.I can pause the test with a MsgBox telling the tester what to do next, but I was hoping to get their attention faster with flashing or sounds. I will go with that until I can figure why these other methods don't work.Thanks all for your suggestions and assistance!Jibs Link to comment Share on other sites More sharing options...
JohnOne Posted July 1, 2015 Share Posted July 1, 2015 If you mean the help file example then change _WinAPI_FlashWindowEx($hWnd, 2, $iFlashrate, $iTimeoutrate)To_WinAPI_FlashWindowEx($hWnd, 1, $iFlashrate, $iTimeoutrate) JibsMan 1 AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
JibsMan Posted July 1, 2015 Author Share Posted July 1, 2015 If you mean the help file example then change _WinAPI_FlashWindowEx($hWnd, 2, $iFlashrate, $iTimeoutrate)To_WinAPI_FlashWindowEx($hWnd, 1, $iFlashrate, $iTimeoutrate) That fixed that! Thanks! Link to comment Share on other sites More sharing options...
JibsMan Posted July 1, 2015 Author Share Posted July 1, 2015 FYI my system does have an issue. I can hear the sounds now. For some reason audio is not coming through the Planar IX2850 on DisplayPort, but is coming through headphones.A combination of sounds and _WinAPI_FlashWindowEx will get their attention, assuming their systems don't exhibit my problem.Thanks again, esp. JohnOne!Jibs Link to comment Share on other sites More sharing options...
junkew Posted July 1, 2015 Share Posted July 1, 2015 show an animated gif http://erikdubois.be/fun/animated-gifbut are you sure watching the video is a quick and easy way of testing.Probably checking the data video fileformat or the stream is a quicker and more stable way. FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
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