Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » How to click a button under a CTabFolder?
How to click a button under a CTabFolder? [message #1064567] Wed, 19 June 2013 23:21 Go to next message
Minnie P is currently offline Minnie P
Messages: 13
Registered: January 2013
Junior Member
Can someone help me with the code on how to click this "Import data structure..." button under a CTabFolder.(Pic Attached)
  • Attachment: Capture.JPG
    (Size: 47.56KB, Downloaded 52 times)
Re: How to click a button under a CTabFolder? [message #1065264 is a reply to message #1064567] Tue, 25 June 2013 07:42 Go to previous messageGo to next message
pawan garia is currently offline pawan garia
Messages: 39
Registered: February 2013
Member
You can use the Simple

bot.button(buttonTitle).click();

Try to get the label of the Button which should be in your case is Import data structure ...
So Code must be
bot.button("Import data structure ...").click();
Re: How to click a button under a CTabFolder? [message #1421089 is a reply to message #1065264] Wed, 10 September 2014 23:22 Go to previous message
Minnie P is currently offline Minnie P
Messages: 13
Registered: January 2013
Junior Member
thanks pawan.It helped.
Previous Topic:[Maven/Tycho] First editor activation event not delivered?
Next Topic:How to get failed test cases in the middle.
Goto Forum:
  


Current Time: Sat Oct 25 00:05:05 GMT 2014

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

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