Hi Supriya, On the methods that are tagged with group runs but not the before or after annotated methods. For example, when we add @Test annotation to a method and assign it to a group ( say "abc") and run the testNG.xml file which is enabled for "abc" group, only @Test method runs but not @BeforeTest @Beforemethod @AfterTest and @Aftermethod. Should the @BeforeTest @Beforemethod @AfterTest and @Aftermethod methods also be added to the group for execution? Any other options?
@soumyashrees23036 жыл бұрын
Thank you so so so much mam.....it was a great help :-)
@sierz.stradtord78836 жыл бұрын
Hey, has it ever happened to you that suddenly only an odd number of test cases are being executed? I had my packages properly defined and all tests were being ran, but for some stramge reason, when I run my automation now, only few test cases get executed. I haven't changed anything in my testng.xml.
@jayeshwaran69144 жыл бұрын
Mam, i have an doubt what is the difference of putting group under testsuite tag and putting group under test tag
@dhanishtbhan57794 жыл бұрын
Hi in your regression.xml the group's test gets executed that's ok but what about the classes after that which are mentioned in the XML ?? will they not get executed?
@sravanthikadam67816 жыл бұрын
Regd package level testing in testng.xml file,what would be the order of tests execution
@sajaltoshniwal61494 жыл бұрын
what is the difference between BeforTest, BeforeSuite and Before Class.. Please dont tell that Before Suite executes before Before Test..and Before Test exeutes before Before Class. I know that
@SupriyaBaruQA4 жыл бұрын
When you ask me a question you need to wait until I respond.