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 19:21 Go to next message
manali pattem is currently offline manali pattem
Messages: 5
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 37 times)
Re: How to click a button under a CTabFolder? [message #1065264 is a reply to message #1064567] Tue, 25 June 2013 03:42 Go to previous message
pawan garia is currently offline pawan garia
Messages: 20
Registered: February 2013
Junior 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();
Previous Topic:swtBot UI tests execution using maven tycho
Next Topic:SWTBot and RAP
Goto Forum:
  


Current Time: Sat Apr 19 08:51:29 EDT 2014

Powered by FUDForum. Page generated in 0.04498 seconds