Forum Discussion
TanyaYatskovska
SmartBear Alumni (Retired)
Hi Christophe,
Was the app compiled with debug info? I'm offering you to contact our Support Team and send them a sample application containing the TStatusBar control - they will try to find a way to test it with TestComplete.
sl
6 years agoNew Contributor
Maybe it will help someone searching for the solution like I was.
Accessing the text of e.g. the third Panel of a TStatusBar is NOT like you would expect:
Aliases.MyApp.MyForm.StatusBar1.Panels[2].Text
But instead:
Aliases.MyApp.MyForm.StatusBar1.wText[2]
as it can be seen for example in the code example of the documentation for WaitProperty.
Or alternatively:
Aliases.MyApp.MyForm.StatusBar1.Panels.Items[2].Text
Related Content
- 12 years agohan
- 9 months agojuliemorris
- 2 years agoTanIlak