I want to select Wifi from Setting Screen.
In my application when I click on the button to connect access point ,Setting screen is opened and when I select the wifi access point using accessibility id then Exception of No Such element is generated.
So can any one help me how to handle the driver between my application and setting screen.
I am just clicking on the button âOpen Settingâ in iOS Application and default Wifi setting Screen of iOS is opened which contain list of wifi connection.
@Telmo_Cardoso Is switching between different native apps supported in appium? I thought it was a not supported[Read somewhere for uiautomation. Not sure about xcuitest]. At-least not between two native applications. If it is between a native and web, yeah it is fine. Please let me know if i am wrong here. I too have many scenarios like this.
sing":âaccessibility idâ,âvalueâ:âEcoNet-DC85DEB14184â}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: [âaccessibility idâ,âEcoNet-DC85DEB14184â,â6963af98-7f5e-49da-a5d5-10f220ea94d3â]
[debug] [XCUITest] Executing command âfindElementâ
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/4E9C5BE5-DDF2-4245-87AF-A855FC297751/element] with body: {âusingâ:âaccessibility idâ,âvalueâ:âEcoNet-DC85DEB14184â}
[debug] [JSONWP Proxy] Got response with status 200: {âvalueâ:{âusingâ:âaccessibility idâ,âvalueâ:âEcoNet-DC85DEB14184â,âdescriptionâ:âunable to find an elementâ},âsessionIdâ:â4E9C5BE5-DDF2-4245-87AF-A855FC297751â,âstatusâ:7}
[HTTP] <-- POST /wd/hub/session/6963af98-7f5e-49da-a5d5-10f220ea94d3/element 500
I just tested same query on same page and it works properly for me. You have no wait, so make sure you are on the page you want before doing the query.
Have you trying debugging with IDE? And if nothing appears, check whats being returned in driver.getPageSource()
I just used your driver.findElementByAccessibilityId⌠didnât had time to look at your logs⌠if you think its a bug open issue with ALL information in https://github.com/appium/appium/issues