Interacting with a second application

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
Posts: 3
Joined: Thu Aug 18, 2022 11:37 am

Interacting with a second application

Post by BenAtRedbrick » Fri Sep 30, 2022 4:32 pm


I have looked around for an answer and can't see one that addresses my scenario.

My installed WinForms application is a CMS that has the ability to create documents and templates in MS Word (as well as send emails in MS Outlook, create reports in MS Excel... the list goes on but we'll keep it to MS Word for this query).

Part of the workflow process in my root application (AUT if you prefer) is to create a document which opens up MS Word and I'd like to validate the contents of that Word document during a test. Whenever I track with Spy however, it only detects elements in my root application behind the word document as if the document was transparent.

Is it possible to interact with MS Word as well as my root application?

Posts: 81
Joined: Thu Aug 11, 2022 8:55 pm

Re: Interacting with a second application

Post by IvanF » Mon Oct 03, 2022 3:16 pm

Hi, one of the reasons could be the whitelist settings - seems like only your root application is included and MS Word is not. Could you please confirm that based on these instructions - ... telisting/?

If the whitelisting is properly set, the next thing to check could be the permissions and how the application is open - do you run MS Word from the Ranorex test itself or do you open it manually?