Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOS: webdriver getText is not working for UIAStaticText #2814

Closed
p00j4 opened this issue Jun 10, 2014 · 4 comments
Closed

IOS: webdriver getText is not working for UIAStaticText #2814

p00j4 opened this issue Jun 10, 2014 · 4 comments

Comments

@p00j4
Copy link

p00j4 commented Jun 10, 2014

IOS aap Automation +Java + Webdriver
For the case where the element (UIAStaticText) is detected still the getText method returns nothing (empty string)
Example locator: //UIAApplication[1]/UIAWindow[1]/UIATableView[1]/UIATableCell[1]/UIAStaticText[1]

Though it works for the locator like: (UIATextField)
//UIAApplication[1]/UIAWindow[1]/UIATableView[1]/UIATableCell[2]/UIATextField[1]
Attached screenshots

Appium log :
debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element
cvdebug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element

info: Pushing command to appium work queue: "au.mainApp().getTreeForXML()"

debug: Request received with params: {"using":"xpath","value":"//UIAStaticText[contains(@name,"Total")]"}
debug: Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Socket data received (8168 bytes)

info: [INSTSERVER] Socket data received (2256 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":"{"UIAApplication":{"@":{"name":"Goibibo","label":"Goibibo","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":0,"width":320,"height":568},">":[{"UIAWindow":{"@":{"name":null,"label":n

info: Pushing command to appium work queue: "au.getElementByIndexPath('/0/0/1/6/0')"

debug: Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Socket data received (62 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":{"ELEMENT":"37"}}

info: Responding to client with success: {"status":0,"value":{"ELEMENT":"37"},"sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
POST /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element 200 406ms - 110b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text

info: Pushing command to appium work queue: "au.getElement('37').text()"

debug: Request received with params: {}
debug: Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Socket data received (48 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event

info: [INSTSERVER] Got result from instruments: {"status":0,"value":""}
info: Responding to client with success: {"status":0,"value":"","sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
GET /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text 200 140ms - 87b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element

info: Pushing command to appium work queue: "au.mainApp().getTreeForXML()"

debug: Request received with params: {"using":"xpath","value":"//UIAStaticText[contains(@name,"Total")]"}
debug: Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Socket data received (8168 bytes)

info: [INSTSERVER] Socket data received (2256 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":"{"UIAApplication":{"@":{"name":"Goibibo","label":"Goibibo","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":0,"width":320,"height":568},">":[{"UIAWindow":{"@":{"name":null,"label":n

info: Pushing command to appium work queue: "au.getElementByIndexPath('/0/0/1/6/0')"

debug: Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Socket data received (62 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":{"ELEMENT":"37"}}

info: Responding to client with success: {"status":0,"value":{"ELEMENT":"37"},"sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
POST /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element 200 406ms - 110b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text

info: Pushing command to appium work queue: "au.getElement('37').text()"

debug: Request received with params: {}
debug: Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Socket data received (48 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event

info: [INSTSERVER] Got result from instruments: {"status":0,"value":""}
info: Responding to client with success: {"status":0,"value":"","sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
GET /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text 200 140ms - 87b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element

info: Pushing command to appium work queue: "au.mainApp().getTreeForXML()"

debug: Request received with params: {"using":"xpath","value":"//UIAStaticText[contains(@name,"Total")]"}
debug: Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Socket data received (8168 bytes)

info: [INSTSERVER] Socket data received (2256 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":"{"UIAApplication":{"@":{"name":"Goibibo","label":"Goibibo","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":0,"width":320,"height":568},">":[{"UIAWindow":{"@":{"name":null,"label":n

info: Pushing command to appium work queue: "au.getElementByIndexPath('/0/0/1/6/0')"

debug: Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Socket data received (62 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":{"ELEMENT":"37"}}

info: Responding to client with success: {"status":0,"value":{"ELEMENT":"37"},"sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
POST /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element 200 406ms - 110b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text

info: Pushing command to appium work queue: "au.getElement('37').text()"

debug: Request received with params: {}
debug: Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Socket data received (48 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event

info: [INSTSERVER] Got result from instruments: {"status":0,"value":""}
info: Responding to client with success: {"status":0,"value":"","sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
GET /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text 200 140ms - 87b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element

info: Pushing command to appium work queue: "au.mainApp().getTreeForXML()"

debug: Request received with params: {"using":"xpath","value":"//UIAStaticText[contains(@name,"Total")]"}
debug: Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Socket data received (8168 bytes)

info: [INSTSERVER] Socket data received (2256 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":"{"UIAApplication":{"@":{"name":"Goibibo","label":"Goibibo","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":0,"width":320,"height":568},">":[{"UIAWindow":{"@":{"name":null,"label":n

info: Pushing command to appium work queue: "au.getElementByIndexPath('/0/0/1/6/0')"

debug: Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Socket data received (62 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":{"ELEMENT":"37"}}

info: Responding to client with success: {"status":0,"value":{"ELEMENT":"37"},"sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
POST /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element 200 406ms - 110b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text

info: Pushing command to appium work queue: "au.getElement('37').text()"

debug: Request received with params: {}
debug: Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Socket data received (48 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event

info: [INSTSERVER] Got result from instruments: {"status":0,"value":""}
info: Responding to client with success: {"status":0,"value":"","sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
GET /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text 200 140ms - 87b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element

info: Pushing command to appium work queue: "au.mainApp().getTreeForXML()"

debug: Request received with params: {"using":"xpath","value":"//UIAStaticText[contains(@name,"Total")]"}
debug: Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Socket data received (8168 bytes)

info: [INSTSERVER] Socket data received (2256 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":"{"UIAApplication":{"@":{"name":"Goibibo","label":"Goibibo","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":0,"width":320,"height":568},">":[{"UIAWindow":{"@":{"name":null,"label":n

info: Pushing command to appium work queue: "au.getElementByIndexPath('/0/0/1/6/0')"

debug: Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Socket data received (62 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":{"ELEMENT":"37"}}

info: Responding to client with success: {"status":0,"value":{"ELEMENT":"37"},"sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
POST /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element 200 406ms - 110b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text

info: Pushing command to appium work queue: "au.getElement('37').text()"

debug: Request received with params: {}
debug: Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Socket data received (48 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event

info: [INSTSERVER] Got result from instruments: {"status":0,"value":""}
info: Responding to client with success: {"status":0,"value":"","sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
GET /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text 200 140ms - 87b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element

info: Pushing command to appium work queue: "au.mainApp().getTreeForXML()"

debug: Request received with params: {"using":"xpath","value":"//UIAStaticText[contains(@name,"Total")]"}
debug: Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Socket data received (8168 bytes)

info: [INSTSERVER] Socket data received (2256 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":"{"UIAApplication":{"@":{"name":"Goibibo","label":"Goibibo","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":0,"width":320,"height":568},">":[{"UIAWindow":{"@":{"name":null,"label":n

info: Pushing command to appium work queue: "au.getElementByIndexPath('/0/0/1/6/0')"

debug: Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Socket data received (62 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":{"ELEMENT":"37"}}

info: Responding to client with success: {"status":0,"value":{"ELEMENT":"37"},"sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
POST /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element 200 406ms - 110b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text

info: Pushing command to appium work queue: "au.getElement('37').text()"

debug: Request received with params: {}
debug: Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Socket data received (48 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event

info: [INSTSERVER] Got result from instruments: {"status":0,"value":""}
info: Responding to client with success: {"status":0,"value":"","sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
GET /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text 200 140ms - 87b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element

info: Pushing command to appium work queue: "au.mainApp().getTreeForXML()"

debug: Request received with params: {"using":"xpath","value":"//UIAStaticText[contains(@name,"Total")]"}
debug: Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Socket data received (8168 bytes)

info: [INSTSERVER] Socket data received (2256 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":"{"UIAApplication":{"@":{"name":"Goibibo","label":"Goibibo","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":0,"width":320,"height":568},">":[{"UIAWindow":{"@":{"name":null,"label":n

info: Pushing command to appium work queue: "au.getElementByIndexPath('/0/0/1/6/0')"

debug: Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Socket data received (62 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":{"ELEMENT":"37"}}

info: Responding to client with success: {"status":0,"value":{"ELEMENT":"37"},"sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
POST /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element 200 406ms - 110b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text

info: Pushing command to appium work queue: "au.getElement('37').text()"

debug: Request received with params: {}
debug: Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Socket data received (48 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event

info: [INSTSERVER] Got result from instruments: {"status":0,"value":""}
info: Responding to client with success: {"status":0,"value":"","sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
GET /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text 200 140ms - 87b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element

info: Pushing command to appium work queue: "au.mainApp().getTreeForXML()"

debug: Request received with params: {"using":"xpath","value":"//UIAStaticText[contains(@name,"Total")]"}
debug: Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Socket data received (8168 bytes)

info: [INSTSERVER] Socket data received (2256 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":"{"UIAApplication":{"@":{"name":"Goibibo","label":"Goibibo","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":0,"width":320,"height":568},">":[{"UIAWindow":{"@":{"name":null,"label":n

info: Pushing command to appium work queue: "au.getElementByIndexPath('/0/0/1/6/0')"

debug: Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Socket data received (62 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":{"ELEMENT":"37"}}

info: Responding to client with success: {"status":0,"value":{"ELEMENT":"37"},"sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
POST /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element 200 406ms - 110b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text

info: Pushing command to appium work queue: "au.getElement('37').text()"

debug: Request received with params: {}
debug: Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Socket data received (48 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event

info: [INSTSERVER] Got result from instruments: {"status":0,"value":""}
info: Responding to client with success: {"status":0,"value":"","sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
GET /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text 200 140ms - 87b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element

info: Pushing command to appium work queue: "au.mainApp().getTreeForXML()"

debug: Request received with params: {"using":"xpath","value":"//UIAStaticText[contains(@name,"Total")]"}
debug: Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Socket data received (8168 bytes)

info: [INSTSERVER] Socket data received (2256 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":"{"UIAApplication":{"@":{"name":"Goibibo","label":"Goibibo","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":0,"width":320,"height":568},">":[{"UIAWindow":{"@":{"name":null,"label":n

info: Pushing command to appium work queue: "au.getElementByIndexPath('/0/0/1/6/0')"

debug: Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Socket data received (62 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":{"ELEMENT":"37"}}

info: Responding to client with success: {"status":0,"value":{"ELEMENT":"37"},"sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
POST /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element 200 406ms - 110b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text

info: Pushing command to appium work queue: "au.getElement('37').text()"

debug: Request received with params: {}
debug: Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Socket data received (48 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event

info: [INSTSERVER] Got result from instruments: {"status":0,"value":""}
info: Responding to client with success: {"status":0,"value":"","sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
GET /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text 200 140ms - 87b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element

info: Pushing command to appium work queue: "au.mainApp().getTreeForXML()"

debug: Request received with params: {"using":"xpath","value":"//UIAStaticText[contains(@name,"Total")]"}
debug: Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Socket data received (8168 bytes)

info: [INSTSERVER] Socket data received (2256 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":"{"UIAApplication":{"@":{"name":"Goibibo","label":"Goibibo","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":0,"width":320,"height":568},">":[{"UIAWindow":{"@":{"name":null,"label":n

info: Pushing command to appium work queue: "au.getElementByIndexPath('/0/0/1/6/0')"

debug: Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Socket data received (62 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":{"ELEMENT":"37"}}

info: Responding to client with success: {"status":0,"value":{"ELEMENT":"37"},"sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
POST /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element 200 406ms - 110b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text

info: Pushing command to appium work queue: "au.getElement('37').text()"

debug: Request received with params: {}
debug: Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Socket data received (48 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event

info: [INSTSERVER] Got result from instruments: {"status":0,"value":""}
info: Responding to client with success: {"status":0,"value":"","sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
GET /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text 200 140ms - 87b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element

info: Pushing command to appium work queue: "au.mainApp().getTreeForXML()"

debug: Request received with params: {"using":"xpath","value":"//UIAStaticText[contains(@name,"Total")]"}
debug: Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Socket data received (8168 bytes)

info: [INSTSERVER] Socket data received (2256 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":"{"UIAApplication":{"@":{"name":"Goibibo","label":"Goibibo","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":0,"width":320,"height":568},">":[{"UIAWindow":{"@":{"name":null,"label":n

info: Pushing command to appium work queue: "au.getElementByIndexPath('/0/0/1/6/0')"

debug: Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Socket data received (62 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":{"ELEMENT":"37"}}

info: Responding to client with success: {"status":0,"value":{"ELEMENT":"37"},"sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
POST /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element 200 406ms - 110b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text

info: Pushing command to appium work queue: "au.getElement('37').text()"

debug: Request received with params: {}
debug: Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Socket data received (48 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event

info: [INSTSERVER] Got result from instruments: {"status":0,"value":""}
info: Responding to client with success: {"status":0,"value":"","sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
GET /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text 200 140ms - 87b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element

info: Pushing command to appium work queue: "au.mainApp().getTreeForXML()"

debug: Request received with params: {"using":"xpath","value":"//UIAStaticText[contains(@name,"Total")]"}
debug: Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Socket data received (8168 bytes)

info: [INSTSERVER] Socket data received (2256 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":"{"UIAApplication":{"@":{"name":"Goibibo","label":"Goibibo","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":0,"width":320,"height":568},">":[{"UIAWindow":{"@":{"name":null,"label":n

info: Pushing command to appium work queue: "au.getElementByIndexPath('/0/0/1/6/0')"

debug: Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Socket data received (62 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":{"ELEMENT":"37"}}

info: Responding to client with success: {"status":0,"value":{"ELEMENT":"37"},"sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
POST /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element 200 406ms - 110b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text

info: Pushing command to appium work queue: "au.getElement('37').text()"

debug: Request received with params: {}
debug: Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Socket data received (48 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event

info: [INSTSERVER] Got result from instruments: {"status":0,"value":""}
info: Responding to client with success: {"status":0,"value":"","sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
GET /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text 200 140ms - 87b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element

info: Pushing command to appium work queue: "au.mainApp().getTreeForXML()"

debug: Request received with params: {"using":"xpath","value":"//UIAStaticText[contains(@name,"Total")]"}
debug: Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Socket data received (8168 bytes)

info: [INSTSERVER] Socket data received (2256 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":"{"UIAApplication":{"@":{"name":"Goibibo","label":"Goibibo","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":0,"width":320,"height":568},">":[{"UIAWindow":{"@":{"name":null,"label":n

info: Pushing command to appium work queue: "au.getElementByIndexPath('/0/0/1/6/0')"

debug: Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Socket data received (62 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":{"ELEMENT":"37"}}

info: Responding to client with success: {"status":0,"value":{"ELEMENT":"37"},"sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
POST /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element 200 406ms - 110b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text

info: Pushing command to appium work queue: "au.getElement('37').text()"

debug: Request received with params: {}
debug: Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Socket data received (48 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event

info: [INSTSERVER] Got result from instruments: {"status":0,"value":""}
info: Responding to client with success: {"status":0,"value":"","sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
GET /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text 200 140ms - 87b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element

info: Pushing command to appium work queue: "au.mainApp().getTreeForXML()"

debug: Request received with params: {"using":"xpath","value":"//UIAStaticText[contains(@name,"Total")]"}
debug: Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Socket data received (8168 bytes)

info: [INSTSERVER] Socket data received (2256 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":"{"UIAApplication":{"@":{"name":"Goibibo","label":"Goibibo","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":0,"width":320,"height":568},">":[{"UIAWindow":{"@":{"name":null,"label":n

info: Pushing command to appium work queue: "au.getElementByIndexPath('/0/0/1/6/0')"

debug: Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Socket data received (62 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":{"ELEMENT":"37"}}

info: Responding to client with success: {"status":0,"value":{"ELEMENT":"37"},"sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
POST /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element 200 406ms - 110b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text

info: Pushing command to appium work queue: "au.getElement('37').text()"

debug: Request received with params: {}
debug: Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Socket data received (48 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event

info: [INSTSERVER] Got result from instruments: {"status":0,"value":""}
info: Responding to client with success: {"status":0,"value":"","sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
GET /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text 200 140ms - 87b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element

info: Pushing command to appium work queue: "au.mainApp().getTreeForXML()"

debug: Request received with params: {"using":"xpath","value":"//UIAStaticText[contains(@name,"Total")]"}
debug: Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Socket data received (8168 bytes)

info: [INSTSERVER] Socket data received (2256 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":"{"UIAApplication":{"@":{"name":"Goibibo","label":"Goibibo","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":0,"width":320,"height":568},">":[{"UIAWindow":{"@":{"name":null,"label":n

info: Pushing command to appium work queue: "au.getElementByIndexPath('/0/0/1/6/0')"

debug: Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Socket data received (62 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":{"ELEMENT":"37"}}

info: Responding to client with success: {"status":0,"value":{"ELEMENT":"37"},"sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
POST /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element 200 406ms - 110b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text

info: Pushing command to appium work queue: "au.getElement('37').text()"

debug: Request received with params: {}
debug: Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Socket data received (48 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event

info: [INSTSERVER] Got result from instruments: {"status":0,"value":""}
info: Responding to client with success: {"status":0,"value":"","sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
GET /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text 200 140ms - 87b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element

info: Pushing command to appium work queue: "au.mainApp().getTreeForXML()"

debug: Request received with params: {"using":"xpath","value":"//UIAStaticText[contains(@name,"Total")]"}
debug: Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Socket data received (8168 bytes)

info: [INSTSERVER] Socket data received (2256 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":"{"UIAApplication":{"@":{"name":"Goibibo","label":"Goibibo","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":0,"width":320,"height":568},">":[{"UIAWindow":{"@":{"name":null,"label":n

info: Pushing command to appium work queue: "au.getElementByIndexPath('/0/0/1/6/0')"

debug: Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Socket data received (62 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":{"ELEMENT":"37"}}

info: Responding to client with success: {"status":0,"value":{"ELEMENT":"37"},"sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
POST /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element 200 406ms - 110b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text

info: Pushing command to appium work queue: "au.getElement('37').text()"

debug: Request received with params: {}
debug: Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Socket data received (48 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event

info: [INSTSERVER] Got result from instruments: {"status":0,"value":""}
info: Responding to client with success: {"status":0,"value":"","sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
GET /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text 200 140ms - 87b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element

info: Pushing command to appium work queue: "au.mainApp().getTreeForXML()"

debug: Request received with params: {"using":"xpath","value":"//UIAStaticText[contains(@name,"Total")]"}
debug: Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Socket data received (8168 bytes)

info: [INSTSERVER] Socket data received (2256 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":"{"UIAApplication":{"@":{"name":"Goibibo","label":"Goibibo","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":0,"width":320,"height":568},">":[{"UIAWindow":{"@":{"name":null,"label":n

info: Pushing command to appium work queue: "au.getElementByIndexPath('/0/0/1/6/0')"

debug: Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Socket data received (62 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":{"ELEMENT":"37"}}

info: Responding to client with success: {"status":0,"value":{"ELEMENT":"37"},"sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
POST /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element 200 406ms - 110b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text

info: Pushing command to appium work queue: "au.getElement('37').text()"

debug: Request received with params: {}
debug: Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Socket data received (48 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event

info: [INSTSERVER] Got result from instruments: {"status":0,"value":""}
info: Responding to client with success: {"status":0,"value":"","sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
GET /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text 200 140ms - 87b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element

info: Pushing command to appium work queue: "au.mainApp().getTreeForXML()"

debug: Request received with params: {"using":"xpath","value":"//UIAStaticText[contains(@name,"Total")]"}
debug: Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Sending command to instruments: au.mainApp().getTreeForXML()

info: [INSTSERVER] Socket data received (8168 bytes)

info: [INSTSERVER] Socket data received (2256 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":"{"UIAApplication":{"@":{"name":"Goibibo","label":"Goibibo","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":0,"width":320,"height":568},">":[{"UIAWindow":{"@":{"name":null,"label":n

info: Pushing command to appium work queue: "au.getElementByIndexPath('/0/0/1/6/0')"

debug: Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Socket data received (62 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":{"ELEMENT":"37"}}

info: Responding to client with success: {"status":0,"value":{"ELEMENT":"37"},"sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
POST /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element 200 406ms - 110b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text

info: Pushing command to appium work queue: "au.getElement('37').text()"

debug: Request received with params: {}
debug: Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Socket data received (48 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event

info: [INSTSERVER] Got result from instruments: {"status":0,"value":""}
info: Responding to client with success: {"status":0,"value":"","sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
GET /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text 200 140ms - 87b
info: Pushing command to appium work queue: "au.mainApp().getTreeForXML()"
debug: Request received with params: {"using":"xpath","value":"//UIAStaticText[contains(@name,"Total")]"}
debug: Sending command to instruments: au.mainApp().getTreeForXML()
info: [INSTSERVER] Sending command to instruments: au.mainApp().getTreeForXML()
info: [INSTSERVER] Socket data received (8168 bytes)

info: [INSTSERVER] Socket data received (2256 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":"{"UIAApplication":{"@":{"name":"Goibibo","label":"Goibibo","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":0,"width":320,"height":568},">":[{"UIAWindow":{"@":{"name":null,"label":n

info: Pushing command to appium work queue: "au.getElementByIndexPath('/0/0/1/6/0')"

debug: Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Sending command to instruments: au.getElementByIndexPath('/0/0/1/6/0')

info: [INSTSERVER] Socket data received (62 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":{"ELEMENT":"37"}}

info: Responding to client with success: {"status":0,"value":{"ELEMENT":"37"},"sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
POST /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element 200 406ms - 110b

debug: Appium request initiated at /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text

info: Pushing command to appium work queue: "au.getElement('37').text()"

debug: Request received with params: {}
debug: Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Sending command to instruments: au.getElement('37').text()

info: [INSTSERVER] Socket data received (48 bytes)

info: [INSTSERVER] Socket data being routed for 'cmd' event

info: [INSTSERVER] Got result from instruments: {"status":0,"value":""}
info: Responding to client with success: {"status":0,"value":"","sessionId":"c44aabe1-b7fc-4459-a595-dbd5777c1cc4"}
GET /wd/hub/session/c44aabe1-b7fc-4459-a595-dbd5777c1cc4/element/37/text 200 140ms - 87b

screen shot 2014-06-10 at 6 06 50 pm
screen shot 2014-06-10 at 6 08 32 pm

@p00j4 p00j4 changed the title webdriver getText is not working IOS: webdriver getText is not working for UIAStaticText Jun 10, 2014
@moizjv moizjv added this to the Appium 1.2 milestone Jun 10, 2014
@jlipps jlipps removed this from the Appium 1.2 milestone Jun 10, 2014
@jlipps
Copy link
Member

jlipps commented Jun 10, 2014

Sometimes the text is indeed ''. Did you also try getAttribute('label'), getAttribute('value'), and getAttribute('name')?

@p00j4
Copy link
Author

p00j4 commented Jun 11, 2014

Ah! my bad, getting via attribute works for this component, thanks Jlipps, but i'm still wondering why direct xpath did not work for the same!
Also, is there any way to read the image's attribute (in screenshot "air india's" image's attribute)?
because in the text returned that image and its attributes are ignored even while inspecting
imageattr

@jlipps
Copy link
Member

jlipps commented Jun 12, 2014

Is the image element present in the inspector / source? Does it have any of its own attributes? If not, you might be dealing with a custom control, and you won't be able to see inside of it.

@jlipps jlipps closed this as completed Jun 12, 2014
@lock
Copy link

lock bot commented May 3, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators May 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants