Skip to content

Commit 9c78834

Browse files
Update Readme.txt
1 parent 367acaf commit 9c78834

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Readme.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,12 @@ Following patterns are followed in this framework (some of which shall be altere
1515
- Factory pattern is used in initialising the Webdriver for different browsers, hence it can be extended to add any new browser driver supported by Selenium without breaking the existing code.
1616
- Decorated driver and element are used in the entire framework which makes the logging easy without writing code for basic actions every time. Only a few actions are added now which can be updated according to individual requirements.
1717
- Fluent pattern is used in the sample tests to enhance the readability of the tests which can be altered according to the taste of the user.
18+
19+
Parallel execution of test cases is possible. Execute the WebTesRunner.xml file with the required thread count as done in testNG.
1820

1921
Jackson library is used for reading the csv and json files. The utility classes for reading json files can read only simple json at present and is used to read the test data. But I am planning to upgrade it in near future as Rest assured capability will be added to the framework.
2022

2123
Only 3 sample tests are added now to give an idea of how to write the test cases but there are plans to add more test cases to give the users a better idea of the framework.
2224

2325
Framework can be easily extended to use Appium for Android / iOS or Windows based apps using WinAppDirver by adding the respective drivers and capabilities in the driver factory. Also add the dependencies in the pom.xml file
2426

25-
Note: Even though perallel execution is supported by Selenium and TestNG, it is not supported in current form of this framework. To run in parallel, ThreadLocal should be used to make it thread-safe. But since the decorator pattern is used to support logging, parallel run will cause errors.

0 commit comments

Comments
 (0)