Hi
I hope you can help me with a following problem:
When I record a test and press a button(1) or enter the text into textbox(2) inside the silverlight application WebUI records the following
1. Click BtnNewItemButton1
2. Type 'SomeText' into TxtNameTextbox3
As you can see it records the names of the elements(controlls) that were randomly given to controls during build. So later, if for any reason new element of the same type is added to the application window(tab) the test fails or executes wrong, cause what used to be BtnNewItemButton1 is now BtnNewItemButton3 and therefore can't be found/detected.
I am wondering if there is a possibility to somehow make the names of the controls stable(we are using Telerik controls in development)
Or maybe there is a possibility to tie the test to some other anchors on the application page?
Thanks a lot in advance!
Helen
I hope you can help me with a following problem:
When I record a test and press a button(1) or enter the text into textbox(2) inside the silverlight application WebUI records the following
1. Click BtnNewItemButton1
2. Type 'SomeText' into TxtNameTextbox3
As you can see it records the names of the elements(controlls) that were randomly given to controls during build. So later, if for any reason new element of the same type is added to the application window(tab) the test fails or executes wrong, cause what used to be BtnNewItemButton1 is now BtnNewItemButton3 and therefore can't be found/detected.
I am wondering if there is a possibility to somehow make the names of the controls stable(we are using Telerik controls in development)
Or maybe there is a possibility to tie the test to some other anchors on the application page?
Thanks a lot in advance!
Helen