Won't Fix
Last Updated: 03 Apr 2018 12:12 by ADMIN
ADMIN
Elena
Created on: 09 Nov 2017 13:41
Type: Feature Request
1
Converting Verify or Wait step to code generates the same line of code
Steps to reproduce: 

1. Create a Verify element Exists and Wait for element exists steps

2. Converting both to code generates Pages.Element.Wait.ForExists(30000);

Expected would be that the Verify element Exists step rely on the global project elements timeout or alternatively verifies immediately. 

Actual: The current implementation is that the Verify step takes the default wait timeout for a wait step. 
1 comment
ADMIN
Ivaylo
Posted on: 03 Apr 2018 12:12
Hello,

This happens because both steps are using the same descriptor. The problem here is that in order to get the Element.ExistNot condition to work, we need to change the find strategy for the entire framework/run to return 'null' instead of throwing exception. 
This will introduce breaking changes in the product and many users affected so we will leave this behavior unchanged.

Thank you for your understanding.

Best Regards.
Ivaylo