cancel
Showing results for 
Search instead for 
Did you mean: 

UI automation mode fails in win32 application

ThirumalaiVM
Level 2
Hi all,

Blue prism script developed using UI automation mode is working in older version of the product but not in new version (Windows application) 

After the product has been upgrade to new version the existing script fails and UI automation mode is not getting recognized for the existing objects and unable to create a new object using UI automation mode in the updated version. 

system.applicationexception: unable to cast com object of type 'system.__comobject' to interface type 'accessibility.iaccessible'. this operation failed because the queryinterface call on the com component for the interface with iid '{618736e0-3c3d-11cf-810c-00aa00389b71}' failed due to the following error: no such interface supported (exception from hresult: 0x80004002 (e_nointerface)).

Let me know if anyone can provide a solution for it. 

thanks

------------------------------
Thirumalai VM
------------------------------
1 REPLY 1

JerinJose
Level 10
Hi Thirumalai,
Please reregister the UI Automation DLL by running regsvr32 UIAutomationcore.dll from an elevated command prompt please ensure the blueprism application is closed before running the command. this has doen the trick for me let see if this helps you as well.


------------------------------
Jerin Jose
RPA Product SME
EY
Asia/Kolkata
------------------------------