java - DesiredCapabilities object not getting its properties -


i trying use desiredcapabilities in selenium 1 of project. have created new project , imported selenium standalone jars along libs (tried 2.44 , 2.45 versions). have written below code,

import org.openqa.selenium.remote.desiredcapabilities;   public class desiredcapatest {  desiredcapabilities capabilities = new desiredcapabilities(); capabilities.   } 

when write 'capabilities.' expect see different options set etc. seeing message 'unavailable-bsh.capabilities'. same code working fine in office machine.

my home machine windows 8.1 , office machine windows 7, not sure whether matter. awaiting feedback.

the function list not displayed when not have jar file: selenium-java-2.43.0.jar added build path of project.

please make sure have jar files added build path.

  1. right click on project->build path->configure build path
  2. goto libraries->add external jar files
  3. add jar files made available selenium (please check bsh-1.3.0.jar well)

Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -