Jump to content
RHolmes

How to get the real text of an element?

Recommended Posts

RHolmes

If you refer to the image, you'll see that the "Text" field is "QLabelClassWindow" but what the label actually says on the window is "IDLE". Is there a way to retrieve the "real" text of this element? On a side note, I've never struggled to write these tests for Qt4 applications, only recently after upgrading to Qt5. Another possible solution might be to modify how I write the Qt applications so they are more visible to spys like the AutoIt Window Info Tool. Any help is greatly appreciated!

help.PNG

Share this post


Link to post
Share on other sites
RHolmes

Visible Text:
QTabWidgetClassWindow
qt_tabwidget_tabbarWindow
qt_tabwidget_stackedwidgetWindow
CamerasWidgetClassWindow
QSplitterClassWindow
qt_splithandle_Window
qt_splithandle_Window
QGroupBoxClassWindow
QTableWidgetClassWindow
qt_scrollarea_hcontainerWindow
QScrollBarClassWindow
QHeaderViewClassWindow
qt_scrollarea_viewportWindow
qt_scrollarea_viewportWindow
QFrameClassWindow
QComboBoxClassWindow
QLabelClassWindow
QComboBoxClassWindow
QLabelClassWindow
QComboBoxClassWindow
QLabelClassWindow
QComboBoxClassWindow
QLabelClassWindow
QGroupBoxClassWindow
VideoViewerClassWindow
qt_scrollarea_vcontainerWindow
QScrollBarClassWindow
qt_scrollarea_hcontainerWindow
QScrollBarClassWindow
QWidgetClassWindow
QToolBarClassWindow
QToolButtonClassWindow
QToolButtonClassWindow
QToolButtonClassWindow
QToolButtonClassWindow
QToolButtonClassWindow
QToolButtonClassWindow
QToolButtonClassWindow
QLabelClassWindow
QLabelClassWindow
QGroupBoxClassWindow
QScrollAreaClassWindow
qt_scrollarea_viewportWindow
QWidgetClassWindow
FocusPeakWidgetClassWindow
barWindow
QToolButtonClassWindow
QLabelClassWindow
HistogramWidgetClassWindow
barWindow
QToolButtonClassWindow
QLabelClassWindow
ConversionWidgetClassWindow
barWindow
QToolButtonClassWindow
QLabelClassWindow
CameraSetupWidgetClassWindow
barWindow
QToolButtonClassWindow
QLabelClassWindow
ColorLutWidgetClassWindow
barWindow
QToolButtonClassWindow
QLabelClassWindow
ExposureWidgetClassWindow
barWindow
QToolButtonClassWindow
QLabelClassWindow
QLabelClassWindow
QWidgetClassWindow
QGroupBoxClassWindow
QWidgetClassWindow
QLabelClassWindow
QLabelClassWindow
QLabelClassWindow
QLabelClassWindow
QLabelClassWindow
QLabelClassWindow
QGroupBoxClassWindow
QTimeEditClassWindow
qt_spinbox_lineeditWindow
QToolButtonClassWindow
QGroupBoxClassWindow
QLabelClassWindow
QGroupBoxClassWindow
TimeWidgetClassWindow
TimeWidgetClassWindow
TimeWidgetClassWindow
TimeLineClassWindow
QWidgetClassWindow
QToolButtonClassWindow
QToolButtonClassWindow
QToolButtonClassWindow
QToolButtonClassWindow
QGroupBoxClassWindow
QWidgetClassWindow
QToolButtonClassWindow
QComboBoxClassWindow
QToolButtonClassWindow
QToolButtonClassWindow
QComboBoxClassWindow
QWidgetClassWindow
QPushButtonClassWindow
QToolButtonClassWindow
QLabelClassWindow
QToolButtonClassWindow
QGroupBoxClassWindow
QLabelClassWindow
QLabelClassWindow
QPushButtonClassWindow
QToolButtonClassWindow
QComboBoxClassWindow
QLineEditClassWindow
QLabelClassWindow
QLabelClassWindow
QLabelClassWindow
QToolButtonClassWindow
QComboBoxClassWindow
QLineEditClassWindow
QLabelClassWindow
QComboBoxClassWindow
QLineEditClassWindow
QLabelClassWindow

Hidden Text

qt_splithandle_Window
qt_scrollarea_vcontainerWindow
qt_scrollarea_hcontainerWindow
QWidgetClassWindow
HistogramViewerClassWindow
StudioCapClient
qt_scrollarea_vcontainerWindow
qt_scrollarea_hcontainerWindow
QSpinBoxClassWindow
QCheckBoxClassWindow
MergeWidgetClassWindow
SettingsWidgetClassWindow
 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×