What is Chrome Option in Selenium?

1. ChromeOptions in Selenium which will help to manage options like (browser in headless mode, disable info bar, add Extensions, setBinary, Load default or custom profile) to Chrome Driver. 2. ChromeOptions class extends MutableCapabilities. 3. If you want to pass any capabilities, try to use ChromeOptions. Ex.1.  Chrome Automation Info-bar            ChromeOptions Read more about What is Chrome Option in Selenium?[…]

Why Robot framework in Selenium?

Why to use  Robot Class? Because Selenium  is unable to Interact with operating system pop-ups or .exe Application So,Whenever there is a need to control keyboard or mouse to interact with OS windows like Download pop-up, Alerts, .exe applications like Notepad,Calculator, etc. Its required to use   “Robot  Class”. It helps in downloading/uploading of file. Robot  Class Read more about Why Robot framework in Selenium?[…]

Create a selenium java Framework and Project.

Readers can directly use this framework, this is compatible with all types of framework. You can download the framework using following link: https://drive.google.com/open?id=1B4ASNArSaUo8p4tB-Hf6959K0pBL5bta Create a Sample selenium java Framework and Project.    Step 1. Install TestNg Using Eclipse Marketplace.  Step 2. Go To                 File-> New -> Other -> -> Maven ->Maven Project -> Click Next Read more about Create a selenium java Framework and Project.[…]

How to take Screenshots when test fails in Selenium?

This method is used to take snapshot on test fail. This method will create separate folder for each test Class and store snapshot everytime with qualified name that contains ClassName, method name and date time of screenshot. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 Read more about How to take Screenshots when test fails in Selenium?[…]