
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Is there a way in silk central to configure dependency between 2 Junit tests?
for example i've 2 test cases: junittestcase1 and junittestcase2. my requirement is something like this - junittestcase2 should execute only if junittestcase1 is passed. if junittestcase1 is failed, then junittestcase2 should shouldn't run or should be skipped.
Please let me know if there is any possibility or suggest any possible workarounds.
Bit urgent guys 🙂 thanks in advance.
Regards,
Vikas
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Vikas,
you can do this on an Execution Plan basis only - hence EP1(junittestcase1) and EP2(junittestcase2). Then you can create a dependency between EP1 and EP2 on the "Dependencies" tab with a condition - e.g. only if EP1 is passed EP2 is triggered.
Regards,
Florian

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Vikas,
you can do this on an Execution Plan basis only - hence EP1(junittestcase1) and EP2(junittestcase2). Then you can create a dependency between EP1 and EP2 on the "Dependencies" tab with a condition - e.g. only if EP1 is passed EP2 is triggered.
Regards,
Florian