FEATURE REQUEST: Report Level options for Wait For Not Exist

Bug reports.
tgagel
Posts: 33
Joined: Tue Jun 04, 2013 7:50 pm

FEATURE REQUEST: Report Level options for Wait For Not Exist

Post by tgagel » Thu Sep 12, 2013 2:57 pm

Hi.

I've found the "Wait For Not Exists" action very powerful but it seems to be lacking in one area. It allows me to have it continue on fail (which is good) but I would like the option to tell how to report the fail. Right now when wait for not exists fails it is always a warning in the report log. I would like the option to customize the report level (like for the validate action) so I can tell it how to report the failure; warning, error, etc.

Thanks.

Todd

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: FEATURE REQUEST: Report Level options for Wait For Not Exist

Post by Support Team » Fri Sep 13, 2013 4:03 pm

Hello,

Thank you for your feature request.
I added it to our internal bug-tracking system in order to discuss a future implementation.

Would it be an option for you to use Validate.NotExists in the meantime?

Regards,
Markus (T)
.
Image

tgagel
Posts: 33
Joined: Tue Jun 04, 2013 7:50 pm

Re: FEATURE REQUEST: Report Level options for Wait For Not Exist

Post by tgagel » Fri Sep 13, 2013 4:18 pm

Hi Markus,

Yes, I am using Validate.NotExists now. I'd prefer to use Wait For Not Exist since it seems to be quicker for "passing" tests. I'm using Validate.NotExists to check for errors on a page (when it doesn't exist it passes) and Validate.NotExists waits for the search timeout, which I've reduced as much as I can, for all passing pages (which is 99% of the time). Wait For Not Exist would just have the wait on failing pages up to the Wait For Not Exist timeout value.

Thanks.

Todd

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: FEATURE REQUEST: Report Level options for Wait For Not Exist

Post by Support Team » Mon Sep 16, 2013 3:04 pm

Hello,

Have you checked the 'Effective Timeout' of your repository item used in your Validate.NotExists() action?
The 'Search Timeout' could be very low (e.g. 1000ms) although the 'Effective Timeout' could be much higher (e.g. 31s). More information about timeouts can be found at Repository Item Properties in our User Guide.

Regards,
Markus (T)
.
Image

tgagel
Posts: 33
Joined: Tue Jun 04, 2013 7:50 pm

Re: FEATURE REQUEST: Report Level options for Wait For Not Exist

Post by tgagel » Mon Sep 16, 2013 3:28 pm

I have and my effective timeout is at 3s (as low as I could get and still get my expected results). Since this check repeats so often it would be quicker if the timeout only happened on failure (like WaitForNotExist) instead of the timeout happening on pass (like using Validate.NotExists).

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: FEATURE REQUEST: Report Level options for Wait For Not Exist

Post by Support Team » Tue Sep 17, 2013 1:54 pm

Hello Todd,

That's correct, the action Validate.NotExists waits until the search timeout is over and that means that your test will take more time.
Markus added a feature request and we will discuss the issue internally in more detail.
Thank you for your suggestion.

Regards,
Bernhard
.
Image