0
當我試着去檢查我的應用程序(IOS),在控制檯中我看到了appium的迴應:Appium的XPath值
[{"UIAImage":{"@":{"name":"/Users/ie54553/Library/Developer/CoreSimulator/Devices/123456/data/Applications/789798/My.app/Resources.bundle/black_btn.png",
"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,
"hint":null,"path":"/0/0/7/0","x":10,"y":264,"width":80,"height":80}
在這種情況下,path屬性是:0/0/7/0
雖然我期待在appium檢查時,XPath的值是:
//UIAApplication[1]/UIAWindow[1]/UIAImage[4]/UIAImage[1]
任何想法如何的responsed「路」被翻譯到XPath的價值?
任何幫助嗎? – Igal