Suppose we have the following scenario:

Log into system as user and then create a number of modules for this user. Then log as another user and so on. I.e. we need to do log in only when the user changes and then keep processing rows without doing login while user is the same. 

Here we propose to use the column 'TestCase' to reflect grouping. Test case must contain same value until we have the same user, and then it should change to next one.

 

Finally, data table and code looks like that:

 

 

We store the Test Case in the variable (see Row 31). And check if it is changed at Rows 21-23. If it changed, we do Log in. 

 

This simple trick may help working with hierarchical or grouped data.

 

We also attach a working test case for your reference.