Important Update About SeleniumWebDriver and C#

SeleniumWebDriver v3.11.1 for C# Marked .NET PageFactory obsolete. Additionally, using the PageFactory provides no benefit over other methods of Page Object creation in .NET. The existing code has been migrated to a new repository under a new organization on GitHub (https://lnkd.in/dWqhBq4 Users should update their references and migrate their code to use `SeleniumExtras.PageFactory`.Β    Source: … Continue reading Important Update About SeleniumWebDriver and C#

Faking Data for test automation

You are developing test automation script for your application and need test data or your application has been deployed and the product owner or the business owner comes around the corner. The registration screen loads up but you realise there’s no data in the system. And you can’t think of any creative customer names besides … Continue reading Faking Data for test automation

UI Testing using Selenium WebDriver and Chrome inside AWS Lambda

  What is AWS Lambda? Amazon explains, AWS Lambda (Ξ») as a β€˜serverless’ compute service, meaning the developers, don’t have to worry about which AWS resources to launch, or how will they manage them, they just put the code on lambda and it runs, it’s that simple!Β It helps you to focus on core-competency i.e. App … Continue reading UI Testing using Selenium WebDriver and Chrome inside AWS Lambda

Headless Testing becomes easy now with Chrome and Firefox

  Headless Testing with Chrome and Firefox using Selenium WebDriver(latest version) becomes easy now:- -For Chrome (latest Version): System.setProperty("webdriver.chrome.driver","chromedriver exe path"); ChromeOptions chromeOptions = new ChromeOptions(); chromeOptions.addArguments("--headless"); driver = new ChromeDriver(chromeOptions); -For Firefox 57(Quantum): System.setProperty("webdriver.firefox.driver","firefoxdriver exe path"); FirefoxOptions firefoxOptions = new FirefoxOptions(); firefoxOptions.setCapability("marionette", true); firefoxOptions.setHeadless(true); driver = new FirefoxDriver(firefoxOptions);