python - Cannot click on Login using Appium ,Can click manually -


appium 1.5.0 xcode  7.3 ios 10.11.4 osx ei capitan using on:simulator ios 8.1 

facing strange issue.i can click via touchpad not through appium .

appium logs:

[debug] [instruments] [inst] 2016-04-19 04:30:54 +0000 debug: got new command 14 instruments: au.tapbyid('3') [debug] [instruments] [inst] 2016-04-19 04:30:54 +0000 debug: evaluating au.tapbyid('3') [debug] [instruments] [inst] 2016-04-19 04:30:54 +0000 debug: uiabutton.tap() [debug] [instruments] [inst] 2016-04-19 04:30:54 +0000 debug: uiabutton.scrolltovisible() [ioslog] [ios_syslog_row] apr 19 10:00:54 macbook.local securityd[29291]:  sectaskcopyaccessgroups no keychain access group specified whilst running in simulator, falling default set [ioslog] [ios_syslog_row] apr 19 10:00:54 macbook.local tt mobile[29305]: *** -[nskeyedunarchiver initforreadingwithdata:]: data empty; did forget send -finishencoding nskeyedarchiver? [ioslog] [ios_syslog_row] apr 19 10:00:54 macbook.local securityd[29291]:  sectaskcopyaccessgroups no keychain access group specified whilst running in simulator, falling default set [debug] [instruments] [inst] 2016-04-19 04:30:54 +0000 debug: evaluation finished [debug] [instruments] [inst] 2016-04-19 04:30:54 +0000 debug: responding with: [debug] [instruments] [inst] 2016-04-19 04:30:54 +0000 debug: running system command #15: /usr/local/bin/node /usr/local/lib/node_modules/appium/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js /var/folders/4x/vy1bbyh92l9czkyswl5wypt80000gn/t/instruments_sock 2,{"status":0,"value":""}... [debug] [uiauto] socket data received (25 bytes) [debug] [uiauto] got result instruments: {"status":0,"value":""} [mjsonwp] responding client driver.click() result: null [http] <-- post /wd/hub/session/3957fc67-82da-4e57-b920-005ee0228cd7/element/3/click 200 1231 ms - 76  [http] --> post /wd/hub/session/3957fc67-82da-4e57-b920-005ee0228cd7/element  [mjsonwp] calling appiumdriver.findelement() args: ["id","log in","3957fc67-82da-4e57-b920-005ee0228cd7"] [debug] [ios] executing ios command 'findelement' [debug] [basedriver] waiting 60000 ms condition [debug] [uiauto] sending command instruments: au.getelementbyaccessibilityid('log in') [ioslog] [ios_syslog_row] apr 19 10:00:55 macbook.local lsd[29289]: launchservices: 0 installed placeholders: ( [ioslog] [ios_syslog_row] ) [debug] [instruments] [inst] 2016-04-19 04:30:55 +0000 debug: got new command 15 instruments: au.getelementbyaccessibilityid('log in') [debug] [instruments] [inst] 2016-04-19 04:30:55 +0000 debug: evaluating au.getelementbyaccessibilityid('log in') [debug] [instruments] [inst] 2016-04-19 04:30:55 +0000 debug: evaluation finished [debug] [instruments] [inst] 2016-04-19 04:30:55 +0000 debug: lookup returned [object uiabutton] name "log in" (id: 4). [debug] [instruments] [inst] 2016-04-19 04:30:55 +0000 debug: responding with: [debug] [instruments] [inst] 2016-04-19 04:30:55 +0000 debug: running system command #16: /usr/local/bin/node /usr/local/lib/node_modules/appium/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js /var/folders/4x/vy1bbyh92l9czkyswl5wypt80000gn/t/instruments_sock 2,{"status":0,"value":{"element":"4"}}... [debug] [uiauto] socket data received (38 bytes) [debug] [uiauto] got result instruments: {"status":0,"value":{"element":"4"}} [mjsonwp] responding client driver.findelement() result: {"element":"4"} [http] <-- post /wd/hub/session/3957fc67-82da-4e57-b920-005ee0228cd7/element 200 1344 ms - 87  [http] --> post /wd/hub/session/3957fc67-82da-4e57-b920-005ee0228cd7/element/4/click  [mjsonwp] calling appiumdriver.click() args: ["4","3957fc67-82da-4e57-b920-005ee0228cd7"] [debug] [ios] executing ios command 'click' [debug] [uiauto] sending command instruments: au.tapbyid('4') [debug] [instruments] [inst] 2016-04-19 04:30:56 +0000 debug: got new command 16 instruments: au.tapbyid('4') [debug] [instruments] [inst] 2016-04-19 04:30:56 +0000 debug: evaluating au.tapbyid('4') [debug] [instruments] [inst] 2016-04-19 04:30:56 +0000 debug: uiabutton.tap() [debug] [instruments] [inst] 2016-04-19 04:30:57 +0000 debug: evaluation finished [debug] [instruments] [inst] 2016-04-19 04:30:57 +0000 debug: responding with: [debug] [instruments] [inst] 2016-04-19 04:30:57 +0000 debug: running system command #17: /usr/local/bin/node /usr/local/lib/node_modules/appium/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js /var/folders/4x/vy1bbyh92l9czkyswl5wypt80000gn/t/instruments_sock 2,{"status":0,"value":""}... [debug] [uiauto] socket data received (25 bytes) [debug] [uiauto] got result instruments: {"status":0,"value":""} [mjsonwp] responding client driver.click() result: null [http] <-- post /wd/hub/session/3957fc67-82da-4e57-b920-005ee0228cd7/element/4/click 200 1164 ms - 76  [http] --> post /wd/hub/session/3957fc67-82da-4e57-b920-005ee0228cd7/element 

xml of app

<?xml version="1.0" encoding="utf-8"?>      <appiumaut>          <uiaapplication name="tt mobile α" label="tt mobile α" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0" x="0" y="20" width="320" height="548">              <uiawindow name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0" x="0" y="0" width="320" height="568">                  <uiaimage name="bg-login" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/0" x="0" y="0" width="320" height="568">                  </uiaimage>                  <uiatextfield name="" label="" value="email address" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/1" x="27.5" y="178" width="265" height="40">                      <uiatextfield name="" label="" value="email address" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/1/0" x="27.5" y="178" width="265" height="40">                      </uiatextfield>                  </uiatextfield>                  <uiasecuretextfield name="" label="" value="password" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/2" x="27.5" y="218" width="265" height="40">                      <uiasecuretextfield name="" label="" value="password" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/2/0" x="27.5" y="218" width="265" height="40">                      </uiasecuretextfield>                  </uiasecuretextfield>                  <uiabutton name="unchecked" label="unchecked" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/3" x="27.5" y="280" width="28" height="25.5">                  </uiabutton>                  <uiastatictext name="remember me" label="remember me" value="remember me" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/4" x="59.5" y="282.5" width="110" height="21">                  </uiastatictext>                  <uiabutton name="forgot password?" label="forgot password?" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/5" x="186.5" y="282.5" width="106" height="21">                  </uiabutton>                  <uiabutton name="log in" label="log in" value="" dom="" enabled="false" valid="true" visible="true" hint="" path="/0/0/6" x="27.5" y="341" width="265" height="43">                  </uiabutton>                  <uiaactivityindicator name="in progress" label="in progress" value="1" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/0/7" x="150" y="352.5" width="20" height="20">                      <uiaimage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/0/7/0" x="150" y="352.5" width="20" height="20">                      </uiaimage>                  </uiaactivityindicator>                  <uiastatictext name="don&apos;t have id?" label="don&apos;t have id?" value="don&apos;t have id?" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/8" x="27.5" y="396" width="151" height="24">                  </uiastatictext>                  <uiabutton name="sign up" label="sign up" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/9" x="183.5" y="396.5" width="78" height="23.5">                  </uiabutton>                  <uiabutton name="demo" label="demo" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/10" x="27.5" y="485" width="265" height="33">                  </uiabutton>                  <uiaimage name="login-ttmobile" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/11" x="34" y="71" width="252" height="34">                  </uiaimage>                  <uiastatictext name="two-factor authentication" label="two-factor authentication" value="two-factor authentication" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/0/12" x="28" y="154" width="264" height="21">                  </uiastatictext>                  <uiasecuretextfield name="" label="" value="enter code" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/0/13" x="27.5" y="250" width="265" height="40">                      <uiasecuretextfield name="" label="" value="enter code" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/0/13/0" x="27.5" y="250" width="265" height="40">                      </uiasecuretextfield>                  </uiasecuretextfield>                  <uiabutton name="verify" label="verify" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/0/14" x="27.5" y="314" width="265" height="43">                      <uiastatictext name="verify" label="verify" value="verify" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/0/14/0" x="125.5" y="321" width="68" height="29">                      </uiastatictext>                  </uiabutton>                  <uiaactivityindicator name="in progress" label="in progress" value="1" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/0/15" x="150" y="325.5" width="20" height="20">                  </uiaactivityindicator>                  <uiabutton name="unchecked" label="unchecked" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/0/16" x="27.5" y="372" width="28" height="25.5">                      <uiaimage name="unchecked.png" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/0/16/0" x="29" y="373.5" width="24.5" height="22">                      </uiaimage>                  </uiabutton>                  <uiastatictext name="remember device 30 days" label="remember device 30 days" value="remember device 30 days" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/0/17" x="59.5" y="374.5" width="233" height="21">                  </uiastatictext>                  <uiabutton name="back" label="back" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/0/18" x="27.5" y="445.5" width="102" height="30">                      <uiaimage name="icon-swipeleft.png" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/0/18/0" x="27.5" y="452.5" width="9.5" height="15.5">                      </uiaimage>                      <uiastatictext name="back" label="back" value="back" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/0/18/1" x="44" y="451.5" width="35" height="18">                      </uiastatictext>                  </uiabutton>                  <uiabutton name="request new code" label="request new code" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/0/19" x="186.5" y="450" width="106" height="21">                      <uiastatictext name="request new code" label="request new code" value="request new code" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/0/19/0" x="187.5" y="451" width="105" height="18">                      </uiastatictext>                  </uiabutton>              </uiawindow>              <uiawindow name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/1" x="0" y="0" width="320" height="568">                  <uiastatusbar name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/1/0" x="0" y="0" width="320" height="20">                      <uiaelement name="swipe down 3 fingers reveal notification center., swipe 3 fingers reveal control center, double-tap scroll top" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="swipe down 3 fingers reveal notification center., swipe 3 fingers reveal control center, double-tap scroll top" path="/0/1/0/0" x="6" y="0" width="38" height="20">                      </uiaelement>                      <uiaelement name="3 of 3 wi-fi bars" label="3 of 3 wi-fi bars" value="" dom="" enabled="true" valid="true" visible="true" hint="swipe down 3 fingers reveal notification center., swipe 3 fingers reveal control center, double-tap scroll top" path="/0/1/0/1" x="49" y="0" width="13" height="20">                      </uiaelement>                      <uiaelement name="10:19 am" label="10:19 am" value="" dom="" enabled="true" valid="true" visible="true" hint="swipe down 3 fingers reveal notification center., swipe 3 fingers reveal control center, double-tap scroll top" path="/0/1/0/2" x="135" y="0" width="50" height="20">                      </uiaelement>                      <uiaelement name="100% battery power" label="100% battery power" value="" dom="" enabled="true" valid="true" visible="true" hint="swipe down 3 fingers reveal notification center., swipe 3 fingers reveal control center, double-tap scroll top" path="/0/1/0/3" x="290" y="0" width="25" height="20">                      </uiaelement>                  </uiastatusbar>              </uiawindow>          </uiaapplication>      </appiumaut>

some logs not decipher:

[ios_syslog_row] apr 19 10:00:40 macbook com.apple.coresimulator.simdevice.55bbce9d-8f75-47dc-bc87-3dd28fb4f874.launchd_sim[29262] (com.apple.imfoundation.imremoteurlconnectionagent): _dirtyjetsammemorylimit key not available on platform.  [ioslog] [ios_syslog_row] apr 19 10:00:41 macbook.local filecoordinationd[29326]: (error) fileprovider: not load bundle com.apple.clouddocsfileprovider. error: bundle “clouddocsfileprovider” couldn’t loaded because damaged or missing necessary resources.  [ioslog] [ios_syslog_row] apr 19 10:00:54 macbook.local securityd[29291]:  sectaskcopyaccessgroups no keychain access group specified whilst running in simulator, falling default set [ioslog] [ios_syslog_row] apr 19 10:00:54 macbook.local tt mobile[29305]: *** -[nskeyedunarchiver initforreadingwithdata:]: data empty; did forget send -finishencoding nskeyedarchiver? [ioslog] [ios_syslog_row] apr 19 10:00:54 macbook.local securityd[29291]:  sectaskcopyaccessgroups no keychain access group specified whilst running in simulator, falling default set 

any clues or help?

build created using xcode arch i386

i using set_value on ios password not use keyboard.the log in button disabled until there text in password field.so somehow set_value not generating event.problem solved using send_keys uses keyboard.


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -