Category «Testing»

Selenium Beginner 12 – What are Headless Browsers

Notes: Today we will learn: 1. What are Headless Browsers 2. Why should we use Headless Browsers 3. When should we NOT use Headless Browsers 4. Examples of Headless Browsers Helpful TIPS Html Unit browser PhantomJS TrifleJS SlimmerJS ZombieJS References: Headless Browsers list – https://gist.github.com/evandrix/3694955 Xvfb wikipedia – https://en.wikipedia.org/wiki/Xvfb Xvfb Jenkins Plugin – https://wiki.jenkins-ci.org/display/JENKINS/Xvfb+Plugin Stack …

Selenium Beginner 11 – How To Create JAR File

Notes: Today we will learn: 1. How to create a runnable JAR 2. How to run the test from command line STEP 1 : Create a runnable jar from eclipse project STEP 2 : Run the jar file from command line java -jar name.jar References: Java Beginner Tutorial 7 – JAR (Java Archive) basics –https://www.youtube.com/watch?v=QB19Wqimkq4&index=7&t=422s&list=PLhW3qG5bs-L_qj1L5hnHvJYeFpQ_g4UuU …

Selenium Beginner 8 – How to run test on Chrome Browser

Notes: Today we will learn: Step 1 – How to download ChromeDriver Step 2 – How to set ChromeDriver in System Properties System.setProperty(“webdriver.chrome.driver”, “location of chrome driver executable”); WebDriver driver = new ChromeDriver(); Step 3 – Run test in Chrome Browser helpful tips | interview section References : Selenium HQ – http://www.seleniumhq.org/ ChromeDriver exe release …

Selenium Beginner 7 – What is Gecko Driver

Notes: Today we will learn: 1. What is GECKO 2. What is Gecko Driver 3. Why selenium needs gecko driver Refereces Gecko Browser Engine – https://developer.mozilla.org/en-US/docs/Gecko/FAQ Wikipedia – Web browser engine – https://en.wikipedia.org/wiki/Web_browser_engine Wikipedia – Comparison of web browser engines – https://en.wikipedia.org/wiki/Comparison_of_web_browser_engines Marionette – https://developer.mozilla.org/en-US/docs/Mozilla/QA/Marionette Marionette driver documentation – http://seleniumhq.github.io/selenium/docs/api/java/ Gecko driver releases – https://github.com/mozilla/geckodriver/releases …