Sunday, 18 December 2016

selenium webdriver - Java - IDE - Browser setup

For setting up our first test need remaining components:

JAVA:


We'll be using java 7 or sdk 1.7.


Remember to download the version for your OS 32/64 bit.

also refer link for installation.

IDE - (IntelliJ)



Download and install community version.

BROWSER (Firefox 47.010)


last but not the least get the appropriate FF version(47.0.1) compatible with Selenium 2.53.1. Download and install from link below.
https://ftp.mozilla.org/pub/firefox/releases/47.0.1/win64/en-US/

Remember to pick download distribution 32/64bit. Make sure you have only one FF version installed otherwise webdriver fails to detect default version and throws exception.

Summary: These are remaining component for basic webdriver setup, once we have them all next step will be to setup our project and create our first webdriver test...

Feel free to ask why java 7? why IntelliJ ? and what about FF 47.0.1 ? 


Friday, 16 December 2016

Selenium Webdriver - Getting Selenium jars

let's get started ....





Download two files
(once zip file is downloaded extract into a folder)

Summary: up till now we have just acquired specific version of Selenium webdriver (2.53.1), 
Q: why not we are selecting webdriver 3? 
ANS: simple answer Selenium 3 requires Java8 and for starter keeping things simple(nothing else). The zip file is exactly for that purpose, to make selenium work with Java.
No need to worry about the word Java we will be getting hands on with that, for now its important where this fits in the big picture.



Disclosure:
There is no secret the best resource for learning Selenium/webdriver is its official documentation.


And off course all other resources youtube/urls are available, key is to stay focus and concentrate one topic at a time.

 Please feel free to ask any question even if you want to ask what is .jar ? frankly would recommend google for that but definitely provide the reason why its there ...

Will back with brief description of another component soon.