Framework - Java+Selenium+TestNG

    xiaoxiao2022-07-03  117

     How to use it:

             1.  Create test case which extends BaseTestCase, or BaseWebTestCase.

             2.  Create testNG test suite xml files. Setting parameters url, browser and environment.

             3.  Run testNG cases with Maven command "mvn test -Dfile=your_suite.xml"

             4.  Test case is separated from Page object, as well as test data is separated from test case. It’s helpful for maintenance.

    最新回复(0)