Completed
Last Updated: 28 May 2014 09:24 by ADMIN
ADMIN
Velin Koychev
Created on: 27 Jan 2014 10:11
Type: Bug Report
0
Unable to Change the selected RadListBoxItem from the step property Text
We record a simple select RadListBoxItem test step. 

After that we want to change the RadListBoxItem that is selected to a different one based on the Text value. We change the test step property Text:

Expected behavior: During the test execution the new  RadListBoxItem with the right text value is selected

Actual behavior: During the test execution the old RadListBoxItem is selected and the change in the test step property Text is ignored.

To workaround this issue, you need to change the Find Expression of the RadListBoxItem element. 

Steps to reproduce and a sample test project are attached in the internal description.
2 comments
ADMIN
Daniel Djambov
Posted on: 28 May 2014 09:23
Telerik: the above link should be without the '.' at the end - here is the proper one: http://docs.telerik.com/teststudio/user-guide/elements-pane-overview/find-element.aspx - sorry for the confusion.
ADMIN
Daniel Djambov
Posted on: 28 May 2014 09:20
Telerik: this operation should not be allowed as it is not supported - the Text property should be Read-Only - this is a UI bug from our side, which is already fixed. You can use the find expressions editor to change the find logic instead for the element so you click on an element with different Text value - more information on Find Expression Builder can be found here: http://docs.telerik.com/teststudio/user-guide/elements-pane-overview/find-element.aspx. Also DataBinding the find expressions can work for specific cases.