Running SOATest Web Scenarios on Windows Server 2012 R2.
I have a small web application that I created a number of SOATest web scenarios to do some regression testing. We are using SOATest as part of our automated build process for our IBM Message Broker systems and are looking to at expanding SOATest to our web applications. The issue I am having is that the web scenarios don't run on the server, which is using Windows Server 2012 R2 and Internet Explorer 11. IE opens to the application search screen but does not go any further and then the test eventually times out. Everything runs fine on my local version of SOATest (9.10.8) but not on the server. Does anyone have any ideas as to what the problem may be? Could it be security and/or authorization issues? Are there certain settings in Internet Explorer that I should look at?
Thanks for any suggestions.
Best Answers
-
Did you change all the security and protected mode settings as described here?
Configuring Internet Explorer Settings1 -
Please also make sure the Browser Helper Object has been enabled. When SOAtest launches Internet Explorer for the first time on a machine, there will be a small dialog at the bottom of the Internet Explorer browser window asking if you would like to enable "Recorder Registrar" or "Several Add-ons are ready to use." Click "Enable" to allow playback in Internet Explorer.
6 -
Even without the "Headless" option, you can typically run browser tests on a server that does not have a display.
In SOAtest the "Headless" option instead refers to running browser tests on a machine with an attached display without showing a browser window. Unfortunately, this feature is not currently supported when using Selenium WebDriver playback engine, which is the default and recommended engine. If you require this functionality you may try using the Legacy engine.
Known Selenium Driver Limitations
Using the Legacy Browser Playback Engine5 -
Please note that the legacy browser playback engine is not recommended, as it is expected to be removed in an upcoming release.
5 -
I believe Internet Explorer does not support this, at least not for WebDriver.
5
Answers
-
Thank you both! I found that I had most of the settings configured as needed but the one that tripped me up was the Active Scripting in the Security tab. Once I enabled that setting, IE would run the scenarios.
I do have a followup question about running in headless mode. The browser window in still being displayed with all of the data entry and link clicks showing despite the Headless checkbox being checked. Is there something else needed to run the scenarios without the browser actually opening? Should I create a new discussion for this question?
Thanks for your help!0 -
I tried using the legacy browser playback engine and found that some of the tests did not work as they were supposed to. The lack of a headless mode is not a showstopper but are there plans to get the headless mode working with the Selenium Webdriver at some point?
0 -
The lack of a headless mode is not a showstopper but are there plans to get the headless mode working with the Selenium Webdriver at some point?
I recall this being a limitation in Microsoft's WebDriver binary for Internet Explorer. In other words, I think Microsoft would need to fix that. I am not aware of a workaround that Parasoft might be able to leverage within SOAtest.
0