Online assignment for ww 2 problems and 1 automation
If none of this methos works check out this repo into IntelliJ IDE and run
- generateRandomNo.java file
- readFile.java file
1st Problem : Generate 500 random numbers and create a method to print the nth smallest number in a programming language of your choice.
- Checkout the repo and go to the folder ..\Java_Program\out\artifacts\randomNo
- on terminal/cmd execute this command
java -jar randomNo.jar
2nd Problem : Readfile and print output
- Checkout the repo and go to the folder ..\Java_Program\out\artifacts\readFile
- on terminal/cmd execute this command
java -jar readFile.jar
- enter file name readWords.txt ( it will generate o/p)
- enter anyonther file name ( it will give you an error )
3rd Problem : Web Automation Project
- Checkout project and open in IntelliJ IDE
- Open Baseclass file /src/Testcases/
- Right click and run
Note : Java 11 recommended