selenium

Upgrading to Selenium 3 with Gecko Driver

In this blog I will be discussing about the latest version of selenium i.e Selenium 3 . To use selenium 3 , we need Gecko driver to run the test cases in Mozilla browser. So,the first question that arises in our mind is “What is Gecko?”  Gecko is the name of the layout engine developed by the Mozilla Project. … Gecko’s function is to read Continue Reading

Cucumber

Cucumber is a testing framework which supports Behaviour Driven Development (BDD) which is used to write acceptance tests for web application. It allows automation of functional validation in easily readable and understandable format (like plain English) to Business Analysts, Developers, Testers, etc. Cucumber was implemented in Ruby and then extended to Java framework. It supports to jUnit. Behavior Driven Development is extension of Test Driven Development. Cucumber Basic: Continue Reading

TestNG

‘TestNG is a testing framework which is inspired by junit. It is the latest framework of selenium. it gives to complete freedom to write the testcases in group or dependent to the other method. NG  stand for ‘NEXT GENERATION’. testing of next generation. TestNG gives the lot of advantage over the other testing framework. 1-we  can run the parallel test cases using TestNG. 2-It gives Continue Reading

Extract Text from PDF file using Selenium Webdriver in Scala

If we want to verify PDF content during the testing  or you want to test the PDF file in scala then you have to follow these code because selenium webdriver does not provide the direct method to extract the text from PDF. First of all we have to add dependency for pdfbox in build.sbt libraryDependencies ++=  Seq( jdbc, ws, cache, “org.apache.pdfbox” % “pdfbox” % “1.8.2” Continue Reading

%d bloggers like this: