Compile error with PopupWatcher

Class library usage, coding and language questions.
Posts: 1
Joined: Wed Oct 28, 2020 10:02 am

Compile error with PopupWatcher

Post by ElkeV » Tue May 04, 2021 10:44 am

I am trying to use the popupwatcher automation helper

What I have done so far:
1. Installed the automation helpers in my solution as described in the user manual
2. Added the intended popup and its ok-button to my repository
3. Created a recording module with 2 usercode actions in it, first StartPopupWatcher(Popup,OkButton) and next StopPopupWatcher(Popup,OkButton)

When building this I get the following errors:
The call is ambiguous between the following methods or properties:
'Ranorex.AutomationHelpers.UserCodeCollections.ExceptionExtensions.GetFullMessage(System.Exception)' and
'Ranorex.AutomationHelpers.UserCodeCollections.ExceptionExtensions.GetFullMessage(System.Exception)' (CS0121)

This is my first attempt on using automation helpers, so probably I do something wrong.
Any help is appreciated.

User avatar
Ranorex Guru
Ranorex Guru
Posts: 6557
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Compile error with PopupWatcher

Post by odklizec » Wed May 05, 2021 8:50 am


I'm not recognizing these errors. What version of Ranorex do you use? Please make sure, it's most recent 9.5.
Here is, how I'm using popupwatcher in my projects...
Popupwatcher.png (62.62 KiB) Viewed 607 times
Instead of Recordings, I'm using code modules. Could you please reproduce the errors with similar approach?
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration