From: Tony W. <ant...@ko...> - 2007-11-02 17:44:48
|
Timothy Wall wrote: > Probably the easiest thing is to just do a click or double click on > the cell of the table you want. You don't need the checkbox reference > that auto-recording provides, since it is only a transient component > that doesn't actually exist in the hierarchy. Thanks for reply , Im still a bit confused In what context are you talking about , click while recording or clicking programmatically as part of a unit test or a bean shell script. The click of the check box doesnt seem to work when recording, and so I was trying to do it in a Bean Shell expression which brought me to post my question. > > As for editing expressions, you can put anything in there that's valid > Java code, with beanshell extensions (see http://beanshell.org). > There are a few predefined functions defined in an init script > (bsh.init) included in the jar file to help with UI-related stuff. > Put valid java code where ? The little text box that costello presents for expression insertion doesnt take a paste of a chunk of code Does one hand edit the script xml to put the expression in there . This just seems to difficult, I must be missing something ?? Perhaps what I need is a sample of a costello script that has a non-trivial expression in it. I'll keep digging around. Thanks > On Nov 1, 2007, at 10:47 AM, Tony Whyte wrote: > >> Hi, >> >> I'm trying to work an issue with not being able to click JCheckBoxes in >> JTables. Ive gleened from the archives that it can be done with some >> expression logic , but I cant seem to figure out how to get that >> expression code into my costello script. I must be attacking this wrong. >> The expression is a chunk of bean shell code a few lines long but the >> "Insert-expression" in costello only gives me a one line text field that >> doesnt seem to accommodate anything but a simple expression. Ive got to >> be missing something here on how to use Abbot. >> >> Any help is appreciated >> >> Thanks >> Tony >> >> ------------------------------------------------------------------------- >> >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> abbot-users mailing list >> abb...@li... >> https://lists.sourceforge.net/lists/listinfo/abbot-users > > > > Timothy Wall > http://abbot.sf.net > > |