[wtr-general] Re: Watir and flash audio
Our build server is a VM so we left a user logged in via the VM console (rather than a remote desktop session). It seems to be working but is a bit flaky. We going to try stopping the console from locking to see if that proves more reliable. Thanks for the help On Jun 2, 6:00 am, Prajakta Jadhav jadhav.praja...@gmail.com wrote: I had this problem when I used $ie.send_keys() function.. this does not work if user hasn't logged in to windows. Maybe you are using some such GUI function in your script. Guess you ll have to use some other alternative for that function. On Mon, Jun 1, 2009 at 7:10 PM, Philbo phi...@gmail.com wrote: Hi, One of our Watir tests is based around a flash audio playback element embedded in a page. It's trying to test that playback occurs after clicking a Play button. I'm finding that when the test runs on our build server it fails, yet when I run it locally it passes. In addition to this, if I'm logged on to the build server when the test runs it passes also. My initial thought is that when no one is logged on to the build server some audio drivers are not loaded which is then affecting the flash playback. Does anyone have any ideas for a possible solution or work around? Maybe some way to force the drivers to load? To be clear, I don't want to test for an audio response from the page. I plan to do this by checking a playback progress bar. The problem is getting the flash element to play. Any help or wild ideas appreciated! Thanks, Philbo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Watir and flash audio
Can you leave a user logged into the machine where the test is failing? I had a similar problem - some GUI tests would not work without a user logged in to Windows. So my Watir machines (VMs, actually) are configured to automatically log in as a particular user at boot. You can do this in XP or Vista. Thanks Bill On Mon, Jun 1, 2009 at 6:40 AM, Philbo phi...@gmail.com wrote: Hi, One of our Watir tests is based around a flash audio playback element embedded in a page. It's trying to test that playback occurs after clicking a Play button. I'm finding that when the test runs on our build server it fails, yet when I run it locally it passes. In addition to this, if I'm logged on to the build server when the test runs it passes also. My initial thought is that when no one is logged on to the build server some audio drivers are not loaded which is then affecting the flash playback. Does anyone have any ideas for a possible solution or work around? Maybe some way to force the drivers to load? To be clear, I don't want to test for an audio response from the page. I plan to do this by checking a playback progress bar. The problem is getting the flash element to play. Any help or wild ideas appreciated! Thanks, Philbo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Watir and flash audio
I had this problem when I used $ie.send_keys() function.. this does not work if user hasn't logged in to windows. Maybe you are using some such GUI function in your script. Guess you ll have to use some other alternative for that function. On Mon, Jun 1, 2009 at 7:10 PM, Philbo phi...@gmail.com wrote: Hi, One of our Watir tests is based around a flash audio playback element embedded in a page. It's trying to test that playback occurs after clicking a Play button. I'm finding that when the test runs on our build server it fails, yet when I run it locally it passes. In addition to this, if I'm logged on to the build server when the test runs it passes also. My initial thought is that when no one is logged on to the build server some audio drivers are not loaded which is then affecting the flash playback. Does anyone have any ideas for a possible solution or work around? Maybe some way to force the drivers to load? To be clear, I don't want to test for an audio response from the page. I plan to do this by checking a playback progress bar. The problem is getting the flash element to play. Any help or wild ideas appreciated! Thanks, Philbo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---