Details
-
Sub-task
-
Resolution: Out of scope
-
P2: Important
-
None
-
None
Description
Contact development team and define an example that is used for detailed UI tests.
Create tests:
- add new test case to tqtc-qt-rta/suites/packaging/suite_example_detail (test will be run in jenkins job RTA_exampleDetail http://qt-rta.intra.qt.io/job/RTA_installerexampleDetail/)
- update RTA wiki page with example name, test steps and status: https://intranet.qt.io/display/QTRD/Test+set%3A+examples
Steps from dev:
http://code.qt.io/cgit/qt/qtvirtualkeyboard.git/tree/examples/virtualkeyboard/basic
Below are some simple tests that come to mind when using the example:
#1
- Click on an input field to open the keyboard. Check that the input panel (keyboard) opens.
- Close the input panel by clicking on the "Hide" button (bottom-right corner). Check that the input panel closes.
#2
- Click on an input field open the keyboard. Check that the input panel opens.
- Close the input panel by clicking outside of it, somewhere in the scene (not on another input field though). Check that the input panel closes.
#3
- Click on an input field open the keyboard.
- Type "Hello" by clicking on the keys. Check that the input field's text is "Hello".
- Click on the shift key twice to turn on caps lock, then type "WORLD" by clicking on the keys. Check that the input field's text is "Hello WORLD".
- Click on the symbol mode key (lower left corner) and type "Unable to render embedded object: File (" by clicking on the key. Check that the input field's text is "Hello WORLD) not found.".
- Click on the backspace key until all of the text is gone. Verify that the input field's text is empty.
#4
- Click on the change language key (globe icon) to open the language popup.
- Scroll (flick) down and choose a language.
- Type something in that language by clicking on the keys. Check that the input field's text matches what was written in that language.
#5
For this one, the module will need to be built with CONFIG+=handwriting (or CONFIG+=lipi-toolkit) if it's not by default... I can't remember.
- With the language being English, click on the handwriting mode key (bottom left, next to the change language key).
- Do some handwriting (e.g. "Hello") and check that the input field's text matches it.
- Quickly draw a backwards line to remove one character. Check that the input field's text matches (e.g. "Hell"). See http://doc.qt.io/qt-5/qtvirtualkeyboard-user-guide.html#gestures for the full list of supported gestures.
Attachments
Issue Links
- mentioned in
-
Page Loading...