UPDATE! The community will be go into read-only on April 19, 8am Pacific in preparation for migration on April 21. Read more.
UPDATE! The community will be go into read-only on April 19, 8am Pacific in preparation for migration on April 21.Read more.
Cadet 1st Class
Cadet 1st Class
410 views

UFT unable to identify objects of WkWebview screens of iOS hybrid app

Currently I'm working on iOS app automation using UFT with mobile center. The app is hybrid where it starts with native screens and then WkWebview screens. UFT is unable to identify the WkWebview screens. Its identifying the Native screens. Can someone please help for my issue.

UFT version 14.03

Mobile center version - 3.1

iOS version 12.3

0 Likes
2 Replies
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Thank you for contacting us!

 

Is the current app a Packaged App? If not, can you try using a packaged app? This is for the hybrid apps as seen here:

The app need to be signed with a Dev. Certificate.The app need to be signed with a Dev. Certificate.

Also, as a suggestion, Mobile Center 3.2 may help you with this specific issue too.

 

Kind Regards!

0 Likes
Cadet 1st Class
Cadet 1st Class

thanks for the update.

I have packaged the app and see the files HPMC dylib, and JS files too in IPA file. But all the webview objects are identifying as MobileWebElement even though its edit/check/button/radio. And cannot able to perform any action on it click/set.

UFT 14.53,  Mobile center - 3.2

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.