Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » testing content assist on a text field
testing content assist on a text field [message #1428249] Sun, 21 September 2014 14:32 Go to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
Hi

from what I understand there's no way of testing the content assist on a
Text field, is it?

Something like autoCompleteProposal in SWTBotEditor

cheers
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Re: testing content assist on a text field [message #1430653 is a reply to message #1428249] Wed, 24 September 2014 16:08 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

It depends on what you mean by testing content assist.
If content assist is already shown, then it is most likely another
Shell, and SWTBot can look for items in it.

--
Mickael Istria
My job: http://www.jboss.org/tools
My blog: http://mickaelistria.wordpress.com
My Tweets: http://twitter.com/mickaelistria
Re: testing content assist on a text field [message #1431894 is a reply to message #1430653] Fri, 26 September 2014 09:46 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
Mickael, I actually meant a method in SWTBotText like the method SWTBotEditor.autoCompleteProposal

Do you think it's worth adding it to SWTBotText?

cheers
Lorenzo
Re: testing content assist on a text field [message #1433726 is a reply to message #1431894] Mon, 29 September 2014 07:14 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

> Do you think it's worth adding it to SWTBotText?

That's worth discussing (on swtbot-dev to get more opinions).
My first idea is that showing up a pop-up is part of the application,
and not of SWT core, so I don't think it fits directly into SWTBot.
--
Mickael Istria
My job: http://www.jboss.org/tools
My blog: http://mickaelistria.wordpress.com
My Tweets: http://twitter.com/mickaelistria
Re: testing content assist on a text field [message #1433795 is a reply to message #1433726] Mon, 29 September 2014 08:45 Go to previous message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 29/09/2014 09:14, Mickael Istria wrote:
>> Do you think it's worth adding it to SWTBotText?
>
> That's worth discussing (on swtbot-dev to get more opinions).
> My first idea is that showing up a pop-up is part of the application,
> and not of SWT core, so I don't think it fits directly into SWTBot.

OK, I'll move the discussion there :)

cheers
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Previous Topic:Cannot use ClickContextMenu on a extended SWTBot widget
Next Topic:Cannot use ClickContextMenu on a extended SWTBot widget
Goto Forum:
  


Current Time: Tue Mar 19 03:46:52 GMT 2024

Powered by FUDForum. Page generated in 0.02829 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top