Home » Archived » Jubula » Various Questions (Tabbed pane, mouse movement, languages, empty strings)(Resize Tabbed Pane / Relative mouse movement / Languages / Empty strings)
Various Questions (Tabbed pane, mouse movement, languages, empty strings) [message #788309] |
Wed, 01 February 2012 16:25 |
Johann Vogel Messages: 20 Registered: February 2012 |
Junior Member |
|
|
At the Moment i am trying to drag and drop the resize-marker (the thing you need to resize) to 0/50% so, the screen is exactly splittet.
My problem is, if I move my mouse (via click tabbed pane with 0 clicks) - i can just move it to 0/0 but not to the "borders" that would be about -5/0 or something like that.
I also haven't found a way to simply relatively (to the actual position) move the mouse, or change the jubula-config so that it allows negative coordinates, or a function that grabs the borders of a pane/window to resize it.
Shortform: I am searching: Relatively move mouseposition || resize tabbed pane || possibilty/patch to enter negative absolute coordinates.
[Updated on: Mon, 06 February 2012 09:03] Report message to a moderator
|
|
| |
Re: Resize Tabbed Pane / Relative mouse movement [message #789067 is a reply to message #788309] |
Thu, 02 February 2012 15:15 |
Johann Vogel Messages: 20 Registered: February 2012 |
Junior Member |
|
|
Yes it's an RCP app, but I am just a tester/jubula test writer not a developer (sounds strange, I know).
Maximizing doesn't work, because it's an editor or something like that (have tried/asked developer) and the workspace-option is not ideal.
Is there an option to simply relatively move the mouse (up, so "negative" coordinates)? This would do it for me. Relatively moving the mouse would be a Java Two-Liner like this.
void RelMoveMouse(int x, int y){
Mouse.setPosition(Mouse.getX+x, Mouse.getY+y);
}
Is there a possibilty to enter nothing (to check if a form works with empty fields). Leaving them empty doesn't allow the test case to run. What do i have to enter, so it prints nothing at input/replacetext? "" doesn't work.
[Updated on: Thu, 02 February 2012 16:14] Report message to a moderator
|
|
|
Re: Resize Tabbed Pane / Relative mouse movement [message #789646 is a reply to message #788309] |
Fri, 03 February 2012 08:24 |
Alexandra Schladebeck Messages: 1613 Registered: July 2009 |
Senior Member |
|
|
Hi,
Nothing strange about being a tester, and nothing 'just' about it either imho
As I'm not a developer either, I can't say much about what would be necessary to do such an action in a Jubula context. I do know that something that could be a 2-liner for a team developing it for their own personal use (or for contribution ) could well be something that the Jubula team would write for three "toolkits" (Swing, SWT/RCP and HTML), and possibly for multiple components, including rigorous testing for the new action in all toolkits and components Feel free to enter an enhancement for an action like "move mouse".
Perhaps I (or other forum participants) can help more if you explain the use case you are trying to test. It is 'just' the resize capability of the Eclipse editors, or is it in order to do something else?
As entering empty strings, have a look here.
HTH,
Alex
|
|
|
Re: Resize Tabbed Pane / Relative mouse movement [message #791787 is a reply to message #789646] |
Mon, 06 February 2012 09:02 |
Johann Vogel Messages: 20 Registered: February 2012 |
Junior Member |
|
|
Thank you for your answer, it really helped and i can't thank you enough.
I have now added an additional language (german/germany) to the default-language english, and now i have the "problem" that in german i have to enter all the test-values again like "Click button xy" has the parameters "mouse button" and "number of clicks". I have to reenter 1/1 even if that (numbers in general) is not language specific. Is there an option to "copy" (or reference) all the english values to german, and just change the about ~5 values (mainly label-compares) afterwards? Atm adding the labels as parameters seems the "best" option.
Edit: renamed thread, because the old description was not descriptive any more.
[Updated on: Mon, 06 February 2012 09:04] Report message to a moderator
|
|
|
Re: Resize Tabbed Pane / Relative mouse movement [message #791853 is a reply to message #791787] |
Mon, 06 February 2012 10:29 |
Alexandra Schladebeck Messages: 1613 Registered: July 2009 |
Senior Member |
|
|
Hi,
At the moment, there is no automated way of getting data (even the stuff that probably won't change, unfortunately, like "operator", "click count" etc) transferred between two languages. This is something we've talked about a few times, but the general consensus has been up until now that most people seem to be testing their AUT in one language only, and anyone who does perform tests for more than one language will probably only do it for certain aspects or use cases (e.g. a use case to calculate discount, where the currency symbol and decimal place marker would be different). This doesn't mean that the feature wouldn't be useful, but is just meant as an explanation of why it hasn't been a priority.
Hope that helps a bit,
Alex
|
|
| | |
Goto Forum:
Current Time: Sat Sep 21 00:20:02 GMT 2024
Powered by FUDForum. Page generated in 0.04040 seconds
|