richelbilderbeek / testing_cpp_gui_applications_tutorial

Tutorial about testing C++ GUI applications
GNU General Public License v3.0
3 stars 0 forks source link

Cannot detect modal dialog #8

Open richelbilderbeek opened 7 years ago

richelbilderbeek commented 7 years ago

Before a button of select_class has been clicked, the screen looks like this:

before

The dialogs detected are like this:

Window 0x600002:
  Machine:  testing-gce-eff7d77c-efbe-4b22-a45a-2e0d186a000d
  Name:  Select a class
  Command:  ./select_class
  Instance/Class:  select_class/Select_class

Then doing CTRL+M, it looks like this:

after

The log shows:

Check if the dialog can be found
Pick mage
Your windowmanager claims not to support _NET_ACTIVE_WINDOW, so the attempt to activate the window was aborted.
xdo_window_activate on window:6291458 reported an error

The dialogs present are:

Applications when having selected Mage:
Window 0x600002:
  Machine:  testing-gce-eff7d77c-efbe-4b22-a45a-2e0d186a000d
  Name:  Select a class
  Command:  ./select_class
  Instance/Class:  select_class/Select_class
Find new dialog
Error: could not detect correct window

Hey, there has not been a dialog added when the pop-up was created!