Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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)
- Host: GitHub
- URL: https://github.com/aladnansami/demoqa-website-automation-by-junit
- Owner: aladnansami
- Created: 2022-08-06T13:10:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-09T17:54:02.000Z (over 2 years ago)
- Last Synced: 2023-08-16T15:41:32.341Z (over 1 year ago)
- Topics: intelij-project, java, junit, selenium, selenium-webdriver
- Language: Java
- Homepage:
- Size: 7.68 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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