Unable to create a session using Appium
Hi, I've got issues while trying to set up Android automated tests with Automation Testingservice. Through my local Java Appium project, whenever I try to create new instance of AndroidDriver, the server responds with following error: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: org.apache.http.client.ClientProtocolException (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 1.67 seconds Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: '…', ip: '…', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.16', java.version: '1.8.0_281' Driver info: driver.version: AndroidDriver Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: '…', ip: '…', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.16', java.version: '1.8.0_281' Driver info: driver.version: AndroidDriver at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:216) at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:225) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:250) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213) at io.appium.java_client.AppiumDriver.startSession(AppiumDriver.java:363) at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131) at io.appium.java_client.DefaultGenericMobileDriver.<init>(DefaultGenericMobileDriver.java:37) at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:89) at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:99) at io.appium.java_client.android.AndroidDriver.<init>(AndroidDriver.java:97) … I've tried to contact Appium server "manually" but ended with not much informations regarding the cause: { "sessionId": null, "message": "org.apache.http.client.ClientProtocolException", "value": { "message": "org.apache.http.client.ClientProtocolException", "origValue": "org.apache.http.client.ClientProtocolException" }, "status": 33 } The project is using Appium java-client 7.6.0as Maven dependency. I've also checked that there are no conflicts regarding HttpClient dependency (using same as java-client's which is 4.5.13). Capabilities used are the ones recommended while completing the form here:https://cloud.bitbar.com/#testing/test-run-creator { "bitbar_appiumVersion": "1.22.3", "bitbar_description": "Implementation of BitBar in stack", "bitbar_testrun": "Implementation test", "noReset": "true", "bitbar_testTimeout": "1200", "bitbar_target": "android", "deviceName": "Android Device", "fullReset": "false", "bitbar_locale": "FR", "bitbar_apiKey": "<my-api-key>", "automationName": "Appium", "bitbar_app": "<my-app-id>", "platformName": "Android", "bitbar_device": "Google Pixel 3a Android 12", "bitbar_project": "MyProject" } Targeted Appium server is this one:https://eu-mobile-hub.bitbar.com/wd/hub/ Since there are no informations returned from the server, could anyone provide a bit of help regarding this matter ? Thanks a lot.1.2KViews0likes1CommentNo syntax error in SwaggerHub - but cannot download a resolved YAML file
Hi, I have a valid Swagger definition (or at least SwaggerHub doesn't report any errors) - but when I try to download the resolved YAML file (or the resolved JSON file) an error is displayed: How do I find out where the error is? (I am aware that I have a definition that is declared but never used - but that can hardly be the problem!?!) Link to API: https://app.swaggerhub.com/apis/dcsaorg/DCSA_TNT/2.1.0Solved1KViews0likes2CommentsError Creating Functional Test
Trying to set up first functional test using the swagger.json file. Receiving the error "attribute components.schemas.Schema name EagleSvc.API.Utilities.ExceptionHandling.ApiResponse+ApiResponseContent doesn't adhere to regular expression ^[a-zA-Z0-9\.\-_]+$" Using open api: "3.0.1" and ReadyAPI 3.7.0. Here is an excerpt from the json file: "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/EagleSvc.API.Utilities.ExceptionHandling.ApiResponse+ApiResponseContent" } }, "application/json": { "schema": { "$ref": "#/components/schemas/EagleSvc.API.Utilities.ExceptionHandling.ApiResponse+ApiResponseContent" } }, "text/json": { "schema": { "$ref": "#/components/schemas/EagleSvc.API.Utilities.ExceptionHandling.ApiResponse+ApiResponseContent" } } } } This is the attribute applied to the action showing the custom return type: [ProducesResponseType(typeof(ApiResponse.ApiResponseContent), StatusCodes.Status200OK)] Is this not supported by ReadyAPI? Thanks.889Views0likes3CommentsSwagger Editor Error loading URL
I am running Swagger editor and my Swagger environment locally. When attempt to connect to my Swagger environment by using the import from URL option Swagger editor generates the error message: Error loading URL The URL that I am using is https://localhost/ExosApi/ The main reason why I would like to use Swagger editor is because I want to export my Swagger environment as an HTML file. Maybe I am going the wrong way about this. Help on how to get this to work or export mt Swagger environment as an HTML (or other standalone file) would be greatly appreciated.TestComplete 14 via commandline opens with error
When I open TestComplete via command line with or without arguments, it always shows an error: Cannot open the'C:\Program Files (x86)\SmartBear\TestComplete 14\x64\Bin\TestComplete.exe' file vecause it is not a valid project suite or project file. Of course it is not, this is the path of TestComplete.exe. The right project can not be specified. When I open TestComplete via .exe file, the error is not shown.Solved1.8KViews0likes4CommentsGroovyUtils XMLHolder throwing Xpath syntax error when XML node value contains escaped character.
GroovyUtils throwing error when XML node value contains escaped characters. In my script, I'm accessing a node that contains the description of an error. That node when read by my XMLHolder throws this error: Caused by: java.lang.RuntimeException: net.sf.saxon.trans.XPathException: XPath syntax error at char 9 on line 2 in {\nInvalid part number}: Unexpected token name "part" beyond end of expression It appears that the node I'm reading contains the value "\n", and when the holder tries to read it, it throws the error. How can I read the node, with the escaped value, and not bomb out?3.8KViews0likes12CommentsUnexpected Response code:401 (Zephyr Cloud)
I am trying to set up the import tool for Zephyr for the first time. However, when I enter in my URL, username, password, Access Key and Secret Key, I am getting the error of Unexpected Response code:401. I have tried deleting the API key and regenerating it to no luck. How can I log in without getting the error? Thanks!Solved3.4KViews0likes3CommentsSmartBear Test Extension does not work in Chrome 75
When attempting to execute a test using TestExecute, Chrome is launched, and the URL bar displays "chrome-extension://gmhjclgpamdccpomoomknemhmmialaae/exit"; however, the body of the page indicates that the URL could not be loaded. Chrome version: 75.0.3770.100 (Official Build) (64-bit) SmartBear Test Extension version: 14.0.0 TestExecute Version: 14.10.999.11 x64 The specific reason for the failure differs depending on whether I launched Chrome in "incognito" mode, or standard mode. When launched in standard mode, the error message is "ERR_FILE_NOT_FOUND", and the Network log corroborates the claim: When launched in "Incognito" mode, the error is slightly different: "ERR_BLOCKED_BY_CLIENT": I have configured the permissions for the plugin to both "Allow in incognito" and to "Allow access to file URLs":Solved2.2KViews0likes5CommentsPopup from visual studio upon calling Connect.RunTest()
I get the attached popup error when doing a Connect.RunTest(). Twice. After clicking OK twice, I get the stack backtrace. At first I thought the error popup was from the stack backtrace, but now I am not so sure. Any way to find what this error means? This is via C#, Test Complete 12, Visual Studio 2012, Windows 10 x641.5KViews0likes1Comment