From: Timothy W. <tw...@oc...> - 2005-12-24 22:32:42
|
you can manually invoke the button's "doClick" method using a Call =20 step, althought technically you should do it on the EDT rather than =20 from the test thread. otherwise, the behavior of ComponentTester is exactly as advertised; =20 if there is no way the user could click the button, the action will =20 fail. On Dec 24, 2005, at 3:58 PM, Laird Nelson wrote: > Hello; brand new Abbot user here. I have tried to do my homework and > research this question elsewhere, but I haven't found anything. > Simple pointers to the Right Place are happily accepted. > > I have an Outlook-like application (tree down the left, couple of > panes on the right). I am trying to create a script in Costello with > a minimum number of absolute actions (e.g. resize this frame to > exactly this dimension, click on point x,y, etc.). My script selects > a node in the tree, waits for the corresponding panes to become > visible, and then attempts to click a button I have also waited for. > > The button itself is not on the screen at this point, so the test > fails. That is, the window is not big enough that the button shows > itself. Costello says, understandably, that it cannot scroll to this > button (especially since we aren't even in a scroll pane). > > I can get the test to work if I resize the frame, obviously, and that > is indeed how a user must work it, but is there any kind of shorthand > I can use within Costello to say something like, yes, yes, I know the > button isn't showing at the moment, but could you kindly click on it > anyway, since it is visible and enabled? > > Thanks, > Laird > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through =20 > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD =20 > SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id=16865&op=3Dclick > _______________________________________________ > abbot-users mailing list > abb...@li... > https://lists.sourceforge.net/lists/listinfo/abbot-users > Timothy Wall Oculus Technologies Corporation |