How to access webtable data in selenium?

29 views Asked by At

enter image description here

Exception in thread "main" java.lang.AssertionError: expected [true] but found [false]

I tried to automate the web table code by using valid Xpath, stream, and lambda expressions. But getting asserts error, I don't understand how to resolve this, If anyone knows how to resolve it, please reply. Thanks in advance.

1

There are 1 answers

0
samet mete On BEST ANSWER

originalList and sortedList is not equal therefore it stopped in Assert.asserTrue line. this code expected a true condition. Maybe you can check the orginaList and sortedList.