Timothy Wall | 4 Feb 2010 16:20
Picon

Re: 回复:Re: Question about abbot

The "Expression" step lets you add beanshell scripts to a script.  You  
can also write custom classes to extend the the types of script steps  
supported, but that might be a bit over your head.

On Feb 3, 2010, at 3:57 AM, cmn831203 <at> sina.com wrote:

> Hi  Timothy Wall
>
>
> I have a question to ask you , do you know how to add logical code  
> to existed scripts ?
>
>
> Thanks
>
> Sunny
>
>
>
> 发件人:Timothy Wall <twall <at> users.sourceforge.net>
> 收件人:cmn831203 <at> sina.com
> 主题:Re: Question about abbot
> 日期:2010-1-22 20:47:14
>
> The Launch function is implemented in the Launch class, which is also
> subclassed to provide an applet launcher. You can either modify the
> class or subclass it as is done in the applet launcher class.
>
> On Jan 22, 2010, at 1:46 AM, cmn831203 <at> sina.com wrote:
>
(Continue reading)

Talar Arif | 5 Feb 2010 11:22
Favicon

FW: integration test cases

 

Hi,

 

I have a question on integrating test cases with abbot, do you have any information about that or a paper or user guide that might help?

 

Thank you

 

Cheers

Taylar

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
abbot-users mailing list
abbot-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/abbot-users
Talar Arif | 5 Feb 2010 13:17
Favicon

FW: FW: integration test cases

 

 

Hi,

 

I have a question on integrating test cases with abbot, do you have any information about that or a paper or user guide that might help?

 

Thank you

 

Cheers

Taylar

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
abbot-users mailing list
abbot-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/abbot-users
wmotycka | 16 Feb 2010 18:20
Favicon

Expression step examples?

Hi Abbot Users,

I'm intrigued by the power of the Expression capability in Abbot but I
can't for the life of me figure out the syntax / usage when I try to embed
one into an XML Abbot script.  Does anybody have any examples they would
share on the syntax and any caveats surrounding the expression operator?

Thanks. great work Tim, Abbot is a great tool!

Wayne Motycka
CS Dept. Univ of Nebraska - Lincoln

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
Grant Birchmeier | 16 Feb 2010 18:46
Gravatar

Re: Expression step examples?

We've been using the crap out of Expressions.  Basically, it's just
Java code inside the tag, except a little looser.

<expression><![CDATA[
import whatever; // if you need to import

// notice that orders is implicitly typed
// (you might still need to import the type, though)
orders = component("tbleOrders");  // defined in an earlier component tag;
assertEquals(0, orders.getRowCount());
]]></expression>

Always use the CDATA tag (or directive, or whatever you call it).  It
basically escapes everything before "]]>" so your code doesn't get
mistaken for XML.

The "component" function is an Abbot built-in.  See
http://abbot.sourceforge.net/doc/user-guide.shtml -> "Arbitrary Expressions"
for other built-ins.

And of course, you'll want to check out the Beanshell docs, since
Beanshell is what interprets the Expression.
http://www.beanshell.org/docs.html

-Grant

On Tue, Feb 16, 2010 at 11:20 AM,  <wmotycka <at> cse.unl.edu> wrote:
> Hi Abbot Users,
>
> I'm intrigued by the power of the Expression capability in Abbot but I
> can't for the life of me figure out the syntax / usage when I try to embed
> one into an XML Abbot script.  Does anybody have any examples they would
> share on the syntax and any caveats surrounding the expression operator?
>
> Thanks. great work Tim, Abbot is a great tool!
>
> Wayne Motycka
> CS Dept. Univ of Nebraska - Lincoln
>
>
> ------------------------------------------------------------------------------
> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-dev2dev
> _______________________________________________
> abbot-users mailing list
> abbot-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/abbot-users
>

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
Timothy Wall | 16 Feb 2010 19:28
Gravatar

Re: Expression step examples?

The expression step uses beanshell syntax and auto-loads a short  
beanshell script (in /abbot/script/init.bsh in the jar file) to define  
a few useful functions.

On Feb 16, 2010, at 12:20 PM, wmotycka <at> cse.unl.edu wrote:

> Hi Abbot Users,
>
> I'm intrigued by the power of the Expression capability in Abbot but I
> can't for the life of me figure out the syntax / usage when I try to  
> embed
> one into an XML Abbot script.  Does anybody have any examples they  
> would
> share on the syntax and any caveats surrounding the expression  
> operator?
>
> Thanks. great work Tim, Abbot is a great tool!
>
> Wayne Motycka
> CS Dept. Univ of Nebraska - Lincoln
>
>
> ------------------------------------------------------------------------------
> SOLARIS 10 is the OS for Data Centers - provides features such as  
> DTrace,
> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-dev2dev
> _______________________________________________
> abbot-users mailing list
> abbot-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/abbot-users

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
Timothy Wall | 24 Feb 2010 13:11
Picon

Re: Abbot Question

This is usually due to your Java source using the system class loader  
instead of the context/thread class loader to find a resource.  You'll  
either have to put the resource where the boot/system class loader can  
find it, or fix the Java source to use the proper class loader.

On Feb 24, 2010, at 5:12 AM, Wang, Scott (Yang) wrote:

> Hi Wall:
> I am a GUI automation engineer of Spirent Communication, and also  
> one of you fans. I really appreciate your great work ABBOT.
> I am now using ABBOT frame work to test our java swing application.
> I got a strange problem which is when I load all the JAR files into  
> eclipse IDE (from Project Properties->Java Build Path->Libraries- 
> >Add External jars) ,and then use Launch class -> run method, my  
> application will be launched successfully. But when I load all the  
> JAR files dynamically which I merge all JAR file’ path into a STRING  
> parameter as the CLASSPATH, and then using run method again .I got a  
> strange error.
>
> Please see below log
>
>  Uncaught error fetching image:
> java.lang.NullPointerException
>     at sun.awt.image.URLImageSource.getConnection(Unknown Source)
>     at sun.awt.image.URLImageSource.getDecoder(Unknown Source)
>     at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)
>     at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
>     at sun.awt.image.ImageFetcher.run(Unknown Source)
>
> I look forward to your reply.
>
>                                                                                                   Scott
>                                                                                                               Thanks
>
>
>
>
> E-mail confidentiality.
> --------------------------------
> This e-mail contains confidential and / or privileged information  
> belonging to Spirent Communications plc, its affiliates and / or  
> subsidiaries. If you are not the intended recipient, you are hereby  
> notified that any disclosure, copying, distribution and / or the  
> taking of any action based upon reliance on the contents of this  
> transmission is strictly forbidden. If you have received this  
> message in error please notify the sender by return e-mail and  
> delete it from your system. If you require assistance, please  
> contact our IT department athelpdesk <at> spirent.com.
>
> Spirent Communications plc,
> Northwood Park, Gatwick Road, Crawley, West Sussex, RH10 9XN, United  
> Kingdom.
> Tel No. +44 (0) 1293 767676
> Fax No. +44 (0) 1293 767677
>
> Registered in England Number 470893
> Registered at Northwood Park, Gatwick Road, Crawley, West Sussex,  
> RH10 9XN, United Kingdom.
>
> Or if within the US,
>
> Spirent Communications,
> 26750 Agoura Road, Calabasas, CA, 91302, USA.
> Tel No. 1-818-676- 2300
>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
Ganesh Ramakrishnan | 25 Feb 2010 11:14
Picon

How do i set my VM settings for my application

Hi,
    My application needs some -D<xyz> options like -Duser.dir=  to be 
set while invoking the VM .How do i set it while launching my app from 
abbot?
Thanks
Ganesh

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
Ganesh Ramakrishnan | 25 Feb 2010 13:24
Picon

Re: How do i set my VM settings for my application

Thanks Timothy... I thried and it works.

Ganesh

Timothy Wall wrote:
> this settings must be applied when launching the VM.
>
> On Feb 25, 2010, at 5:14 AM, Ganesh Ramakrishnan wrote:
>
>> Hi,
>>    My application needs some -D<xyz> options like -Duser.dir=  to be
>> set while invoking the VM .How do i set it while launching my app from
>> abbot?
>> Thanks
>> Ganesh
>>
>> ------------------------------------------------------------------------------ 
>>
>> Download Intel&#174; Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>> _______________________________________________
>> abbot-users mailing list
>> abbot-users <at> lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/abbot-users
>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

Gmane