Why am I not able to get my Test name dynamically using ITestResult object | Selenium Forum
P
Pravin V. Kumbhare Posted on 23/06/2021

I'm attaching my code herewith. I wan't to achieve generating the Test name dynamically. I'm following the exact steps as instructed in the lecture, but on running the code, I'm getting RuntimeException.

Can you help me please?

My code is attached herewith.


P
Pravin V. Kumbhare Replied on 23/06/2021

When I run the same code with static Test name, my run is successful. But when I change it to have the Test name dynamically, it gets failed with RuntimeException.


P
Pravin V. Kumbhare Replied on 25/06/2021

Hello sir,

Can you please address this?


P
Pravin V. Kumbhare Replied on 28/06/2021

Hello sir,

Can you please address this?


A
Ashish Thakur Replied on 30/06/2021

Sorry for the delay.

Can you send me screenshot of the exception