how to configure selenium(webdriver)framework under eclipse - selenium-webdriver

i have readymade framework for selenium(webdriver)(datadrievnfreamework). Please tell me how to configure that framework under eclipse . please help me out

Put some efforts to search in Google.
Kindly refer the eclipse guide for setting the environment. For some basic setup, refer:
http://selftechy.com/2011/03/18/selenium-setting-up-selenium-eclipse
For parameterization, refer:
http://diveintotesting.com/2013/02/23/parameterizing-selenium-webdriver-tests-using-testng-a-data-driven-approach/
For further coding using webdriver, refer:
https://code.google.com/p/selenium/wiki/GettingStarted

Follow below steps to configure selenium webdriver with eclipse
Download latest selenium jar zip files for JAVA form
http://www.seleniumhq.org/download/
(http://selenium-release.storage.googleapis.com/3.4/selenium-java-3.4.0.zip)
Extract zip file
Open Eclipse > Add New java Project by right click on left side
package explorer
Right Click on package explorer > NEW > Java Project
Right click on project > Select properties > Select Java Build Path
Select Libraries tab > Click on Add External JARs
Import all jar by selecting form extracted selenium jar folder & click on OK
Note - Every Time you need to follow same process , when you create new Selenium Automation project

Related

Selenium - WebDriver & Chrome Driver

I have newly setup the selenium in my pc.
I have installed 9.0.4 Java and installed the eclipse oxygen. I have configured the environment variables and downloaded chrome driver is placed in my folders.
I have downloaded the selenium jar files configured those as well.
But, when I type the webdriver in the selenium code, I am getting the error prompt at left side as per the attached snap in this message.
Can some one please look into this and suggest to proceed further ?
Thanks,
Venkat
Have you put your jar file outside the project , if you have done , you have to set Deployment Assembly along with build path. Just right click on project , go to properties and set this.
1)selenium jar is missing in library folder so You can do one thing... Create a folder into your project and and copy selenium jar, and build path the project and select selenium jar, you will get entry into library folder.
2)Refresh the project or restart your eclipse

Codename One Gui Builder error

New install of Eclipse Mars.1, install codename one from market place, new install of Java 1.8 running on OSX 10.9.4.
Eclipse and the project itself are set to use Java 1.8 for all compilations, I also changed the settings in the build.xml to set 1.8 as the version to use.
When I try to add a gui builder page by right clicking on the project title and selecting "New/Other" and selecting Gui Builder, then next & finish I get the error.... '<>' operator is not allowed for source level below 1.7.
Searched Google for the error and nothing related to Codename one.
Any help would be greatly appreciated.
Open build.xml and do find and replace to replace all 1.7 with 1.8.
Open project properties (You will find it under File), and switch to Sources tab, make sure that Source/Binary Format is set to JDK 8.
Switch to CodenameOne tab and select Build Hints, now add java.version key and give it a value of 8, if it's not already added.
The latest plugin v 1.0.0.201606211322 resolves this issue

Missing launchfile after exporting E(fx)clipse RCP product application

I'm trying to export a Eclipse FX application as an product. So far I did the tutorial from here to create an example application. The application can be started via the Launch an Eclipse application button which shows up in the product file editor. When the applicaion is lanuched it works as supposed.
The problem now is the export as a product. When I hit the Eclipse Product export wizard another dialogue opens which asks me for the location for storing the product export. Afterwards I hit the Finish button and the export completes without any warnings. The result is a eclipse folder which contains some files and folders (which look correct so far) but there is no executable / launch file.
I have no clue what is going wrong here. I also tried the delta package (the one released especially for the eclipse version. I downloaded both the Eclipse an the delta package from here to avoid incompatibilities.
Im using
Ubuntu 12.04 LTS
Eclipse SDK Luna SR1 (4.4.1) Bild id: M20140813-0800
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
I'm thankful for any help :-)
Finally I found a solution the stated problem. It is unfortuneatley not intuitive. You need to add the eclipse installation directory to the target platform and afterwards to the 'pom.xml' in your product folder. Now I describe the solution step by step. Go to 'Preference > Plug-in development' select the JavaFX target platform and edit it. In the Tab 'Locations' you select 'Add... > Directory > next' and select the root folder of you eclipse installation. In my case it was '~/eclipse'. After a 'Project > Clean ... > clean all projects' and the export works perfectly.

can't create a New Web Application Project in eclipse indigo?

can anyone help me.I cant create a new web application.I mean i cant find the menu option for it. I downloaded eclipse indigo (java) extracted it any started using it, I also downloaded google app engine SDK,google plugin and GWT.and installed them but i can't find create new web application project option in toolbar nor in menu options.
File -> New -> Web Application Project
You've a problem with the installation of these plugins if you don't have this option. Try to restart the Eclipse.
Execute all the steps of the official installation instruction.
Just resolved this exact same problem myself. Highly recommend you download the plugin package to your machine and install it locally. You can download it here:
https://developers.google.com/eclipse/docs/install-from-zip
There are instructions to follow and it worked flawlessly. Hope it helps anyone else who is lost on the plugin install.
Once you installed Google App Engine SDK, you should be able to see web application by following this
select File > New > Web Application Project from the Eclipse menu.
if not, follow this
select File > New > Other > Google > Web Application Project
Official Instructions
Depend what you are using i have eclipse kepler and i can't find "web app prject" butthere is a little google icon that is google plug in for eclipse when u go there and start using plug in you could find web app and all options of google app engine also can find "web app" create project and deploy app.

PHP Eclipse - importing existing CakePHP projects

I'm trying to import existing Cake 1.2 projects into PHP Eclipse (latest all-in-one download on Galileo build) - I don't think I understand Eclipse properly:
1) I have created Workspace on my web root C:\Program Files\xampp\htdocs
2) I have created new Project C:\Program Files\xampp\htdocs\EclipseCake
... how do I import my existing cake project into my new project (EclipseCake) ?
I tried Configure Include Path -> Project -> Add ... but no file browser appears. I'm obviously misunderstanding this.
There's an "Import" in the menu if you right click the new project's name.What you need to do is click it and choose "Filesystem" and click "next" button.You may read this tutorial about eclipse.

Resources