Tab backward

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 771
Благодарностей
1 184
Баллы
113
How to send Shift + Tab to instance ?

Manual works just great, it goes tab backward when You press Shift + Tab.

Tried different ways, One way
C#:
instance.ActiveTab.KeyEvent("Tab", "press", "Shift");
Seems it sends something but not sure what. :D
 

Nick

Client
Регистрация
22.07.2014
Сообщения
1 963
Благодарностей
797
Баллы
113
Sorry for asking, but why wouldn't you switch to the previous Tab programmatically?
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 771
Благодарностей
1 184
Баллы
113

Nick

Client
Регистрация
22.07.2014
Сообщения
1 963
Благодарностей
797
Баллы
113

V Munich

Пользователь
Регистрация
20.02.2014
Сообщения
85
Благодарностей
3
Баллы
8
I think you could enumerate your tabs using methods of the instance object, then you could activate this or that tab. I guess it would be equal to switching it with keyboard. Check out this: https://help.zennolab.com/en/v5/zennoposter/5.11.6.0/webframe.html#topic486.html
Never tried it by myself though.
I think he doesn't mean to switch browser tabs, he needs to switch between form fields with the TAB keyboard key. Probably more reliable than regex in some cases. I'm also looking for the same functionality.
 
  • Спасибо
Реакции: Nick

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)