It's not working at all. My keyword tests execute a script (in the scriptextensions), that should open and close a browser without doing anything else.
- running the script itself in the extensions is working properly
- calling it from keyword tests does not work at all
it's actually a copy of a smartbear example.
function checkChromeVersion()
{
var page, browser;
// Run the web browser and obtain a web page
browser = Aliases.browser;
// Close the web browser
browser.BrowserWindow.Close(5000);
// -- or
//browser.Close(5000);
}
the result still is:
- 'Browsers' is undefined
- runtime error in Microsoft JScript
- Line: Browsers.Item(btChrome).Run("
http://google.de/"); Should this be reported as a bug?
Or is it really not possible to start/close a browser through scriptextensions?