Please find the logs of appium server
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 have tried with different api.
accessPointNameAccessId = EcoNet-DC85DEB14184
- driver.findElementByAccessibilityId(locatorIOS.getProperty(âaccessPointNameAccessIdâ));
-
TouchAction action = new TouchAction(driver);
action.tap(driver.findElementByAccessibilityId(locatorIOS.getProperty(âaccessPointNameAccessIdâ)));
action.perform();
action.release();
-
driver.tap(1,driver.findElementByAccessibilityId(locatorIOS.getProperty(âaccessPointNameAccessIdâ)),1);