Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require Abort if no data found #939

Closed
RushDoshi opened this issue Mar 6, 2019 · 1 comment
Closed

Require Abort if no data found #939

RushDoshi opened this issue Mar 6, 2019 · 1 comment

Comments

@RushDoshi
Copy link

RushDoshi commented Mar 6, 2019

Hi,

I would like to Abort the script execution.

For example:

If ( testObjects.totalCount===0) {
//1. .......
//2. abort("No Data Found") ; 
//3. ...........
}

If i use abort in this case then it should abort the script Immediately regardless of duration whatever i have specified.

Currently i'm using fail but the script is getting executed till i specified the duration (which doesn't serve my purpose).

Could someone please get this implemented ?

Thanks,
Rushabh

@na--
Copy link
Member

na-- commented Apr 18, 2019

Closing this issue in favor of #1001, since the new one is a bit more detailed and expanded.

@na-- na-- closed this as completed Apr 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants