Java export missing from Selenium IDE 1.0.9 - selenium-ide

I am new to Selenium. I am using Firefox and trying to export the test case out to a Java file, but the option for Java is missing from the menu. Any idea how to fix it?

The latest Selenium version is 1.0.9.
Click Options / Format and then any of JUnit3 / JUnit4 / TestNG.
These will export Java test cases which you can easily run inside Netbeans.
The code extends SeleneseTestCase (which extends the normal JUnit TestCase).

You have to download selenium Ide new Version, download selenium new version from the link given below
http://seleniumhq.org/download/
Open Selenium iDE.
File > Export test cast > choose the language in which do you want to convert
http://screencast.com/t/ZrfGQbGZFLTj

Related

How to run Junit Test (Java) from VSCode

I have an Eclipse Maven project that uses selenium and Junit to run some tests.
It currently works fine when I run it as Junit Test.
I want to try out the ide from visual studio code but I can't get it to work. I am getting the following message:
ConfigError: The project 'CopaSelfWebCheckIn' is not a valid java project.
I know there is no main folder. I rather run it from where it is right now.
Can someone explain me how to set this up. Thanks.
Make sure you have all the required java extension installed on your VS-Code
Mainly
Test Runner for Java
Language Support for Java(TM) by Red Hat
Maven for Java (if you have any dependencies)
Debugger for Java
Project Manager for Java
All these extensions are packed with a single extension Extension Pack for Java
if you have installed proper dependencies and extensions your vscode will look similar to the below picture

Not able to run Gatling from Eclipse

I downloaded sample Gatling maven project from here . I am able to run test from command-line but I also would like to run it from Eclipse.
I imported project to Eclipse as existing maven project and I installed Scala IDE. The documentation says: "Simply launch the Engine class in your IDE." And the question is how I can run that Engine class? Should I create new configuration to run it? Could anybody explain it please?

How can I add new Formats in Selenium IDE?

I am using Selenium IDE 2.9.0. After recording my tests in Selenium IDE, I am able to export code into Java / JUnit4 / WebDriver format. There is no option to convert into Java / TestNG / WebDriver.
I like to add Java / TestNG / WebDriver format in Selenium IDE. Is it possible? If yes, what's the way to do that?
Create a plug in or google to see if one exists:
https://code.google.com/p/selenium/issues/detail?id=5492

How to use selenium IDE to generate HTML report

My project is written by GWT, now I am using selenium IDE to record steps I made for every page. My question is how to generate the HTML report after executing the test suite in selenium IDE. Thanks!
From Selenium Builder ( or Selenium IDE) , you can save-as type of "Java TestNG" file. Then, if you execute the class using TestNG, it will auto-generate a report for you.

Groovy support in NetBeans

I'm trying to set up Groovy in NetBeans 7.4, apparently it should already be installed and ready to use.
I'm following the guide in the NetBeans documentation, but step 6 says "Select Groovy Class in the Groovy category."
When I right click in the project to add a new file, i have no Groovy Category! What am I missing here?
You need to download the "ALL" variant of Netbeans, or install the Groovy Plugin from inside Netbeans to get Groovy Support :-)