title: SWTBot Recorder Generated code bot.contextMenu not found
body: <p>The following is the code generated by SWTBot Recorder. </p>
  
  <pre><code>public class UserInterfaceTester extends SWTBotEclipseTestCase {
      @Test
      public void TableTest() {
          bot.tree().getTreeItem("wtrt").select();
          bot.contextMenu("Expand All").click();
  bot.tree().getTreeItem("wtrt").getNode("erwtesg(3)").getNode("esrgg").select();
          bot.contextMenu("Open Application Metadata File").click();
          bot.text().setText("9.5");
          bot.text().setText("Synopsys");
          bot.text().setText("3.2");
      }
  } 
  </code></pre>
  
  <p>But when I try to put that in my Test case to run inside my project it shows error in bot.contextMenu. It says "The method contextMenu(String) is undefined for the type SWTEclipseBot". </p>
  
  <p>Extending SWTBotEclipseTestCase automatically gives me bot object which is </p>
  
  <pre><code>protected SWTEclipseBot bot = new SWTEclipseBot();
  </code></pre>
  
  <p>But it says it is a deprecated version. It says "Deprecated. use SWTWorkbenchBot. This will be removed from future releases" </p>
  
  <p>Hence I tried </p>
  
  <pre><code>SWTWorkbenchBot bot = new SWTWorkbenchBot(); // by removing extends SWTBotEclipseTestCase
  </code></pre>
  
  <p>that to did not work. What is the issue? Can some one help? </p>