Comments (6)
Tested environments: WT 3.7; eclipse 3.7.2, 3.8, 4.2 with same result.
Original comment by [email protected]
on 23 Aug 2012 at 10:49
from windowtester.
Application under recording is swing.
Original comment by [email protected]
on 23 Aug 2012 at 10:52
from windowtester.
... and OS is Linux 2.6.32 :)
Original comment by [email protected]
on 23 Aug 2012 at 10:55
from windowtester.
[deleted comment]
from windowtester.
[deleted comment]
from windowtester.
Creating language key map file not a solution.
Solution is change method createKeyDownEvent of
com.windowtester.recorder.event.UISemanticEventFactory :
/**
* Construct a SemanticKeyDownEvent
* @return a semantic event
*/
public static SemanticKeyDownEvent createKeyDownEvent(Component comp, char keychar,int mods) {
EventInfo info = extractInfo(comp,0,0,1);
SemanticKeyDownEvent keyDown = new SemanticKeyDownEvent(info);
keyDown.setKey(keychar);
KeyStroke ks = KeyStrokeMap.getKeyStroke(keychar);
int code;
if(ks==null)
code=String.valueOf(keychar).codePointAt(0);
else
code=ks.getKeyCode();
keyDown.setKeyCode(code);
return keyDown;
}
I think it will work for all languages like russian (with full keyboard
character replacment)
Original comment by [email protected]
on 24 Aug 2012 at 6:35
from windowtester.
Related Issues (20)
- JTableItemLocator not work HOT 1
- FilteredTreeMatcher could not resolve his parent correctly HOT 11
- Support for Eclipse 4.2.1 HOT 3
- Code review request - Patches for tests HOT 7
- MultipleWidgetFoundException within TreeItemDriver HOT 6
- Not able to select specific row from ktable
- Command line arguments -user and -password are silently deleted
- Unable to scroll and change the values in Form which are not visible to Windowtester. HOT 3
- TreeItemLocator can't deal with multiple items that have the same name HOT 1
- Code review request HOT 4
- SWTKeyOperation needsShift for ASCII 60 wrong HOT 7
- Impossible to click twice in an "off-screen" widget
- New Locator StyledTextLocator HOT 11
- When recording widget is recognized...but not during the playback... HOT 1
- Code review request (Tycho) HOT 5
- click on list with regex name doesn't work HOT 2
- windowstester pro in E4 application HOT 1
- A suspicious use of an incrementer in for loop HOT 4
- Condition that always returns true HOT 1
- Security Policy violation Binary Artifacts HOT 20
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windowtester.