Hi,
I am getting the error: java.lang.IllegalArgumentException: wrong number of arguments for afterTest method in my script.
Script executed properly and as expected but could not able to open the extent
report and also report is not created on drive.
Attached is the code: Script with extent report and screenshot capture code..
Also Attached is the error trace: Selenium-TestNg trace
I was able to create report when code for screen capture was not added to script. However after adding the code, AfterTest method failed and no report was generated.
Note: Rest other method works fine.
System Config:
OS: Windows 10
Selenium version: 2.53.0
Java Version:1.8.0.66
Extent report version: 2.40.2
FF version: 43.0.1
Kindly help me with solution..
Regards,
Reema Shah