Category «Automation»
Selenium Python Beginner Tutorial – Learn Selenium Python in one video | Step by Step
Notes: Today we will learn: 1. How to download python on windows 2. How to install python 3. How to install selenium python libraries 4. Download IDE – PyCharm 5. Create new project 6. Add selenium scripts 7. Run and Validate Step 1 : download python – https://www.python.org/downloads/ Step 2 : Install and check python …
Selenium Beginner 15 – How Selenium interacts with PhantomJS
Notes: Recommended – How to use PhantomJS (Headless Browser) Today we will learn : 1. What is PhantomJS 2. How Selenium interacts with PhantomJS Helpful TIPS interview section.. Pros and Cons of PhantomJS 1 What is PhantomJS PhantomJS is an open source Headless Browser. (It is a web browser without graphical user interface) It is …
Selenium Beginner 14 – How to use PhantomJS (Headless Browser)
Notes: Recommended – How Selenium interacts with PhantomJS Today we will learn : 1. How to download PhantomJS 2. How to add in selenium project 3. How to run selenium test on PhantomJS How to download PhantomJS Step 1 Download phantomJS for your OS http://phantomjs.org/download.html Step 2 (optional) Download PhantomJS Driver Not Required with latest …
Selenium Beginner 13 – How to use HtmlUnit Driver
Notes: Pre-requisites – Selenium jars should be added to the project. This is covered in the earlier session on this series. Selenium Beginner 5 – How to write first Selenium script (java) – 5 Easy Steps Today we will learn : 1. What is HtmlUnit Driver 2. How to run test with HtmlUnit Driver HtmlUnitDriver …
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 10 – How To Use Config Properties File
Notes: Today we will learn: 1. What is a properties file 2. How to create a properties file 3. How to get data from properties file 4. How to set data to properties file 5. Run test using Properties file Helpful TIPS _______________________________________________ How to get data from properties file STEP 1: Create a object …
Selenium Beginner 9 – How To Make Code MODULAR
Notes: Today we will learn: 1. How to identify actions 2. How to make code modular _____________________________ Step 1: Create methods for separate actions/functionality Step 2: Copy required code from main to these methods Step 3: Call the methods from main in required sequence Step 4: Run and Validate Helpful Tips: 1. Create a separate …
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 …