Naming convention with Telerik recorder

3 posts, 0 answers
  1. Mark
    Mark avatar
    27 posts
    Member since:
    Nov 2011

    Posted 13 Jan 2013 Link to this post

    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. Mark
    Mark avatar
    27 posts
    Member since:
    Nov 2011

    Posted 14 Jan 2013 Link to this post

    Actually Message__This_Test__1112013 is the window title.
    So it is possible to get the window title of the playback?
  3. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 17 Jan 2013 Link to this post

    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
Back to Top