Completed
Last Updated: 15 Jul 2014 10:19 by ADMIN
ADMIN
Ivaylo
Created on: 19 Jun 2014 11:44
Type: Feature Request
3
Generated code support for data-driven elements
When using an element in a coded step with data binding in it's identification logic the step fails.



You can use the attached project in the internal description or the following steps for repro:



1. Add an element to repository.
2. Data bind the element identification logic.
3. From step suggetions add "Exists" step.
4. Execute the above steps and observe that test will pass.
5. Convert the telerik step added in step-3 to a coded step.
6. Execute the test once again, and observe that test will fail.



Version of Test Studio used for repro: 2014.1.605
4 comments
ADMIN
Daniel Djambov
Posted on: 15 Jul 2014 10:19
Telerik: we have implemented this feature and it will be available in our next internal product release planned by the end of July 2014.
ADMIN
Konstantin Petkov
Posted on: 01 Jul 2014 08:02
Hi David,

The code generation doesn't have a mechanism to use data-driven find expressions. It doesn't matter if it's about internal or external data - I'm sorry about the confusion!

Therefore I reopened this, but switched to feature request - code generation can support built-in data-driven find expressions.

Thanks for your feedback!
David
Posted on: 27 Jun 2014 11:16
When we opened a support ticket on this, the support engineer was at first not able to reproduce, he was using local data, so it seems that this "nearly" works.

I am sorry, but I don't find it acceptable to have to write code to work around this limitation.  If this isn't a bug, it is certainly a usability issue.
ADMIN
Iliyan Panchev
Posted on: 27 Jun 2014 11:05
Hi, data-driven find expressions are not supported in code built-in. Instead, one can find the element manually and use the data as demonstrated in the docs:
http://docs.telerik.com/teststudio/user-guide/code-samples/general/data-driven-find-expressions.aspx