TestProject Forum
Powered by leading experts in the test automation community

Error msg when clicking a random list item

I’m using the Web List Operations add on to attempt to click a random item on a dropdown list. There are four items on this dropdown menu and I’d like a different item to be chosen at random each time the test is run. Each item has a checkbox and can also be selected by clicking on the text area. Unfortunately this test step is failing with the following error message:

java.util.concurrent.ExecutionException: java.lang.NullPointerException
Caused by java.lang.NullPointerException at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)

Does anyone know what this means and have a suggestion on how to get this working? Do let me know if you require any further info from me to provide a solution

Hello @mavis.alaneme
Can you please send a screenshot of the element.
As well as it’s attributes and it’s parent elements.
You can see the parent elements by clicking this button:
image

As well as the attributes.

Hi @ran.tzur, thanks for your reply.

Does this cover everything? I’m not sure how to get its attributes.

This seems fine yes.
Can you please contact me on the chat?
I would like to have a zoom session you, to check if there is any problem with the addon.