Class PageObjectWithWindow
Defined in File page_object_with_window.hpp
Inheritance Relationships
Base Type
public BasePageObject
(Class BasePageObject)
Class Documentation
-
class PageObjectWithWindow : public BasePageObject
Public Functions
-
PageObjectWithWindow(int display_category, QString display_name)
-
void captureDisplayRenderWindow(std::string image_name)
Used internally to make a screenshot.
Protected Functions
-
virtual void setRenderWindow() = 0
Abstract function: Implement to capture the correct render window and save it to the member variable render_window_. This will then be used to make a screenshot.
Use test_helpers::findWindow(window_name) to find the corresponding render window (note that the window needs to have its Qt object_name set to the name of the window).
-
PageObjectWithWindow(int display_category, QString display_name)