config method(@BeforeMethod) fails once then the subsequent @test methods are getting skipped though its corresponding @BeforeMethod passes

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

config method(@BeforeMethod) fails once then the subsequent @test methods are getting skipped though its corresponding @BeforeMethod passes

santhu ravikanti
HI All,

we are getting below issue with test-NG 6.9.9. version ,could you please help us to get some work around to resolve the issue

scenario:

@BeforeMethod 1 – Passed

-          @Test 1 – Executed

@BeforeMethod 2 – Failed

-          @Test 2 – Skipped

@BeforeMethod 3 – Passed

-          @Test 3 – Skipped (Though its config method passes, test method got skipped here as previous config method failed before)



Thanks

santhosh R

--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.
Loading...