Hi,
I need to test a GUI with multiple tabs. It is a windows app that connects to a database, not a browser. Each tab as a particular name.
In the beginner's guide, it keep saying to use the accelerator keys, whenever possible and to avoid mouse clicks if possible.
So the questions are:
1-Is there a way to select a particular tab by specifying its name?
2-Or is there a way to select a particular tab by specifying it's 'windows name' or 'windows internal name'.
do somebody know what I mean?
Thanks
GUI with multiple tabs
Moderators: Dorian (MJT support), JRL
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
See how to move and select the tabs using the keyboard. Anything you can do from the keyboard, you can do with Send>, Tab, SH-Tab, Up/Down/Left/Right, etc.
You mentiion accelerator keys, you can use Send> to use them.
General guideline would be to use lower case at first.
Example of using ALT-r:
SetFocus>Windowname*
Press ALT
Send>r
Release ALT
You mentiion accelerator keys, you can use Send> to use them.
General guideline would be to use lower case at first.
Example of using ALT-r:
SetFocus>Windowname*
Press ALT
Send>r
Release ALT
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!
Ok good. Thanks a lot!
I have accelerator keys so I should be fine. But the question was more like, if I do not have accelerator keys and if I do not want to use the mouse, is there a possibility, from a MacroScheduler point of view, to use the 'Windows Internal name' of the tab or the displayed name of the tab itself?
Thanks!
I have accelerator keys so I should be fine. But the question was more like, if I do not have accelerator keys and if I do not want to use the mouse, is there a possibility, from a MacroScheduler point of view, to use the 'Windows Internal name' of the tab or the displayed name of the tab itself?
Thanks!
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Perhaps this helps:
http://www.mjtnet.com/blog/2006/09/07/g ... tab-index/
But usually all you need to do is send CTRL+TAB to change tabs.
http://www.mjtnet.com/blog/2006/09/07/g ... tab-index/
But usually all you need to do is send CTRL+TAB to change tabs.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?