TestNg result shows testcase failed when no such element exc | Selenium Forum
M
Posted on 15/09/2015
Dear all.

I have xpath if it is not display then i want proceed and do further action .but my testNG result show test case failed.

xpath:
<tr id="3" class="oddClass even" validrow="true">

if this xpath display than i want excutt 'if" condition and if its not display than "execute" else condition.


and while checking element i didnt use any tetsNG assertion still it shows test failed in TestNg result.


Thanks,
Abhishek

M
Replied on 16/09/2015

you have to give a code and please upload a screen shot.