rwestbury
13 years agoContributor
Testing Tab Order
Hello all,
I have searched extensively to find a thread discussing how to use TC to test (or just log for now) Tab Order. The most intuitive way to do this would be to write a script that presses Tab, then grabs the currently focussed or active control and logs whatever information we want about that control. By repeating the process of tabbing and finding the currently focussed control we can log the "Tab Order".
Is there no easy way to do this? I have experimented with the zDocument.activeElement, however, this doesn't not give you a reference to the actual TC object that you can perform additional tasks with, such as Sys.HighlightObject, or Log.Picture.
Thanks,
Robert.
I have searched extensively to find a thread discussing how to use TC to test (or just log for now) Tab Order. The most intuitive way to do this would be to write a script that presses Tab, then grabs the currently focussed or active control and logs whatever information we want about that control. By repeating the process of tabbing and finding the currently focussed control we can log the "Tab Order".
Is there no easy way to do this? I have experimented with the zDocument.activeElement, however, this doesn't not give you a reference to the actual TC object that you can perform additional tasks with, such as Sys.HighlightObject, or Log.Picture.
Thanks,
Robert.