selenium

Cucumber

Reading Time: 2 minutes 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

Reading Time: 2 minutes ‘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

Reading Time: < 1 minute 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