I am testing a QT app on Redhat Linux and many of the controls have a graphic and not text. On windows I would use Spy++ to get the id/name of the control but not sure what to use on Linux and have not been able to find an answer on Google.
I would like to be able to say: On screen xyz button project.com.moduleName.buttonName - is missing caption, does not do x as expected. It should have caption blah and should do xyz.
What are my options for find the name of the button without going to the source?
On windows I would use Spy++ to get the id/name of the control
Not really. Or, rather, perhaps in ancient code that still uses WINAPI controls. On modern code, Spy++ is next to useless. You'd need specialized tools for WPF and Qt applications.
Alas, you're not looking for Spy++, but for a testing application. FrogLogic's Squish is the go-to tool for this, I'd think.