farwabatool292 / ST_A3

0 stars 0 forks source link

Unit Test Case 2 #2

Open farwabatool292 opened 1 year ago

farwabatool292 commented 1 year ago

Unit test case: Checking whether the create user button working correctly or not in the user management section.

farwabatool292 commented 1 year ago

The first Unit test I executed is: Checking whether the Create user button working correctly or not in the user management section. Steps performed: 1- Firstly from the admin side put the password, by action class this leads to the home page. 2- Then click on the user management section. 3- From there, click on the Create user button. 4- Fetch the current URL of the tab. 5- By using assert, compare the actual and current URL. Result: Result passed. And clicking on the create user button leads to the page where the admin can add a new user by putting the required information.