Code Monkey home page Code Monkey logo

jqmax's Introduction

Hi there 👋, my name is Max

I'm Automation Quality Assurance Engineer

Languages and Tools:

android aws azure docker elasticsearch gcp git java jenkins kibana linux mysql oracle postman selenium

  • 🔭 I’m currently working on (Java Automation Framework)
  • 🌱 I’m currently learning DevOps
  • 👯 I’m looking to collaborate on Automation frameworks
  • 💬 Ask me about How to automate stuff?

github linkedin facebook instagram twitter

GitHub stats

GitHub streak stats

jqmax's People

Contributors

codesee-maps[bot] avatar maxsudik avatar

Watchers

 avatar  avatar

jqmax's Issues

Implement cross browser mechanism for testing

Original implementations was:

      if (Objects.isNull(driver)) {
        properties = new Properties();
        FileInputStream file = new FileInputStream("src/main/resources/local.properties");
        properties.load(file);
        String browser = properties.getProperty("browser");

        ChromeOptions options = new ChromeOptions();
        options.addArguments("--disable-gpu");
        options.addArguments("--no-sandbox");
        options.addArguments("--disable-dev-shm-usage");
        options.addArguments("--headless");

        if (browser.equals("chrome")) {
            WebDriverManager.chromedriver().setup();
            driver = new ChromeDriver(options);
        } else if (browser.equals("edge")) {
            WebDriverManager.edgedriver().setup();
            driver = new EdgeDriver();
        } else if (browser.equals("safari")) {
            WebDriverManager.safaridriver().setup();
            driver = new SafariDriver();
        } else if (browser.equals("firefox")) {
            WebDriverManager.firefoxdriver().setup();
            driver = new FirefoxDriver();
        }

Add lombok dependency in order to run tests

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.721 s
[INFO] Finished at: 2021-12-20T16:59:58-08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project JQMax: Fatal error compiling: java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor (in unnamed module @0x22c75c01) cannot access class com.sun.tools.javac.processing.JavacProcessingEnvironment (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.processing to unnamed module @0x22c75c01 -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
maxsudik@Maxs-MBP JQMax % 

Getting Error "Illegal char <:> at index 76" #97

After Running testng.xml I got an error. Here is a log:
java.nio.file.InvalidPathException: Illegal char <:> at index 76:

C:\Users\wbashinski\IdeaProjects\JQMax-main\extent-test-output\2022-02-10T21:14:04\index.html
at java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)
at java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:229)
at java.base/java.io.File.toPath(File.java:2329)
at com.aventstack.extentreports.reporter.AbstractFileReporter.(AbstractFileReporter.java:40)
at com.aventstack.extentreports.reporter.ExtentSparkReporter.(ExtentSparkReporter.java:51)
at reports.ExtentReport.initReport(ExtentReport.java:25)
at listeners.ListenersClass.onStart(ListenersClass.java:18)
at org.testng.SuiteRunner.invokeListeners(SuiteRunner.java:260)
at org.testng.SuiteRunner.run(SuiteRunner.java:324)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1249)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
at org.testng.TestNG.runSuites(TestNG.java:1092)
at org.testng.TestNG.run(TestNG.java:1060)
at com.intellij.rt.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:66)
at com.intellij.rt.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:109)

Process finished with exit code -1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.