You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone, I am new in Serenity!
I have a list String called A and I set it to session like this:
List listAtr = helper.findElements(locator);
Serenity.setSessionVariable("data").to(listAtr);
Then how to get list A and compare with new list called B
(Please give me example)
Thank you so much!
The text was updated successfully, but these errors were encountered:
@maidinhh This is not the question related to Serenity itself but rather to Java. I understand that you want to compare lists of objects. Why don't you simply search for "finding the differences between two lists in Java"?
tip: When you retrieve the list from your session variable you simply call (List<XXX>) Serenity.sessionVariableCalled("data")
Hi everyone, I am new in Serenity!
I have a list String called A and I set it to session like this:
List listAtr = helper.findElements(locator);
Serenity.setSessionVariable("data").to(listAtr);
Then how to get list A and compare with new list called B
(Please give me example)
Thank you so much!
The text was updated successfully, but these errors were encountered: