Skip to content

DemoQa-WebSite-Automation-By-Junit Automate website link : https://demoqa.com/ . Languese - Java . Framework- selenium(Junit)

Notifications You must be signed in to change notification settings

aladnansami/DemoQa-WebSite-Automation-By-Junit

Repository files navigation

DemoQa-WebSite-Automation-By-Junit

website link : https://demoqa.com/

Automated Modules in JunitPractics Class

JunitPractics Class = https://github.com/aladnansami/DemoQa-WebSite-Automation-By-Junit/blob/main/src/test/java/JunitPractice.java

  1. https://demoqa.com/text-box (Write TextBox )

  2. https://demoqa.com/alerts (handle Alerts)

  3. https://demoqa.com/date-picker (Select Date)

  4. https://www.google.com/ (keyboard Event)

  5. https://demoqa.com/select-menu (Select DropDown)

  6. https://green.edu.bd/ (Mouse Hover)

  7. https://demoqa.com/buttons (Action Click)

  8. takeScreenShot

    public void takeScreenShot () throws IOException {
    driver.get("https://demoqa.com");
    File screenshotfile= ((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE);
    String time = new SimpleDateFormat("dd-MM-yyyy-hh-mm-ss-aa").format(new Date());
    String fileWithPath = "./src/test/resources/screenshots/" + time + ".png";
    File DestFile = new File(fileWithPath);
    FileUtils.copyFile(screenshotFile, DestFile);

  9. https://demoqa.com/upload-download (Upload File)

  10. https://demoqa.com/upload-download (Download File)

  11. https://demoqa.com/browser-windows (handle Window)

  12. https://demoqa.com/webtables (Scrap data)

Automated Modules in Practice_Form Class

  1. https://demoqa.com/automation-practice-form (Automated Form)
    Junit Form - https://github.com/aladnansami/DemoQa-WebSite-Automation-By-Junit/blob/main/src/test/java/Practice_Form.java

Form value stores in json formet

https://github.com/aladnansami/DemoQa-WebSite-Automation-By-Junit/blob/main/src/test/resources/students.json

Intellij Image

About

DemoQa-WebSite-Automation-By-Junit Automate website link : https://demoqa.com/ . Languese - Java . Framework- selenium(Junit)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published