Trouble Installing Selenium RC Java Client Driver - java

I'm trying to set up Selenium RC with Eclipse, but when I download the .zip from the Selenium HQ website it comes with several files included. Which is the Java Client Driver that I need to include in my project?

The client driver is selenium-java-2.0b3.jar if you are using the one that is on the SeleniumHQ site. I'd recommend downloading the release candidate here, which is a more recent version. (It probably hasn't made it to the main site yet because it was uploaded only 4 hours ago.)

Related

MySQL Installer for Netbeans 8.0.1

I guess this is a very basic question but it stucked me for two days.
I am new to Java and creating a webapp in Netbeans 8.0.1. Static app get created easily. For Db based app, I require MySQL installation. Earlier I believed that MySQL server is there inside Netbeans 8.0.1, kindly confirm if it is right?
Also I found number of MySQL installers but no free version is configuring correctly because of disabled options. If MySQL server is mandatory for WebApp in Java following Netbeans 8.0.1, can I get a recommendation for any stable MySQL installer please.
I believe you can find the links to install all of the MySQL server or management tools here:
http://dev.mysql.com/downloads/windows/installer/
You can use the MySQL Installer to easily install the tools that you need.
mysql download
I downloaded mqsql from this link and it works fine with eclipse.

java.lang.classnot found exception

I created a jar file from netbeans of my java application which is displaying mysql records. I am trying to run it on another computer which doesnt have netbeans but rather java SE. I fixed a major minor version issue by installing a latest java SE version. It is now running the jar file by now the next issue is it is giving me the java.lang.classnotfoundexception: con.mysql.jdbc.Driver
I tried to copy the mysql-connector-java-5.0.8-bin into second computer as well, but no luck.
Actually I need a solution where I just copy the jar file and able to run it as a server. I want to install it on multiple computers on the site, which might not allow me to install netbeans from internet.

GWT Developer plugin for Chrome and Internet Explorer - error preventing installation

I am trying to install the GWT Developer plugin for Chrome (Version 34.0.1847.131 m) and I get the following error "This application is not supported on this computer. Installation has been disabled. The following problems are detected:" and "NPAPI plugin is required by this app". Is there a way around this?
I have installed Microsoft Visual C++ 2008 SP1 Redistributable Package as suggested by one answer.
I am also trying to run in Explorer (version 11) and it requires me to download the GWT Developer plugin for Firefox. Which then requires content to be opened in a new window. I then elect to open "gwt-dev-plugin.xpi". When it finishes downloading it requests me to save it (if I open it it just download again). Is there a way around this?
I am running on Windows 8.1.
I am also trying to run in Explorer (version 11) and it requires me to download the GWT Developer plugin for Firefox.
To avoid that, open IE11 dev tools and under the "Emulation" menu change the "Document mode" from "Edge" to "10". The page should refresh and from there you should be able to install the GWT plugin for IE.
Once it's installed you can fall back to the "Edge" document mode.
Worked for me.
But as #apanizo said, I'd use the Super Dev Mode if possible. The dev mode is already not supported anymore in the latest firefox and it is going to be the same for the upcoming Chrome 35. No clue about IE though.
Enable the GWT Developer Plugin in Chrome.
Check for other plugin that is installed on Chrome.
Click on plugins for other systems to get more GWT Developer plugins.
Here is the URL for GWT missing-plugin.
Click on required GWT plugin and simply click on save button as shown below for IE9.
This might be useful for you:
Create shortcut Chrome to desktop.
Right click to shortcut and choose properties.
Click to Compatibility tab
Inside Compatibility mode check "Run this compatibility mode for:" and choose Window 7.
Apply and Ok.
Source: https://code.google.com/p/google-web-toolkit/issues/detail?id=7778
If you want to think Agile, here's what I adopted as a solution:
superDevMode is not practical, it takes forever to compile each time on my i7 with 8Gb of memory.
The solution I adopted is that I'm using FF for developement and I validate everything is fine only after GWT compiling on chrome (once in a while for the pauses).
Seriously I didn't see the point of having dev mode working on all browsers. In addition it runs curiously faster on FF than on Chrome (under windows). For Ubuntu (actually) I had to downgrade my FF to the version 24 to have it work (but since it's only a dev machine it doesn't bother me)
p.s: superDevMode might compile faster if optimized, hoestly I didn't try it: increasing the localWorkers could reduce compile time and make superDevMode a good solution, but I can't tell you; I didn't try that: http://mojo.codehaus.org/gwt-maven-plugin/compile-mojo.html#localWorkers

Can eclipse auto-detect proxy settings?Or can at least create my own local plugin from the update site?

I have a linux machine inside a "closed" network. I.e. no access to the internet.
I have a mac machine that can access the internet.
I installed eclipse in both.
I need to install a plugin in eclipse specifically EPIC for Perl development.
The site offers a link to source forge for offline installation so I downloaded it and tried to install it in my linux machine.
Problem here: The offline version in source forge is old and does not work due to a dependency issue in another plugin of eclipse and this dependency is solved in newest versions of the plugin.
So at this point since the offline version can not work and I don't have access to the internet for the update site to get the latest version I am stuck.
Moving on to Mac:
I have access to the internet but when I add the update site to install the plugin it fails to connect.
But the url is accessible by the browser so I believe that it is due to proxy settings.
When I look at the browser's settings I see that it is set to Auto detect proxy. So I can not copy the proxy ip/port from browser. Also I don't understand how/where the browser finds the proxy to connect to.
Is there a way to make eclipse to auto-detect proxy settings as well? I don't see such an option in Preferences->General->Network Connections.
So what can I do as I am stuck in both cases!
On the top of my head if there was a way to somehow download the files from the update site and create a local installation it would solve my problem in both machines.
But is this possible? How?
What can I do to solve my problems?

Webdriver: Firefox driver doesn't work anymore

I created webdriver project with maven. Everything was fine, but one day my tests throw an exception while they running in Firefox. My Firefox version is 11 at this moment.
In my pom file i tried to change versions, but tests still don't work:
-Error communicating with the remote browser. It may have died.
Or
-Cannot perform native interaction: Could not load native events component.
Please, help with this issue.
I would recommend using Firefox 3.6, 9 or 10, because WebDrivers 2.19.0 and 2.20.0 (today's version) are not yet compatible with Firefox 11.
The official changelog says that version 2.19.0 enables native events in FF10. Also, the version 2.15.0 announces support for FF up to and including FF11. Seems that something got wrong there :). Downgrade to FF10 or similar and you should be good.
I upgraded to Selenium WebDriver 2.25.0 and my tests worked again.

Categories

Resources