Hi,
I am trying to automate a hybrid iOS app using MDM but not able to generate selectors for the web elements inside the app.
I am able to identify each web elements but the below error is raised whenever I try to tap on it.
From my side, I tried once using MDM but I was not able to configure it, for an Android phone.
i automated an android application by using uipath + anydesk. Logged remotely, after that using click image to navigate through the application.
My answer might be offtopic, but just sharing, might help.
@Praga are you able to solve the same issue as i am able to do the android automation but face error during the IOS automation setup using .IPA file. Please assist if you have any solution
Hi Cristian, We are facing same issue and not able to resolve it, getting below error:
Error Log- "The UI object is invalid. Make sure the target application is open. Invalid selector . Invalid selector. Supported selectors are native (mbl) or web (html, webctrl)."
We are testing on Mobile Center Devices (real devices on Cloud).
Unfortunately this is not an easy one to answer, without having a specific reproduction scenario. I offered some other answers (to similar or tangential issues, not sure if the issues match 100% with yours) in other posts and I’ll list them here in case they might prove useful.
If you’re trying to get a selector into a web page, maybe you can use UiExplorer to achieve this, or craft the selector by hand using the visual tree.
If the selector you’re using is given by MDM, then something is not right. MDM should offer correct selectors.
You can try to see if you can get a selector to somewhere in the page and if the element you want to click (this works for click only) is relative to it, you can use click with offset.
You can try using computer vision if nothing else works.
In My scenario I was not able to access even Visual Tree and recording was not working. Nore UiExplorer was able to fetch elements.
In other way my issue is resolved now. I tried to created elements manually from Object repository, from there I tried to identify the elements and finally I did able to inspect the elements using “Use Native Selector in WebView (F4) options.