Skip to content

Instantly share code, notes, and snippets.

View VenkateshPS's full-sized avatar

Venkatesh Singh VenkateshPS

  • Vocera India
  • Bangalore
View GitHub Profile
@VenkateshPS
VenkateshPS / Appium Desktop Page Source
Created April 23, 2020 02:59
Appium Desktop Page Source
<?xml version="1.0" encoding="UTF-8"?><AppiumAUT><XCUIElementTypeApplication type="XCUIElementTypeApplication" name="Vocera Vina" label="Vocera Vina" enabled="true" visible="true" x="0" y="0" width="375" height="667">
<XCUIElementTypeWindow type="XCUIElementTypeWindow" enabled="true" visible="true" x="0" y="0" width="375" height="667">
<XCUIElementTypeOther type="XCUIElementTypeOther" enabled="true" visible="true" x="0" y="0" width="375" height="667">
<XCUIElementTypeOther type="XCUIElementTypeOther" enabled="true" visible="true" x="0" y="0" width="375" height="667">
<XCUIElementTypeOther type="XCUIElementTypeOther" enabled="true" visible="true" x="0" y="30" width="375" height="637">
<XCUIElementTypeNavigationBar type="XCUIElementTypeNavigationBar" name="Start a Call" label="Start a Call" enabled="true" visible="true" x="0" y="30" width="375" height="44">
<XCUIElementTypeStaticText type="XCUIElementTypeStaticText" value="Start a Call" name="Start a Call" label="Start
@VenkateshPS
VenkateshPS / PageSourceAppium
Created April 23, 2020 02:57
Driver.getPageSource() Appium
<?xml version="1.0" encoding="UTF-8"?><AppiumAUT><XCUIElementTypeApplication type="XCUIElementTypeApplication" name="Vocera Vina" label="Vocera Vina" enabled="true" visible="true" x="0" y="0" width="375" height="667">
<XCUIElementTypeWindow type="XCUIElementTypeWindow" enabled="true" visible="true" x="0" y="0" width="375" height="667">
<XCUIElementTypeOther type="XCUIElementTypeOther" enabled="true" visible="true" x="0" y="0" width="375" height="667">
<XCUIElementTypeOther type="XCUIElementTypeOther" enabled="true" visible="true" x="0" y="0" width="375" height="667">
<XCUIElementTypeOther type="XCUIElementTypeOther" enabled="true" visible="true" x="0" y="30" width="375" height="637">
<XCUIElementTypeNavigationBar type="XCUIElementTypeNavigationBar" name="Start a Call" label="Start a Call" enabled="true" visible="true" x="0" y="30" width="375" height="44">
<XCUIElementTypeStaticText type="XCUIElementTypeStaticText" value="Start a Call" name="Start a Call" label="Start
@VenkateshPS
VenkateshPS / Appiumserverlog.txt
Created April 23, 2020 02:53
Appium server log
[Appium] Welcome to Appium v1.15.1
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> GET /wd/hub/status
[HTTP] {}
[debug] [GENERIC] Calling AppiumDriver.getStatus() with args: []
[debug] [GENERIC] Responding to client with driver.getStatus() result: {"build":{"version":"1.15.1"}}
[HTTP] <-- GET /wd/hub/status 200 4 ms - 68
[HTTP]
[HTTP] --> POST /wd/hub/session
[HTTP] {"desiredCapabilities":{"bundleId":"com.vocera.uc","deviceName":"iPhone 6","wdaLocalPort":8200,"agentPath":"/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj","bootstrapPath":"/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent","newCommandTimeout":96000,"platformVersion":"11.1","automationName":"Xcuitest","useNewWDA":true,"waitForAppScript":"true","platformName":"iOS","udid":"df62490bf0f036f47f08e5ebeab2177b9f27f0cd","wdaConnectionTimeout":1200000},"capabilities":{"alwaysMatch":{"agentPath":"/usr/local/lib/node_modules/appium/node_modules/appium-webdri
[info] [Appium] Welcome to Appium v1.15.1
[info] [Appium] Non-default server args:
[info] [Appium] allowInsecure: {
[info] [Appium] }
[info] [Appium] denyInsecure: {
[info] [Appium] }
[info] [Appium] Appium REST http interface listener started on 0.0.0.0:4723[info] [HTTP] --> GET /wd/hub/sessions
[info] [HTTP] {}
[debug] [GENERIC] Calling AppiumDriver.getSessions() with args: []
[debug] [GENERIC] Responding to client with driver.getSessions() result: []
default
15:58:28.017114 +0530
testmanagerd Fetching attributes: <private> (<private>)
default
15:58:28.017362 +0530
testmanagerd Fetching AX attributes (
2003
) for element AX element pid: 309, elementOrHash.elementID: 4408348544.4
default
15:58:28.017570 +0530
default
12:04:11.004569 +0530
VCS AdHoc Search pattern:(?i)^(?=(^|.*?[\t\x20,;])test)(?=(^|.*?[\t\x20,;])four).*$ and (ThreadID: 0x2831de4c0)
default
12:04:11.004982 +0530
VCS AdHoc Search pattern:(?i)^(?=(^|.*?[\t\x20,;])test)(?=(^|.*?[\t\x20,;])four).*$ and (ThreadID: 0x283096e00)
default
12:04:11.086746 +0530
testmanagerd Got snapshot for <private>
default
Date/Time: 2019-06-28 10:15:08 +0530
End time: 2019-06-28 10:15:25 +0530
OS Version: iPhone OS 12.3.1 (Build 16F203)
Architecture: arm64e
Report Version: 28
Incident Identifier: 96B5AE0C-E43E-44FF-AD59-23E337443F11
Data Source: Microstackshots
Shared Cache: 0x28c30000 712D85A2-F297-3958-81DC-F502D820A7E3
Last login: Fri Jun 28 10:28:11 on ttys000
mchatakonda01-Macmini:~ venkateshsingh$ appium
[Appium] Welcome to Appium v1.13.0
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> GET /wd/hub/status
[HTTP] {}
[debug] [GENERIC] Calling AppiumDriver.getStatus() with args: []
[debug] [GENERIC] Responding to client with driver.getStatus() result: {"build":{"version":"1.13.0"}}
[HTTP] <-- GET /wd/hub/status 200 8 ms - 68
[HTTP]
rg.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: socket hang up
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'mchatakonda01-Macmini.local', ip: 'fe80:0:0:0:83:9b45:6207:eaef%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.14.5', java.version: '1.8.0_121'
Driver info: io.appium.java_client.ios.IOSDriver
Capabilities {app: /Users/Shared/VCS/VCS_AdHoc..., automationName: XCUITest, browserName: , bundleid: com.vocera.vcs, databaseEnabled: false, deviceName: iphone 6, fullReset: false, javascriptEnabled: true, locationContextEnabled: false, maxTypeFrequency: 60, nativeWebTap: true, networkConnectionEnabled: false, newCommandTimeout: 960000, platform: MAC, platformName: iOS, platformVersion: 12.2, takesScreenshot: true, udid: 00008020-000B35901A68002E, useNewWDA: true, wdaLocalPort: 8100, webStorageEnabled:
@VenkateshPS
VenkateshPS / gist:1e78f858da322fbb17654b4f564bd70e
Last active February 15, 2019 07:22
appium-uiautomator2-server not exists or is not accessible
[Appium] Welcome to Appium v1.11.1-rc.0
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> GET /wd/hub/status
[HTTP] {}
[debug] [GENERIC] Calling AppiumDriver.getStatus() with args: []
[debug] [GENERIC] Responding to client with driver.getStatus() result: {"build":{"version":"1.11.1-rc.0"}}
[HTTP] <-- GET /wd/hub/status 200 6 ms - 73
[HTTP]
[HTTP] --> GET /wd/hub/status
[HTTP] {}