You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a Qt app if there is a QTextBrowser element it's detected as a label by ldtp, it has type ControlType.Text.
However if I try to call ldtp.gettextvalue('window', 'lbl0') I get "Unable to find object: lbl0" since Text.cs does not include ControlType.Textamong it's candidates in Text::GetObjectHandle(). I added it there and recompiled and then I got the text value that I needed.
I am unsure if that is the proper fix though, should this type have been detected as something else ?
But otherwise it's a simple fix that solves my problem.
The text was updated successfully, but these errors were encountered:
In a Qt app if there is a QTextBrowser element it's detected as a label by ldtp, it has type
ControlType.Text
.However if I try to call
ldtp.gettextvalue('window', 'lbl0')
I get "Unable to find object: lbl0" sinceText.cs
does not includeControlType.Text
among it's candidates inText::GetObjectHandle()
. I added it there and recompiled and then I got the text value that I needed.I am unsure if that is the proper fix though, should this type have been detected as something else ?
But otherwise it's a simple fix that solves my problem.
The text was updated successfully, but these errors were encountered: