April 2018 – Make Selenium Easy

Hello Folks, Let’s learn something interesting in selenium webdriver. We know whenever we launch a browser, first browser serve is started which helps in communication between browser and selenium commands. The same process is repeated for every test if you launch and quit browser every time. Let’s understand above point with an example below: Run … Continue reading Controlling Browser Driver Services In Selenium WebDriver

Hello Folks, It is very frequently asked interview question. Interviewer expects that you should be aware about internal logic of selenium. We know that to launch a browser through Selenium we need to download a browser driver executable file (chromedriver.exe, geckodriver.exe etc). Why do we require that? Let me relate it with a real time … Continue reading Why Do We Require Browser Driver Executable File To Launch A Browser In Selenium WebDriver?

Hello Folks, In this post, we will learn about Linear Framework of Selenium webdriver. We know, any framework has three base components: Functionality, Code and Data. When we mix up all three base components at same place is called Linear framework. In fact it is not framework , it should be called as linear scripting. … Continue reading Selenium Framework 4: Understand Linear Framework in Selenium

Hello Folks, We are aware of what is framework and its properties from previous posts. If you have not read yet, please do read before continuing this post. http://makeseleniumeasy.com/2018/04/01/selenium-framework-1-framework-what-why-and-how/ http://makeseleniumeasy.com/2018/04/05/selenium-framework-2-why-do-we-need-a-framework-in-selenium/ First of all framework has no fixed architecture or layout. Every programmer thinks in different ways and programmer can develop framework by keeping characteristics of … Continue reading Selenium Framework 3: Types Of Selenium Frameworks

Hello Folks, Recently this question was asked in interview to a candidate: We switch back to main window or default content after switching to a new window or frame, but not in case of Alert even we are switching to it. When we switch to a new window or frame, actually we jump to another … Continue reading Selenium Interview Questions: Why Do Not We Switch Back To Driver After Handling An Alert

Hello Folks, In last post, we have seen how to create a conditional xpath. Continuing the same, here is another post. Consider below scenarios: Suppose there is an application for online appointment with doctors. If a user frequently signs in, it will show a message and button as “Welcome ! Book An Appointment” to proceed further. … Continue reading Locating Dynamic Web Elements In Selenium WebDriver : Conditional Xpaths And CSS

Hello Folks, In this post, we will see how can we write conditional XPaths in selenium webdriver. What is meant by Conditional XPaths? If I say you to write xpath for the web element which has text or contains as “Selenium”, you can write is easily as below: Has text= //*[text()=’Selenium’] Contains text= //*[contains(text(),’Selenium’)] But If … Continue reading Writing Conditional XPath In Selenium WebDriver

Hello Folks, In last post, we have seen some real time examples of a framework. Now we will relate all those with selenium frameworks. Let me define framework first. What is Framework? Framework is a collection of concepts you know in an organised manner with some proper rules, validation, proper exception and error handling which … Continue reading Selenium Framework 2: Why Do We Need A Framework In Selenium?

Hello Folks, “Framework” is a word to which many people are afraid. People know all concept of Selenium but still very afraid of framework word. Framework is the easiest topic in selenium if we have clear basics. Stick with my posts, you will find it easy. Do you know that you see and use so many … Continue reading Selenium Framework 1- Framework- What, Why and How