Timothy Wall | 1 May 2006 15:10
Picon

Re: Capturing and replaying mouse motion


On Apr 28, 2006, at 9:44 PM, Jean-Francois Poilpret wrote:
>
> I tried to record such a sequence with Costello (I
> have used the "Capture all actions (incuding mouse
> motion)" menu). But strangely the only recorded steps
> in my script are:
> - drag
> - drop
> surrounded by mousemove events (but no mouse_move
> event between drag and drop steps).
>
> Question 1 => Is this normal behavior of Costello? Is
> there a way to have actual recording of these events?

No, it's not correct behavior.  On a non-native drag, you should be  
getting drag motion events recorded.  Please file a bug to that effect.

> Events are played too fast by Costello! My application
> could only draw the first 4 mouse moves then it drew a
> straight line!
>

Does your application depend on event timing?  Abbot will generate a  
real event for each event listed in the script, so apparently your  
app is sensitive to the time elapsed between them.

> I could eventually make this work by setting "slow
> display" in Costello.
> The next problem is that simulating a smooth draw
(Continue reading)

Chaudhuri, Hiran | 3 May 2006 08:58

Costello Recording speed

Hi there.

This time no GUI test rather performance test. I try to use Abbot to automate Java Swing clients so they generate some load for my server.

In this scenario I have two questions, perhaps you already have the answers?

1. How can I run abbot without blocking my display? I'd like to run several clients on one PC. The FAQ mentions something, but what are the steps?

2. Costello seems to become slower and slower the longer the recorded test gets. Sometimes one keytype event (I press and release one key) takes 10 seconds of 100% cpu load until the character gets displayed. Has anyone experienced this behaviour as well? Are there workarounds?

Thanks to the Abbot team for an otherwise easy to use test tool.

Hiran

Timothy Wall | 3 May 2006 13:16
Picon

Re: Costello Recording speed


On May 3, 2006, at 2:58 AM, Chaudhuri, Hiran wrote:

> Hi there.
>
> This time no GUI test rather performance test. I try to use Abbot  
> to automate Java Swing clients so they generate some load for my  
> server.
>
> In this scenario I have two questions, perhaps you already have the  
> answers?
>
> 1. How can I run abbot without blocking my display? I'd like to run  
> several clients on one PC. The FAQ mentions something, but what are  
> the steps?
If you run each in awt mode, they are less likely to conflict with  
each other, although they will still show up on your screen.  I've  
been thinking about swapping out the default toolkit with a testing  
one which provides fake peers, but that's a lot more work than I've  
got time for at the moment.

> 2. Costello seems to become slower and slower the longer the  
> recorded test gets. Sometimes one keytype event (I press and  
> release one key) takes 10 seconds of 100% cpu load until the  
> character gets displayed. Has anyone experienced this behaviour as  
> well? Are there workarounds?
How long a script are you talking about?  or do you mean that it  
slows down the longer it is in recording mode?  Can you isolate or  
reproduce this with the MyCode example?

> Thanks to the Abbot team for an otherwise easy to use test tool.
Thanks!

Timothy Wall
http://abbot.sf.net

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Chaudhuri, Hiran | 3 May 2006 23:02

AW: Costello Recording speed

>> 1. How can I run abbot without blocking my display? I'd like to run 
>> several clients on one PC. The FAQ mentions something, but what are 
>> the steps?
>If you run each in awt mode, they are less likely to conflict with each
other, although they will
>still show up on your screen.  I've been thinking about swapping out
the default toolkit with a 
>testing one which provides fake peers, but that's a lot more work than
I've got time for at the moment.
Less likely does not really sound safe, but I'll check it out.

>> 2. Costello seems to become slower and slower the longer the recorded

>> test gets. Sometimes one keytype event (I press and release one key) 
>> takes 10 seconds of 100% cpu load until the character gets displayed.

>> Has anyone experienced this behaviour as well? Are there workarounds?
>How long a script are you talking about?  or do you mean that it slows
down the longer it is in 
>recording mode?  Can you isolate or reproduce this with the MyCode
example?

Costello slows down the longer it is in recording mode. At least that is
my impression. A short script
Could be recorded easily, but adding some more functionality (beyond
logon) showed the editor gets
Increasingly slow. I will try to isolate a sample.

Hiran

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
Holly L. | 3 May 2006 23:13
Picon
Favicon

build error of abbot.swt

I followed the instruction found in this forum, created CVS repository, 
checked out the five projects abbot, abbot.swt, abbot.swt.gef, 
abbot.swt.hierarchy, org.eclipse.swt.patched
when I followed the instruction to update the classpath via PDE, I got 
error" can't nest abbot.swt/src", so I went to properties for abbot.swt, 
changed the source tab content, then the error goes away. then got another 
error, a class Step.java checked the value of boolean variable 
Log.expectDebugOutput, but this variable is not defined in Log.java, the 
solution is I commented out this piece of code. after all these, the build 
succeeded. should this be reported as a bug? Did anybody else run into the 
same problem?

Holly Luo
Chapel Hill

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Holly L. | 4 May 2006 00:10
Picon
Favicon

How to run abbot within eclipse

complete guide to start abbot within eclipse (in case somebody got the same 
headache as I did)
1. create CVS repostery in eclipse
:pserver:anonymous <at> cvs.sourceforge.net:/cvsroot/abbot

no password needed
2. check out :
abbot
abbot.swt
abbot.swt.gef
abbot.swt.heirarchy
org.eclipse.swt.patched

3. select abbot, right click mouse, go to PDE tools->convert into ecliplse 
plugin, then select abbot again, right click mouse, build project

4. 1)select abbot.swt, go to menu item Project -> properties -> java build 
path -> source tab
remove the entry in this tab, then click add folder, type src as folder 
name, click Finish
2) select abbot.swt/plugin.xml, right click mouse, PDE tools -> update 
classpath
3) select abbot.swt, go to menu item Project -> properties -> java build 
path -> Libraries tab,
click Add Jars, in the popuped window, expand abbot, find jdom.jar, click 
Finish
4) select abbot.swt, right click, build project
5) if you have error now, the error might be in 
abbot.swt/src/abbot.script.swt/Step.java
find the error code segment, where Log.expectDebugOutput is checked, comment 
out this piece of code (should be a if statement)
6) clean the project and rebuild it

5. 1) hierarchy and patched are not eclipse plugin, so do the same to 
convert them into plugin as instructed in step 3
2) do the same thing as instructed in 4.1 and 4.2, then build the projects

6. then run the example test as instructed in 
abbot.swt/doc/swt/abbotforswtREADME.html

the above guide is based on the head revision of CVS sources I checked out 
on 05/03/2006. if the source code changes, some of the guide steps may not 
be applied, while it should give a clue where to look at when an error 
occurs.

Holly Luo
Chapel Hill

_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to 
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
T Awan | 4 May 2006 09:49
Picon
Favicon

Costello Recording speed

Hi,

I am experiencing the same problem with Costello recording speed and it 
happens all the time when I start to record a long sequence of steps (except 
trivial 2-3 steps scripts). The list of components in my xml script is long 
(370 elements). Can this slow down the recording speed?

>>2. Costello seems to become slower and slower the longer the recorded
>>test gets. Sometimes one keytype event (I press and release one key) takes 
>>10 seconds of 100% cpu load until the character gets displayed.
>>Has anyone experienced this behaviour as well? Are there workarounds?
>How long a script are you talking about?  or do you mean that it slows
down the longer it is in
>recording mode?  Can you isolate or reproduce this with the MyCode
example?

- Tanveer

_________________________________________________________________
MSN Spaces http://spaces.msn.com/?mkt=nb-no Vis hvem du er og hva du vil

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Timothy Wall | 4 May 2006 13:15
Picon

Re: Costello Recording speed

It's possible that things are slowing down when attempting to match  
components against existing references, but it's hard to say without  
actually profiling the code.

On May 4, 2006, at 3:49 AM, T Awan wrote:

> Hi,
>
> I am experiencing the same problem with Costello recording speed  
> and it happens all the time when I start to record a long sequence  
> of steps (except trivial 2-3 steps scripts). The list of components  
> in my xml script is long (370 elements). Can this slow down the  
> recording speed?
>
>>> 2. Costello seems to become slower and slower the longer the  
>>> recorded
>>> test gets. Sometimes one keytype event (I press and release one  
>>> key) takes 10 seconds of 100% cpu load until the character gets  
>>> displayed.
>>> Has anyone experienced this behaviour as well? Are there  
>>> workarounds?
>> How long a script are you talking about?  or do you mean that it  
>> slows
> down the longer it is in
>> recording mode?  Can you isolate or reproduce this with the MyCode
> example?
>
> - Tanveer
>
> _________________________________________________________________
> MSN Spaces http://spaces.msn.com/?mkt=nb-no Vis hvem du er og hva  
> du vil
>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services,  
> security?
> Get stuff done quickly with pre-integrated technology to make your  
> job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache  
> Geronimo
> http://sel.as-us.falkag.net/sel? 
> cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> abbot-users mailing list
> abbot-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/abbot-users
>

Timothy Wall
http://abbot.sf.net

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Holly L. | 4 May 2006 16:52
Picon
Favicon

how to launch Eclipse within Abbot?

I try to launch Eclipse within abbot costello editor. here is what I put in 
the launch fields:
Launch org.eclipse.core.launcher.Main.main([])

Target Class Name: org.eclipse.core.launcher.Main

Method: main

Arguments: []

classpath: startup.jar

Eclipse was launched successfully, but everything in script editor became 
freeze, i.e. all the menu items are greyed out, I can do nothing.

I installed abbot within eclipse, but want to try this way, is this 
possible?

Thanks

Holly Luo
Chapel Hill

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Holly L. | 4 May 2006 16:52
Picon
Favicon

how to launch Eclipse within Abbot?

I try to launch Eclipse within abbot costello editor. here is what I put in 
the launch fields:
Launch org.eclipse.core.launcher.Main.main([])

Target Class Name: org.eclipse.core.launcher.Main

Method: main

Arguments: []

classpath: startup.jar

Eclipse was launched successfully, but everything in script editor became 
freeze, i.e. all the menu items are greyed out, I can do nothing.

I installed abbot within eclipse, but want to try this way, is this 
possible?

Thanks

Holly Luo
Chapel Hill

_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Gmane