sapui5hp-uft

Automating wpf application with winObject of 'internet explore server'


How can HP UFT be forced to recognise the objects inside the browser as DOM rather than WPF objects? The application is a SAPUI5 javascript web page displayed inside of a WPF application (SAP Agentry). Object spy describes the nativeclass as: Internet Explorer_Server

Active add-ins: Web (SAPUI5, SAPWebExt) WPF

HP-UFT recognises the parent window as WPF and only captures objects based on the WPF object model. Web/DOM objects are ignored.

As a workaround im resorting to Click(x,y) / Low-level recording.


Solution

  • HP-UFT will detect browser dom objects, if the application is registered using the "Register New Browser Control".

    Answer provide by James Xue in post in the HPE\MicroFocus community forums: Browser Controls inside of Applications