Selecting correct XPath

Hi @rini,
You forgot to attach the uiautomatorviewer screenshot.
Is the “Purpose of Call*” a spinner? In this case you might to interact in a different way.

extrem)y sorry about that Screenshot from 2017-08-01 10-32-37|690x387

.

if it is possible could you please provide me piece of code

Hi @Massanori_Takaki

No it is not a spinner

Hi @rini,
I was looking your code, and it seems to be fine. Sometime the swipe execution needs a wait to finish.
Try to use the TouchAction instead of Driver.swipe. Here’s some example:

TouchAction touch = new TouchAction(dr);
touch.press(0,0).moveTo(0, 20).waitAction(Duration.ofMillis(500)).release().perform();

Have you tried to debug the execution? While debugging does it work?

no it is not working

@Massanori_Takaki

can you please tell me how could we configure this screen which is having all task bar

actually when i am opening appium i got this screen having only stop and start server option their is not showing android icon mac icon , inspector

actually previously iam working on linux so no need appium tool but right now i am switching on ios platform so i faced this problem .

one more help i neede if you have any simple code of example in ios which is wrote on eclipse then please provide it is really very helpful for me

thankyou

Hi @rini,
I didn’t see the previous reply, for that other problem I have no clue. It’s hard to figure it out without seeing the device’s behaviour.
About your last comment, can you try to upload again the screenshots, because I can’t see.


For iOS and Android the git Java-Client provides plent of examples. Have a look on this https://github.com/appium/java-client/tree/master/src/test/java/io/appium/java_client
I would suggest you to look at java-client/src/test/java/io/appium/java_client/ios/AppXCUITTest.java, it should support from iOS 9 to iOS 10. And this is the test file https://github.com/appium/java-client/blob/master/src/test/java/io/appium/java_client/ios/XCUIAutomationTest.java


it requires the facebook WebDriver, the setup it’s a little more tricky check this https://github.com/appium/appium-xcuitest-driver

hi @Massanori_Takaki trying to upload but it is not happening could please check mail which attached from appium discuss or if you have any issue then let me know your other account .

@rini
I sent a message directly to you, let me know if you received.

Thanks

Hi Massanori_Takaki

I am facing the issue over xpath image view , actually my application is based on react native platform so please java is useful for it because by ui-automator viewer i tried find resource id of field but this react native platform based application so not able to find ids so please help me how can i solve this