i was able to successfully automate mac QQ or calculator desktop application through appium-for-mac,and it was fine to get xpaths , but the problem is when ever i try to build the xpath for my company app (which is WebView browser that is embedded in a Mac OS X desktop application), it does not generate the xpath
QQ xpath:
“/AXApplication[@AXTitle=‘QQ’]/AXWindow[@AXSubrole=‘AXStandardWindow’]/AXButton[@AXIdentifier=‘Sessions’]”
my company webview app(all elements are like this ):
“/AXApplication[@AXTitle=‘RCE’]/AXWindow[@AXTitle=‘XX企业版’ and @AXSubrole=‘AXStandardWindow’]/AXScrollArea”
I hope you can reply as soon as possible,Thank you very much for your reply