RamS
July 4, 2015, 2:49pm
5
Gunjan:
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTIONinfo: [debug] [BOOTSTRAP] [debug] Got command action: findinfo: [debug] [BOOTSTRAP] [debug] Finding Next using NAME with the contextId: multiple: falseinfo: [debug] [BOOTSTRAP] [debug] Using: UiSelector[DESCRIPTION=Next, INSTANCE=0]info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[TEXT=Next, INSTANCE=0]info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:{“ELEMENT”:“8”},“status”:0}info: [debug] Responding to client with success: {“status”:0,“value”:{“ELEMENT”:“8”},“sessionId”:“c387c7cd-df7a-4ee1-acad-ed49ce6f6d75”}info: <– POST /wd/hub/session/c387c7cd-df7a-4ee1-acad-ed49ce6f6d75/element 200 9787.686 ms - 87 {“status”:0,“value”:{“ELEMENT”:“8”},“sessionId”:“c387c7cd-df7a-4ee1-acad-ed49ce6f6d75”}info: –> POST /wd/hub/session/c387c7cd-df7a-4ee1-acad-ed49ce6f6d75/element/8/click {“id”:“8”}info: [debug] Pushing command to appium work queue: [“element:click”,{“elementId”:“8”}]info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”:“element:click”,“params”:{“elementId”:“8”}}info: [debug] [BOOTSTRAP] [debug] Got command of type ACTIONinfo: [debug] [BOOTSTRAP] [debug] Got command action: clickinfo: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:true,“status”:0}info: [debug] Responding to client with success: {“status”:0,“value”:true,“sessionId”:“c387c7cd-df7a-4ee1-acad-ed49ce6f6d75”}
As per this part of your logs, Next button is detected and click action is performed.
Gunjan:
info: [debug] [BOOTSTRAP] [debug] Finding All wheels are mounted and tires are inflated. using NAME with the contextId: multiple: falseinfo: [debug] [BOOTSTRAP] [debug] Using: UiSelector[DESCRIPTION=All wheels are mounted and tires are inflated., INSTANCE=0]info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[TEXT=All wheels are mounted and tires are inflated., INSTANCE=0]info: [debug] [BOOTSTRAP] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
Finding “All wheels are mounted and tires are inflated.” is failing. In the screenshots you provided, I could not see where it comes. If its the text in the slide animation you are mentioning, can you make sure texts exactly match. Other way is, try to find partial text -
More details on UISelector object can be found in this post - Unable to click on button using UiSelector - #6 by Anish_ohri
Ex : findElementByAndroidUIAutomator(“new UiSelector().textContains("”+partialtext+“")”)