Need help with- Root cause: java.lang.IllegalArgumentException: Object is null)

Hi Team- my test was running perfectly fine yesterday- however, starting today, i am getting this error- Root cause: java.lang.IllegalArgumentException: Object is null)

I checked the xpath/attributes are correct, if you can help me figure out why the test is failing, which was earlier working fine, would be much appreciated.

Here is the exact error- Unable to set text (Root cause: java.lang.IllegalArgumentException: Object is null)
Thank you very much!

Hi mitali,

my guess is that you have wrong path to your object in object repository

Example:

I have an object in my repository called a_500rows, below is one of my code lines and same error as you have

click(findTestObject(“SKLIK/page_souhrn/a_500rowss”)) -------
Unable to click on object (Root cause: java.lang.IllegalArgumentException: Object is null)

----- Reason: should be rows instead of rowss

I hope this helped

7 Likes

Thank you very much, it helped. I

2 posts were split to a new topic: String variable in which I want to pass as a value to Droddown. Erro Msg: Caused by: java.lang.IllegalArgumentException: Object is null