New work-space:
New workbench:
Creating new project:
By clicking java project and give the project name>click next:
Click finish
After clicking finish, it looks as like this…
Next: to create folder within project for importing jar files of Selenium, TestNG
Give the Folder name and click finish
Given folder is present under project:
Download selenium
Import jars files as copy and paste into the folder
Or
Go to choose folder>right click>build path>configure build path
Click libraries
Click>libraries tab>add external jars and browse the selenium download and click open
Now click>OK
Here: selenium-server-standalone-version is added
Configure build path
Click>OK
Creating package:
File>new>package
Creating class:
Click finish
Adding sample of Selenium RC commands
Here click import Firefox driver
Run as java application:
Before save it else it ask as like this
New workbench:
Creating new project:
By clicking java project and give the project name>click next:
Click finish
After clicking finish, it looks as like this…
Next: to create folder within project for importing jar files of Selenium, TestNG
Give the Folder name and click finish
Given folder is present under project:
Download selenium
Import jars files as copy and paste into the folder
Or
Go to choose folder>right click>build path>configure build path
Click libraries
Click>libraries tab>add external jars and browse the selenium download and click open
Here: selenium-server-standalone-version is added
Configure build path
Click>OK
Creating package:
File>new>package
Creating class:
Click finish
Adding sample of Selenium RC commands
Here click import Firefox driver
Run as java application:
Before save it else it ask as like this
No comments:
Post a Comment