Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » How to Enter Text in Textfield Present in Tool Bar of a View
How to Enter Text in Textfield Present in Tool Bar of a View [message #1062290] Fri, 07 June 2013 05:15 Go to next message
pawan garia is currently offline pawan gariaFriend
Messages: 39
Registered: February 2013
Member
Hi All,

I have a Text Filed Present in the ToolBar of an View, but i am not able to Enter Text in that Text Field Every Time Widget of Type Text Not Found Exception is Coming.
I Tried Using the Tool Tip and Other Options but no Luck So far...

Please Help and Find The View Attached.
index.php/fa/15181/0/
Re: How to Enter Text in Textfield Present in Tool Bar of a View [message #1062390 is a reply to message #1062290] Fri, 07 June 2013 13:57 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

As far as I know, SWTBot does not support this construct (text in
toolbar) by default.
You can have a look at how support of other toolbar widgets are
implemented:
http://git.eclipse.org/c/swtbot/org.eclipse.swtbot.git/tree/org.eclipse.swtbot.eclipse.finder/src/org/eclipse/swtbot/eclipse/finder/widgets/SWTBotWorkbenchPart.java#n221

If you can write it as an additioanl method to SWTBotWorkbenchPart,
please contribute it back! http://wiki.eclipse.org/SWTBot/Contributing
--
Mickael Istria
JBoss, by Red Hat
My blog: http://mickaelistria.wordpress.com
My Tweets: http://twitter.com/mickaelistria
Re: How to Enter Text in Textfield Present in Tool Bar of a View [message #1062843 is a reply to message #1062390] Tue, 11 June 2013 05:12 Go to previous messageGo to next message
pawan garia is currently offline pawan gariaFriend
Messages: 39
Registered: February 2013
Member
OK Mickael,

I will Try to provide a Patch For this Functionality, but what about the ComboBox present in the Tool Bar,
For Example In mY case Combo in Which Minutes is present,
How can we handle this type of ComboBox ??

Thanks,
Pawan
Re: How to Enter Text in Textfield Present in Tool Bar of a View [message #1062900 is a reply to message #1062290] Tue, 11 June 2013 10:22 Go to previous message
pawan garia is currently offline pawan gariaFriend
Messages: 39
Registered: February 2013
Member
OK Mickael,

I will Try to provide a Patch For this Functionality, but what about the ComboBox present in the Tool Bar,
For Example In mY case Combo in Which Minutes is present,
How can we handle this type of ComboBox ??

Thanks,
Pawan
Previous Topic:How access checkboxes that are into a field?
Next Topic: SWT Bot upgradation issues
Goto Forum:
  


Current Time: Tue Mar 19 02:12:09 GMT 2024

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

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

Back to the top