Re: Error: No valid input event found for action with key 'caret-backward'
Ye, Ting <ting.ye <at> intel.com>
2006-11-03 02:53:47 GMT
Thanks, Timothy, I have tried abbot-1.0.0.rc5 and fixed this problem.
-----Original Message-----
From: Ye, Ting
Sent: Friday, November 03, 2006 10:37 AM
To: 'Timothy Wall'
Cc: abbot-users <at> lists.sourceforge.net
Subject: RE: [abbot-users] Error: No valid input event found for action
with key 'caret-backward'
Abbot version: abbot-1.0.0.rc3
System OS: windows XP, Version 4.0 (4000.10)
I don't quite understand your question: "What are the mappings that
exist for caret-backward?" Do you mean the input/action map displayed by
Costello UI or in script? Costello UI does not display anything except
the error message; in the recorded script, I can not find the additional
"improper key comparison" before the action with 'caret-backward'.
And, more important, is this exactly the bug existed in abbot prior to
rc4? I will try rc4 immediately to see if it can fix my problem.
The whole script is attached as following:
<sequence>
<action args="ITree Instance,"[WORKSPACE,
Modules]",BUTTON1_MASK,2" class="javax.swing.JTree"
method="actionClick" />
<action args="ITree Instance,"[WORKSPACE, Modules,
EdkModulePkg]",BUTTON1_MASK,2" class="javax.swing.JTree"
method="actionClick" />
<action args="ITree Instance,"[WORKSPACE, Modules,
EdkModulePkg, Module]",BUTTON1_MASK,2" class="javax.swing.JTree"
method="actionClick" />
<action args="ITree Instance,"[WORKSPACE, Modules,
EdkModulePkg, Module, ConSplitter]",BUTTON1_MASK,2"
class="javax.swing.JTree" method="actionClick" />
<action args="ITree Instance,"[WORKSPACE, Modules,
EdkModulePkg, Module, ConSplitter, Source Files]",BUTTON1_MASK,2"
class="javax.swing.JTree" method="actionClick" />
<action args="JTable Instance,"Test1.c",BUTTON1_MASK,2"
class="javax.swing.JTable" method="actionClick" />
<wait args="Source Files 2" class="abbot.tester.ComponentTester"
method="assertComponentShowing" />
<action args="JTextField Instance,caret-backward"
class="javax.swing.JComponent" method="actionActionMap" />
<action args="JTextField Instance,caret-backward"
class="javax.swing.JComponent" method="actionActionMap" />
<action args="JTextField Instance,delete-previous"
class="javax.swing.JComponent" method="actionActionMap" />
<action args="JTextField Instance,2" method="actionKeyString" />
<action args="IPF" class="javax.swing.AbstractButton"
method="actionClick" />
<action args="EBC" class="javax.swing.AbstractButton"
method="actionClick" />
<action args="Ok" class="javax.swing.AbstractButton"
method="actionClick" />
<wait args="Source Files 2" class="abbot.tester.ComponentTester"
invert="true" method="assertComponentShowing" />
<action args="JTable Instance,"NewSourceFile/Test2.c""
class="javax.swing.JTable" method="actionSelectCell" />
<action args="Browse" class="javax.swing.AbstractButton"
method="actionClick" />
<wait args="Source Files 2" class="abbot.tester.ComponentTester"
method="assertComponentShowing" />
<action args="JTextField Instance,2" method="actionKeyString" />
<action args="X64" class="javax.swing.AbstractButton"
method="actionClick" />
<action args="IA32" class="javax.swing.AbstractButton"
method="actionClick" />
<action args="Ok" class="javax.swing.AbstractButton"
method="actionClick" />
<wait args="Source Files 2" class="abbot.tester.ComponentTester"
invert="true" method="assertComponentShowing" />
<action args="Save" method="actionSelectMenuItem" />
<action args="Exit" method="actionSelectMenuItem" />
</sequence>
-----Original Message-----
From: Timothy Wall [mailto:twall <at> users.sourceforge.net]
Sent: Thursday, November 02, 2006 7:44 PM
To: Ye, Ting
Cc: abbot-users <at> lists.sourceforge.net
Subject: Re: [abbot-users] Error: No valid input event found for action
with key 'caret-backward'
Take a look at the input/action maps displayed by Costello for the
component in question. What are the mappings that exist for caret-
backward?
There was a bug prior to rc4 that did an improper key comparison that
would sometimes cause failures.
On Nov 2, 2006, at 4:25 AM, Ye, Ting wrote:
> Hi,
>
>
>
> I recorded a script to edit a text field. It tried to modify
> "Fat_build.xml" to "Fat_buildml". The script looked like:
>
> ...
>
> <action args="JTable
> Instance,"Fat_build.xml",BUTTON1_MASK,2"
> class="javax.swing.JTable" method="actionClick" />
>
> <wait args="Source Files" class="abbot.tester.ComponentTester"
> method="assertComponentShowing" />
>
> <action args="JTextField Instance 2,caret-backward"
> class="javax.swing.JComponent" method="actionActionMap" />
>
> <action args="JTextField Instance 2,caret-backward"
> class="javax.swing.JComponent" method="actionActionMap" />
>
> <action args="JTextField Instance 2,delete-previous"
> class="javax.swing.JComponent" method="actionActionMap" />
>
> <action args="JTextField Instance 2,delete-previous"
> class="javax.swing.JComponent" method="actionActionMap" />
>
> <action args="Ok" class="javax.swing.AbstractButton"
> method="actionClick" />
>
> ...
>
>
>
> When I played it back, I received an error in Costello as mentioned
> in this email title. I also tried the "caret-begin-line" and "caret-
> end-line" with the actionActionMap method to work around this
> problem though I failed. Could you please give me any suggestion to
> fix this problem? Thanks!
>
>
>
> Best Regards,
>
> - Ting
>
> ----------------------------------------------------------------------
> ---
> 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