Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Scroll in an editor
Scroll in an editor [message #550834] Wed, 04 August 2010 09:24
Mickael Istria is currently offline Mickael Istria
Messages: 738
Registered: July 2009
Location: Grenoble, France
Senior Member
Hi guys,

I have found some issues with scrolling when playing with a GEF test.
All SWTBotGefEditor methods taking as input an EditPart are actually shortcuts that use locations. These methods use the location of the GraphicalEditPart *in the canvas*, whereas the events they generate expect absolute location on *the editor*. That cause troubles when the editor is Scrollable, and that the scrollbar is not on the top: it makes the location of the editpart different from the location of the click it will generate.
Is there a method in SWTBot to scroll in an Editor?

--
Mickael Istria -- BonitaSoft S.A.
http://www.bonitasoft.com/products/downloads.php
Previous Topic:SWTBot tests under buckminster
Next Topic:bot.waitUntil does not work as expected when running swtbot through ant
Goto Forum:
  


Current Time: Fri Aug 01 10:07:24 EDT 2014

Powered by FUDForum. Page generated in 0.03184 seconds