Hi everybody, we are developing some test scripts and everything goes fine, but sometimes when playing the script, it is unable to find some controls, so the test "crashes". Can you help us with this?
The name of controls not being found looks like: Desktop.UIA
It is just a simple button, but it also happened with toolbar buttons. May it be related to control names?
TIA
Osvaldo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi everybody, we are developing some test scripts and everything goes fine, but sometimes when playing the script, it is unable to find some controls, so the test "crashes". Can you help us with this?
The name of controls not being found looks like: Desktop.UIA
It is just a simple button, but it also happened with toolbar buttons. May it be related to control names?
TIA
Osvaldo
I assume you are using the QAliber Test Builder (unless developing test scripts is creating new Test Cases with QAliber Test Develper)
Refer to the documentation:
http://qaliber.net/Wiki/index.php?title=GUI#The_Control_Locator
Let me know if this helps.
Thanks homfri, we read about the find function, and after using it instead of the direct reference to the control, it is working now.
Osvaldo