Contributions
org.openqa.selenium.SessionNotCreatedException: Could not start a new session
I'm trying to execute a groovy script on readyAPI pro, to start a selenium test : I'm referring to the steps on https://support.smartbear.com/readyapi/docs/integrations/selenium/index.html import org.openqa.selenium.firefox.FirefoxDriver; import org.openqa.selenium.chrome.ChromeDriver import org.openqa.selenium.WebElement; import org.openqa.selenium.WebDriver import org.openqa.selenium.By; System.setProperty("webdriver.chrome.driver", "C:/Program Files/SmartBear/ReadyAPI-3.10.1/bin/Drivers/chromedriver.exe"); log.info(System.getProperty('webdriver.chrome.driver')) WebDriver driver = new ChromeDriver() // Navigate to the ReadyAPI documentation driver.get("https://www.google.be") // Close the browser driver.quit(); Then I get this error: org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure. Build info: version: '4.0.0', revision: '3a21814679' System info: host: 'WDL0000036', ip: '10.153.227.214', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '16.0.1' Driver info: org.openqa.selenium.chrome.ChromeDriver Command: [null, newSession {capabilities=[Capabilities {browserName: chrome, goog:chromeOptions: {args: [], extensions: []}}], desiredCapabilities=Capabilities {browserName: chrome, goog:chromeOptions: {args: [], extensions: []}}}] error at line: 10 Any help is welcome! Kind regards RbSolved5.1KViews0likes3CommentsSecure request with attachement
Hi, when i send my request with attachement and with secure certificat (jks), i get always an error(security not allowed). but when i use same request without attachement and with a same secure certificat then word be sent my attachement is like this : ..... <mes:document> <dom:testxsi:type="file:XopFile" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <file:name>test.odt</file:name> <file:type>application/vnd.oasis.opendocument.text</file:type> <file:binary>cid:14567893</file:binary> </dom:test> </mes:document> ........ Thinks for your help in advance Kind regards505Views0likes0Comments