Automation Frameworks

Designing responsive as well as failsafe test scripts can be a challenge, due to the need to cover all security requirements, accessibility and navigation of site contents with different media and languages.

  • 02
    Aug

    Working with Chrome profiles in Selenium WebDriver

    Read More
  • 02
    Aug

    Instantiating WebDriver with driverfactory

    Read More
  • 26
    Jul

    ToDo List

    Vault Plugin for Jenkins: #1. https://wiki.jenkins.io/display/JENKINS/HashiCorp+Vault+Plugin #2. Roles of Hub: java -jar selenium-server-standalone-3.11.0.jar –role webdriver –hub http://:4444/grid/register –port 5555 #3. Dynamic beans factory with Guice (example) https://bitbucket.org/ramonboza/guicedynamicconfig/src/master/ #4. Spring...

    Read More
  • 12
    Jul

    BDD with Picocontainer

    <a href=”http://defectracker.com/wp-content/uploads/2019/07/picocontainer7z.txt”>BDD with Picontainer example project with TestNG</a>

    Read More
  • 11
    Jul

    Factory design pattern

    As per Gang of Four, Factory design pattern define an interface or abstract class for creating an object but let the subclasses decide which class to instantiate. In other words,...

    Read More
  • 09
    Jul

    Appium DesiredCapabilities

    Appium Desired Capabilities Desired Capabilities are keys and values encoded in a JSON object, sent by Appium clients to the server when a new automation session is requested. Some...

    Read More
  • 08
    Jun

    pom.xml for picocontainer and cucumber jvm

    1.8 3.7.0 3.0.2 3.12.0 chrome abc org.apache.maven.plugins maven-compiler-plugin ${maven.compiler.version} ${java.version} ${java.version} io.cucumber cucumber-java ${cucumber.version} io.cucumber cucumber-java8 ${cucumber.version} io.cucumber cucumber-picocontainer ${cucumber.version} io.cucumber cucumber-testng ${cucumber.version} junit junit org.seleniumhq.selenium selenium-java ${selenium.version}

    Read More
  • 07
    Jun

    Implementing dependency injection with Picocontainer

    Implementing Dependency Injection with Picocontainer Step 1: Maven Dependency for Picocontainer: ============================================ 3.0.2 io.cucumber cucumber-picocontainer ${cucumber.version} Step 2: Create a class which needs to be injected via Picocontainer: ====================================================================...

    Read More
  • 31
    May

    Identifying Operating system characteristics via Java program

    Following utility functions can be used to identify IE Version, Is system is 64bit, 32 bit package source.sd.RemoteWebDriver; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; public...

    Read More
  • 30
    May

    Selenium driver utilities

    import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.chrome.ChromeOptions; import org.openqa.selenium.firefox.MarionetteDriver; import org.openqa.selenium.htmlunit.HtmlUnitDriver; import org.openqa.selenium.ie.InternetExplorerDriver; import org.openqa.selenium.remote.CapabilityType; import org.openqa.selenium.remote.DesiredCapabilities; import org.openqa.selenium.remote.RemoteWebDriver; import java.io.File; import java.net.URL; import java.util.HashMap; import java.util.Map; /** * https://sites.google.com/a/chromium.org/chromedriver/home...

    Read More