This question is locked. New answers and comments are not allowed.
Telerik team,
We are currently on version 2011.1.825.0. I am running all our existing tests against the latest version (2012.1.411.0) in preparation for upgrading to that version. A few of our tests are failing in 2012 R1 - which aren't failing in the version that we are currently on.
One of the failures appears to be due to a change in the way Datagrid cell text is read by Test Studio between the two versions.
The Datagrid cell in question contains text in the format "abcde - fghi".
DatagridCell contains 3 text blocks: one for 'abcde', second for the hyphen and the third for 'fghi'.
DOM structure is identical between the two versions (see attached images of the Datagrid DOM in both versions) - not surprising as I am running against the same version of the application in both cases.
The test step is trying to verify that the contents of the cell matches a value in the same format as follows:
The step passes in the currently installed version (2011.1.825.0) but fails in 2012.1.411.0.
When I go into record mode and try to re-record the verification step in both versions, I found that 2012R1 only compares against the first text block (i.e. abcde) - whereas 2011R1 compares against the combined contents of all 3 text blocks i.e. "abcde - fghi" (the latter is obviously what we want). Please see the screen shots of the commands list for the datagrid cell in the two versions.
Question: Is this change in behavior a bug or by design? If it is by design, how would you recommend we fix our code to make it work under the new version? (It seems to me that I will need to go to code-behind to do this).
We are currently on version 2011.1.825.0. I am running all our existing tests against the latest version (2012.1.411.0) in preparation for upgrading to that version. A few of our tests are failing in 2012 R1 - which aren't failing in the version that we are currently on.
One of the failures appears to be due to a change in the way Datagrid cell text is read by Test Studio between the two versions.
The Datagrid cell in question contains text in the format "abcde - fghi".
DatagridCell contains 3 text blocks: one for 'abcde', second for the hyphen and the third for 'fghi'.
DOM structure is identical between the two versions (see attached images of the Datagrid DOM in both versions) - not surprising as I am running against the same version of the application in both cases.
The test step is trying to verify that the contents of the cell matches a value in the same format as follows:
Verify: DataGridCell text 'Equal' 'S4960 - 114'. <
Claim
#> - DataDriven:
[$(AllocatedClaimNumber)]<
BR
>
The step passes in the currently installed version (2011.1.825.0) but fails in 2012.1.411.0.
When I go into record mode and try to re-record the verification step in both versions, I found that 2012R1 only compares against the first text block (i.e. abcde) - whereas 2011R1 compares against the combined contents of all 3 text blocks i.e. "abcde - fghi" (the latter is obviously what we want). Please see the screen shots of the commands list for the datagrid cell in the two versions.
Question: Is this change in behavior a bug or by design? If it is by design, how would you recommend we fix our code to make it work under the new version? (It seems to me that I will need to go to code-behind to do this).
We are using Test Studio plugin for Visual Studio in a Microsoft Test Manager/TFS environment - and our AUT is a Silverlight 4.0 application.
I know we are several versions of TS behind - so it is possible that this change may have occurred in one of the later 2011 versions and not 2012. Nevertheless, it is currently an issue for us - and so we would appreciate your input so we can decide next course of action.
I look forward to your prompt response.
Thanks,
Shashi