Update README.md
This commit is contained in:
parent
05b089f331
commit
95e8debdda
13
README.md
13
README.md
|
|
@ -1,16 +1,17 @@
|
||||||
# Page Object Model
|
# Page Object Model
|
||||||
|
|
||||||
Several examples demonstrating some features of Selenium WebDriver using Java.
|
Examples from [Selenium WebDriver](https://gitea.ramoncaballero.dev/mon/SeleniumWebDriver) adopting Page Object Model.
|
||||||
|
|
||||||
Each class has its own main method, so they are meant to be executed individually to showcase different Selenium features.
|
Each test class has its own main method, so they are meant to be executed individually to showcase different Selenium features.
|
||||||
|
|
||||||
## Run on Eclipse
|
## Run on Eclipse
|
||||||
|
|
||||||
1. **Package Explorer**
|
1. **Package Explorer**
|
||||||
2. Select the `.java` file that you want to run.
|
2. Browse to **src/tests** package.
|
||||||
3. Contextual menu > **Run As** > **Java Application**
|
3. Select the `.java` file that you want to run.
|
||||||
|
4. Contextual menu > **Run As** > **Java Application**
|
||||||
|
|
||||||
## Notes
|
## Notes
|
||||||
|
|
||||||
- `GettingStarted.java` needs to be run with `-ea` or `-enableasserts` as arguments.
|
- `GettingStartedTests.java` needs to be run with `-ea` or `-enableasserts` as arguments.
|
||||||
- `InputsWithUIDialogs.java` needs the name of a valid file in your system.
|
- `InputsWithUIDialogsTests.java` needs the name of a valid file in your system.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue