This is a migrated thread and some comments may be shown as answers.

Naming convention with Telerik recorder

2 Answers 98 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mark
Top achievements
Rank 1
Mark asked on 14 Jan 2013, 05:25 AM
Hi all,
I would like to understand a bit more how Telerik names the button during the record.
For example, in my application I open an exam from the patient MrXX and I would like to forward this exam.
In our code we use Telerik control, so the code of the forward button is like below:
 <telerik:RadButton Grid.Row="18"
          Command="{Binding ForwardMessageCommand}"
          Content="Forward Message"
          Style="{DynamicResource ExamLeftRadButtonStyle}"
          ToolTip="{Resx ResxName=Shell.Resources.MainResources,Key=PatientEncounter_Action_ForwardMessage}"
          Visibility="{Binding VisibleForwardMessage, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged,
          Converter={StaticResource ResourceKey=BooleanToVisibilityConverter}}"
          Focusable="False"/>
And here is what Telerik test studio records when we click on the forward button:
'Click ForwardMessageRadbutton
Applications.myApplicationexe.Message__This_Test__1112013.ForwardMessageRadbutton.User.Click(ArtOfTest.WebAii.Core.MouseClickType.LeftClick, 69, 9, ArtOfTest.Common.OffsetReference.TopLeftCorner, ArtOfTest.Common.ActionPointUnitType.Pixel)
myApplication: name of my application
This Test: name of the patient
1112013: date of the record (we created an exam the 11st of January 2013 and we wanted to forward it right after)
I don't understand the telerik naming convention.
For a general case, it would have been better to name it:
Applications.myApplicationexe.ForwardMessageRadbutton.User.Click(xxxx)
It seems that Telerik adds some extra information that makes the playback a bit more difficult...
I would be thankful if someone could explain to me if it is a bug from Telerik and how to go around this issue.

2 Answers, 1 is accepted

Sort by
0
Mark
Top achievements
Rank 1
answered on 14 Jan 2013, 06:51 AM
Actually Message__This_Test__1112013 is the window title.
So it is possible to get the window title of the playback?
0
Cody
Telerik team
answered on 17 Jan 2013, 08:32 PM
Hi Mark,

This sounds very similar to your other forum post I just answered. Do my answers there also answer all your questions here?

Greetings,
Cody
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Mark
Top achievements
Rank 1
Answers by
Mark
Top achievements
Rank 1
Cody
Telerik team
Share this question
or