Open nodefourtytwo opened 10 years ago
Hi,
Have you tried running it with prerun as just the string http://Myaddress:Myport/script.bat like in the Python example (but unlike in the docs)? Or with the args key in there (like in the docs but unlike in the example)?
On 02 Jun 2014, at 11:14 , nodefourtytwo notifications@github.com wrote:
Hi,
We're trying to use SauceLabs' prerun capabilities (runs a program before starting the browser) through se-interpreter.
You can search for "pre-run" on this page https://saucelabs.com/docs/additional-config for documentation.
Unfortunately, it doesn't work. We asked saucelabs support that told us that it may come from se-interpreter. I've been browsing the code, but I don't see what could prevent it from working. Some help would be very welcome.
And example of how it could be achieved in Python https://github.com/alexglow/Sauce-Labs-example-tests/blob/master/prerun/prerun%20test.py
And our config file: { "type": "interpreter-config", "configurations": [ { "settings": [ { "driverOptions": { "host": "ondemand.saucelabs.com", "port": 80 }, "browserOptions": { "browserName": "firefox", "platform": "VISTA", "version": "29", "tunnel-identifier":"test1", "username": "XXXXXXXXXXXXXXXXXXXXXXXXX", "accessKey": "YYYYYYYYYYYYYYYYYYYYYYYYYYYYY", "prerun" : { "executable" : "http://Myaddress:Myport/script.bat", "background":false } } } ], "scripts": [ "testrun.json" ] } ] }
— Reply to this email directly or view it on GitHub.
Hi,
We're trying to use SauceLabs' prerun capabilities (runs a program before starting the browser) through se-interpreter.
You can search for "pre-run" on this page https://saucelabs.com/docs/additional-config for documentation.
Unfortunately, it doesn't work. We asked saucelabs support that told us that it may come from se-interpreter. I've been browsing the code, but I don't see what could prevent it from working. Some help would be very welcome.
And example of how it could be achieved in Python https://github.com/alexglow/Sauce-Labs-example-tests/blob/master/prerun/prerun%20test.py
And our config file: