Why a test step continued execute when setUp step failed?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2017
08:33 PM
04-27-2017
08:33 PM
Why a test step continued execute when setUp step failed?
I created a testcase with setUp and Test Steps.
But Why a test step continued execute when setUp step failed? I think it should tell me setUp fails.
5 REPLIES 5
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2017
09:04 PM
04-27-2017
09:04 PM
How does it know that setup script is failed unless there is an Error / Exception / Assert statement does that check.
Regards,
Rao.
Regards,
Rao.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2017
07:22 PM
05-02-2017
07:22 PM
My setUp script uses another testcase's testStep.In that testStep I already assert the response.And apparently the testStep runs failed.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2017
11:21 PM
05-02-2017
11:21 PM
Would you mind posting the script? At the moment it is difficult to comment without knowing the details.
It is good practice that each test case is independent.
Regards,
Rao.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2017
11:51 PM
05-02-2017
11:51 PM
Thanks for replying. I will paste the screenshot here.
Regards,
Shirley
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2017
03:33 AM
