|
Post by jcrunk on Aug 17, 2016 12:09:36 GMT
I just started using SeleniumPlus and in trying to run the sample after going through the installation steps and changing the information in the Sample.map file I am getting the below error. Did I miss something?
Thanks,
John
Build info: version: '2.52.0', revision: '4c2593c', time: '2016-02-11 19:06:42'
System info: host: 'Laptop', ip: '10.0.0.83', os.name: 'Windows 8.1', os.arch: 'amd64', os.version: '6.3', java.version: '1.7.0_79'
Driver info: org.safs.selenium.webdriver.lib.RemoteDriver
**FAILED**StartWebBrowser Unsuccessful. Cannot Proceed. Failure in sample.testcases.TestCase1 in Method startBrowser at Line 25
**FAILED**Unable to perform StopWebBrowser. *** ERROR *** WebDriver stopping error: Browser ID 'GoogleMain' is not a valid ID for a running browser session.
Error at line 65 in file sample.testcases.TestCase1#stopBrowser() : *** ERROR *** WebDriver stopping error: Browser ID 'GoogleMain' is not a valid ID for a running browser session.
<<<<<< STOP SUITE TestCase1
|
|
tao
New Member
Posts: 6
|
Post by tao on Aug 18, 2016 1:50:01 GMT
Hi John,
Thanks for your information.
According to my experience, first, if you use the IE, you need to make sure the zoom in/out size to be 100%, which can be done by using "Ctrl + 0".
And Second, you can try update the SeleniumPlus through: Click the top bar menu "Selenium+" --> "Update" --> "Update SeleniumPlus". And then, try to run your code again to see if it works for you.
If all these trying can't help you, please upload the 'debuglog.txt' file which is at the root directory of your project. It will give us more detailed information to know what the problem is.
Best Regards, Terence
|
|
|
Post by leiwang on Aug 18, 2016 3:19:44 GMT
The test log told us that "**FAILED**StartWebBrowser", the default browser is FireFox, what is the version of your FireFox? If you use an old release to install SeleniumPlus, and you have a latest version of FireFox, you might have a problem to start it. It is recommended the update SE+ to the latest version. SE+ is currently using selenium-server 2.52, and it could support Firefox 45. I myself made a test, I update my SE+ to the latest version, and ran the sample test with Firefox 33, 42, 44, it could work with them, BUT when I ran with FF 48 (the latest one), the test got stuck. In this case, we need to install a previous release of FireFox. It is better to stop the "firefox automatic update" and upgrade to a supported version if needed.
|
|