Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aladnansami/demoqa-website-automation-by-junit

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

intelij-project java junit selenium selenium-webdriver

Last synced: 26 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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