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
Selenium Framework 3: Types Of Selenium Frameworks
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
Selenium Interview Questions: Why Do Not We Switch Back To Driver After Handling An Alert
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
Locating Dynamic Web Elements In Selenium WebDriver : Conditional Xpaths And CSS
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
Writing Conditional XPath In Selenium WebDriver
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
Selenium Framework 2: Why Do We Need A Framework In Selenium?
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?
Selenium Framework 1- Framework- What, Why and How
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
Why And How Should We Terminate Browser Driver Executable File In Selenium WebDriver
Hello People, Some days ago, I was running my regression automation suite and found webdriver is not able to launch browser. I was getting some socket exception. Whenever I face such situation, I just try to update browser version, browser driver version and selenium jar file version. Versioning non-compatibility is major issue in Selenium for … Continue reading Why And How Should We Terminate Browser Driver Executable File In Selenium WebDriver
Part 13: Usages Of Javascripts In Selenium : How JavaScript Helps In Uploading File In Selenium And Protractor
Hello Folks, In last post, we learnt how to upload a file using selenium webdriver. In this post , we will learn how JavaScript can help you in uploading a file when selenium webdriver fails to do so. I was working on an angular application where I need to upload a profile picture. I was … Continue reading Part 13: Usages Of Javascripts In Selenium : How JavaScript Helps In Uploading File In Selenium And Protractor
How To Upload A File In Selenium Webdriver
Hello Folks, In this post we will learn how can we upload a file using selenium webdriver. Sometimes we encounter scenarios where we need to upload a file to proceed further. A file upload web elements looks like as below: You need to click on "Choose File" button which opens up File explorer and you … Continue reading How To Upload A File In Selenium Webdriver