Tudor Girba-2 wrote
I think the best would be to add it externally from a configuration. So, I
created one:
Thanks! Of course if it's external no one will use it to test the image
itself :(
p.s. I added middle click and tests for all click types
--
View this message in context:
Thanks a lot, Sean!
It works just great with BDDExtensions and Keymapping-Shortcuts.
Cheers,
Doru
On Thu, Dec 8, 2011 at 3:35 PM, Sean P. DeNigris s...@clipperadams.com wrote:
Tudor Girba-2 wrote
Would it be possible to simulate keys with modifiers without Keymapping
present?
I think I
Btw, I think these should get in the Pharo distribution because they
are just too valuable.
Doru
On Fri, Dec 9, 2011 at 4:07 PM, Tudor Girba tu...@tudorgirba.com wrote:
Thanks a lot, Sean!
It works just great with BDDExtensions and Keymapping-Shortcuts.
Cheers,
Doru
On Thu, Dec 8, 2011
On Dec 9, 2011, at 4:08 PM, Tudor Girba wrote:
Btw, I think these should get in the Pharo distribution because they
are just too valuable.
Yes!
Doru
On Fri, Dec 9, 2011 at 4:07 PM, Tudor Girba tu...@tudorgirba.com wrote:
Thanks a lot, Sean!
It works just great with BDDExtensions
Tudor Girba-2 wrote
Btw, I think these should get in the Pharo distribution because they
are just too valuable.
I will open an issue and submit a slice. Do you have any
suggestions/requests while I'm there? I think the only basic thing missing
is middle-click, which will be easy to add.
Hi,
I think the best would be to add it externally from a configuration. So, I
created one:
Gofer new
squeaksource: 'BDDExtensions';
package: 'ConfigurationOfBDDExtensions';
load.
(Smalltalk at: #ConfigurationOfBDDExtensions) loadDevelopment
At the moment it only has a
Sean P. DeNigris wrote
I will open an issue
Issue 5077: UI simulation from BDDExtensions project
http://code.google.com/p/pharo/issues/detail?id=5077
--
View this message in context:
http://forum.world.st/GUI-Testing-Library-tp4097866p4177726.html
Sent from the Pharo Smalltalk mailing
Hi Sean,
Unfortunately, it seems that Keymapping introduces subtle bugs in the other
tools.
Would it be possible to simulate keys with modifiers without Keymapping present?
Cheers,
Doru
On 3 Dec 2011, at 17:38, Sean P. DeNigris wrote:
Tudor Girba-2 wrote
It's just cool.
Tudor Girba-2 wrote
Would it be possible to simulate keys with modifiers without Keymapping
present?
I think I only used Keymapping for the modifier key syntax, but looking at
its repository, the shortcuts are packaged separately. So you could try only
loading Keymapping-Shortcuts, which
Hi Sean,
I just wrote the first test case for Glamour using the BDDExtensions. This was
for a bug that that was present in Glamour since several months, but I just did
not know how to test.
With the new facilities, it got as simple as:
testExplicitAcceptDoesNotAffectTextPort
...
Tudor Girba-2 wrote
It's just cool.
Excellent! The latest package in the repo adds right clicking, choosing from
menus, and a bug fix for Morphs that use local coordinates.
--
View this message in context:
http://forum.world.st/GUI-Testing-Library-tp4097866p4153835.html
Sent from the
Sean P. DeNigris wrote:
I'm starting to put together some helpers for UI testing. What's out there
already?
I started simulating keyboard events. It seems like the place to hook is
ActiveHandhandleEvent:. This way, it will take into account the keyboard
focus and route the event the way it
On 23 November 2011 02:09, Sean P. DeNigris s...@clipperadams.com wrote:
Sean P. DeNigris wrote
So far the API adds...
This is fun! I integrated with Keymapping, so now you can write:
self simulateKeyStrokes: 'Object'.
self simulateKeyStroke: $s command.
To play, doit:
I am quite interested, as well.
I am not sure I understand how to reproduce your approach, though.
Could you provide more information? Or maybe an example?
Cheers,
Doru
On Wed, Nov 23, 2011 at 11:54 AM, Igor Stasenko siguc...@gmail.com wrote:
On 23 November 2011 02:09, Sean P. DeNigris
Hi Sean,
This is very valuable. Currently it is really hard to test GUI in Pharo.
One problem I faced several times is that GUI are not uniformly managed: some
GUI widgets use of exceptions (which is cool), some other are blocking the
currently thread (which is not cool). For example, I can
On Tue, Nov 22, 2011 at 10:09 PM, Sean P. DeNigris s...@clipperadams.comwrote:
This is fun! I integrated with Keymapping, so now you can write:
self simulateKeyStrokes: 'Object'.
self simulateKeyStroke: $s command.
Haha! great :)
I'll freeze an stable version soon.
Tudor Girba-2 wrote
Could you provide more information? Or maybe an example?
Sure. Thanks for the push to write tests :)
I just uploaded a new version with some simple tests. Here is a snippet:
testSimulateCmdKeystroke
| ws |
ws := Workspace open.
self
Wow, this looks brilliant!
I will definitely give it a try in the following days.
Doru
On Wed, Nov 23, 2011 at 4:10 PM, Sean P. DeNigris s...@clipperadams.com wrote:
Tudor Girba-2 wrote
Could you provide more information? Or maybe an example?
Sure. Thanks for the push to write tests :)
Alexandre Bergel-7 wrote
I opened an issue: http://code.google.com/p/pharo/issues/detail?id=5010
Fix (although I guess there are more widgets to fix?) in 1.4 inbox
SLICE-Issue-5010-Testing-GUI-widgets-SeanDeNigris.1
Alexandre Bergel-7 wrote
This is very valuable. Currently it is really
I will invite you for a couple of beers at the next esug :-)
I cannot try it right now (bad internet connection), but I checked the source
code. It looks good.
Cheers,
Alexandre
On 23 Nov 2011, at 13:12, Sean P. DeNigris wrote:
Alexandre Bergel-7 wrote
I opened an issue:
Starting to add simulated mouse actions...
testSimulateMouseClick
| textMorph |
textMorph := TextMorph new contents: ''; openInWorld.
textMorph simulateClick.
self assert: textMorph hasKeyboardFocus.
--
View this message in context:
Alexandre Bergel-7 wrote
I will invite you for a couple of beers at the next esug :-)
Paid in beer?! This is the best job ever ;-)
--
View this message in context:
http://forum.world.st/GUI-Testing-Library-tp4097866p4102097.html
Sent from the Pharo Smalltalk mailing list archive at
Sean P. DeNigris wrote
So far the API adds...
This is fun! I integrated with Keymapping, so now you can write:
self simulateKeyStrokes: 'Object'.
self simulateKeyStroke: $s command.
To play, doit:
Gofer new
squeaksource: 'ShortWays';
23 matches
Mail list logo