Quality Assuarance Auomation done for a certain web as coursework
- You need a suitable IDLE for run this (what I used was InteliJ IDEA)
Open this project from it.
Tips:
-
make sure you have installed Google Chrome on your pc and have a stable internet connection before run this
-
If you already have chrome installed Go to (src > main > java > team35QA.java and run the program.
-
If chrome is not installed or you want to run automation using another browser follow below steps
-
Open pom.xml and change
-
in line number 53-58
<!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-chrome-driver --> <dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-chrome-driver</artifactId> <version>4.8.1</version> </dependency>
-
in whatever browser installed in your pc/you want to execute this program by
-
Search by browser name you want to execute automation Search it as : selenium driver ex: for Edge --> 'Selenium edge driver'
- Select suitable version (recommend to use latest version, due to browser updatea)
- after selection you'll be redirected to specific page scroll down till you find a code like below
-
Copy it and replace it with what is on mines(in lines 53-58)
-
make sure to sync changes after you done process
This is how you do it in InteliJ
- now go to team35QA.java(src/main > java > team35QA and change every single "chrome" to which you import(what browser you set under dependancy)
ex: if you set edge in your pom.xml as your browser. replace "edge" instead "chrome"
- Now all set you may run the automation
If you come up with any problems feel free to contact me via contact method on my profile. :)