Unable to pass string using ‘sendKeys()’ method

Unable to pass string using ‘sendKeys()’ method

Java compiler is set to 1.5 version change it to 1.6.
This is a very common problem with the Java compiler. All you need to do is just set the Java compiler 1.6 from 1.5.
To change the Java compiler version, complete the following steps:

  1. In the Project Explorer view of the Java EE perspective, right-click the project and then select Properties.
  2. Select the Project Facets page in the in the Properties window. This page lists the facets in the project and their versions.
  3. Click Modify Project.
  4. Double click the version number next to the Java facet to select a different level of Java compiler.
  5. Click Finish to close the Modify Faceted Project window and then click OK.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s