Skip to main content



      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 10:32 Go to next message
Eclipse UserFriend
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 12:08 Go to previous messageGo to next message
Eclipse UserFriend
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 05:46 Go to previous messageGo to next message
Eclipse UserFriend
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 03:14 Go to previous messageGo to next message
Eclipse UserFriend
> 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 04:45 Go to previous message
Eclipse UserFriend
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 May 20 03:17:11 EDT 2025

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

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

Back to the top