I wish to automate a scenario, where in a data grid I have a checkbox for Status for a user, whether the user is active or not, now what I am doing is: 1. Creating a list of checkboxes on the Grid, and if the size > 0 then I gettext() of the first record in the grid and store
Advertisement
Tag: ui-automation
How TestNG annotation from base class is executed when the Test inside the derived class is executed?
While learning TestNG on Udemy, I come across a code that I am unable to understand. The instructor has created a class named “TestBase” where he defined @BeforeMethod/@aftermethod.Later he created another class named “LoginTest” where he wrote the actual test with @test. He extended TestBase class in loginTest to get variable initiated in TestBase class. When he ran loginTest then
Advertisement