How to read text from PDF file using Java and Selenium Webdriver

Sometimes we need to verify a PDF content but Selenium WebDriver doesn’t have any direct methods to do that. If we want to extract the PDF content then we can use for example Apache PDFBox. Simply download the .jar files and add them to your Eclipse Class path. Here is a sample script which will […]

Read more
How to test different resolutions – Part two – Firefox resolutions testing

Continuing from the last months Chrome resolution testing, we are going to test tools from Firefox. None of the tools listed simulate mobile devices. So for mobile testing the mobile web address will have to be manually used, as the browser won’t be recognized as a mobile device. Unfortunately this will not work with every […]

Read more
Random encounter #01

If you see the code below, then you probably copied the wrong url to your browser, try to remove /wd/hub from its end. Eg.: instead of localhost:4444/wd/hub try just localhost:4444 Similar Posts from the author: Local test run – Maven – NoSuchMethodError during driver creation How to integrate a JUnit4 – Webdriver test into JMeter […]

Read more