cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with Active Accessibility in run time

marco.pogliaghi
Level 4

I use a widows based application that embeds a web application I can't access the embedded application with web modes, but in dev I can easily use Active Accessibility mode.

All works well when I build my objects.

When I run, in Development, the process (on the same machine where I've build the objects) it does not work anymore.

I get an "Unable to match any Active Accessibility elements to the supplied query terms" but then, I step inside the object giving the error, make an "Active Accessibility" Spy operation, exit (even without saving) the Application modeller window and after this all goes right!

The problem is that in production I cannot do this trick.

Any suggestion?

 

Thank you,

    marco

 

 

6 REPLIES 6

naveed_raza
Level 7

I think , you should create separate object , dont mix Windows Mode for windows application with AA .

try this, create one object which interact with Windows based elements, here you can launch the windows based application 
create another object, attach to that browser , then try 

hope this should work

marco.pogliaghi
Level 4

I've tried this but without success.

I've created an object that uses only AA mode to interact with the application, but it still fails in the same way.

Just to better define the case: I have a windows application, inside this application, a menu opens a new window inside the same application embeds (via WebView2) an internet site.

When I try to interact with this site, I have the issue.

 

naveed_raza
Level 7

can you please share the screenshot of that page and  html code , if possible, make sure to hide sensitive data

marco.pogliaghi
Level 4

I can't: for policy we cannot attach file or screenshots, and I don't see the html code of the embedded site.

Now I will try this: instead of using the name of the application, I'll try to refer to the internal WebView2 instance and see if this works

naveed_raza
Level 7

okay sure

Hi @marco.pogliaghi 

If your application is Java-based (such as an Oracle application), you can try spying the elements using Java Mode for which you will have to enable Java Access Bridge in your machine.

If not, and the application only requires navigating through a few screens, you may also consider using Region Mode.

Best Regards,
Sayeed Bin Abdullah