How to test Select widget? #4514
Unanswered
UlrichGoebel
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
You can use the name of the key e.g. Run the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I try to test a self written bib which implement a few special widgets.
I use
pytestand to test aSelectWidget:So what could I put in the second
clickto chose the first, second or third option?Onother way to test the
Selectcoult be to simulate keystrokes instead of mouse clicks. Is there a possibility to simulate keys other then characters (likepilot.press('a')), let's saySpace,Down,UpEnter, or evenCtrl-Upand so on? In the docu for Pilot.press() I just found normalstras argument forpilot.press().Thank You for any hint.
Beta Was this translation helpful? Give feedback.
All reactions