The recorder does not record any step even if the action take place

9 posts, 0 answers
  1. Simona
    Simona avatar
    12 posts
    Member since:
    Sep 2012

    Posted 27 Sep 2012 Link to this post

    Hello

    I have a lightswitch client application. I start to record a simple test. The IE is opening , I choose the application URL, the UI of application is opening. On the left side menu i have few items(controls). When select an item from there, in IE take place an action but no step is recorded on Test Studio. Any idea why? Is there a way to deal with it?

    Thanks,
  2. Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 02 Oct 2012 Link to this post

    Hello Simona,
    I'm sorry to hear you're experiencing this issue.

    There are a few possible reason why this problem might be present.

    Are the controls in question Telerik controls (i.e. RadControls)? If so  - which controls in particular. Is your application Silverlight or HTML-based?

    Which you please provide as much details as possible:
    http://tv.telerik.com/watch/automated-testing-tools/test-studio-submitting-support-ticket-for-playback-issues

    Hope to hear from you soon.

    All the best,
    Stoich
    the Telerik team
    Are you enjoying Test Studio? We’d appreciate your vote in the ATI automation awards.
    Vote now
  3. Simona
    Simona avatar
    12 posts
    Member since:
    Sep 2012

    Posted 11 Oct 2012 Link to this post

    hello Stoich,

    No, the controls are not Telerik controls and the application is based on Silverlight.

    Attached, you will find details about a similar project test. The issue is the same.
    Also I attached the project I've done the test on.

    Thanks

    Regards,
    Simona
  4. Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 16 Oct 2012 Link to this post

    Hello Simona,
    unfortunately I'm not sure how to deploy the application you've provided. Could you please give me instructions so that I may run and examine it.

    In any case the error details you've provided show a playback failure. The failure occurred on a Silverlight tab control:
    The given key was not present in the dictionary.

    InnerException:
    System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

       at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
       at ArtOfTest.WebAii.Design.IntrinsicTranslators.Silverlight.Descriptors.SilverlightClickActionDescriptor.Execute(IApplication hostApp)
       at ArtOfTest.WebAii.Design.Extensibility.XamlActionDescriptor.Execute(IAutomationHost autoHost)
       at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)

     

    It seems that Test Studio is trying access this control before it has been loaded properly. You need a step that will assure that the control is properly loaded before we try to navigate between tabs (screenshot 1). Put this step before the step that changes tabs.

    Regards,
    Stoich
    the Telerik team
    Are you enjoying Test Studio? We’d appreciate your vote in the ATI automation awards.
    Vote now
  5. Simona
    Simona avatar
    12 posts
    Member since:
    Sep 2012

    Posted 17 Oct 2012 Link to this post

     Hi,

    Thanks for the prompt answer.

    Extract the file from zip folder and put it on c->inetpub->wwwroot.
    Go in IIS and Convert to Application the project. In Authentication  set Anonymous Authentication - enabled and the others set as disabled. Browse from here(IIS) Default.html page and take the path for recording the test.The UI is similar with our application.Try to do the next step:
    -open from Tasks menu a new tab: SearchTable2Set --> the recorder doesn't record this step.
    If I have many items on Tasks Menu it hapens the same with any of them. The validation task I put on them pass succesfully, but when I click on them no step is recorded.

    I reorganized the project files and attached it again to be easier to find the html page.

    Thanks,
    Regards,
    Simona

  6. Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 22 Oct 2012 Link to this post

    Hi Simona,
    thank you for providing the app.

    I've identified two problems based on your input:

    1) http://www.telerik.com/support/pits.aspx#/public/test-studio/13049
    The workaround is simple:
    http://screencast.com/t/4yr56tmhYm9W

    2) http://www.telerik.com/support/pits.aspx#/public/test-studio/13051

    The second problem appears under specific circumstances and is probably related to the first. Basically: if you try to invoke actions on a Tab that's not there: it will throw the KeyNotFound error.
    900 Telerik points added to your account.

    I hope this helps. Let me know if you require additional assistance with any of this.

    Greetings,
    Stoich
    the Telerik team
    Are you enjoying Test Studio? We’d appreciate your vote in the ATI automation awards.
    Vote now
  7. Simona
    Simona avatar
    12 posts
    Member since:
    Sep 2012

    Posted 31 Oct 2012 Link to this post

    Hello Stoich,

    I've tried your tips but still don't have the desired behaviour.
    Still not able to record the step wich open desired tab.

    I keep looking for an answer .

    Thanks, 
    Regards,
    Simona
  8. Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 05 Nov 2012 Link to this post

    Hello Simona,
    I'm sorry to hear that.

    The good news is that the bugs we've logged have already been release. We can put together a custom build for you and send it to your privately. Perhaps with this Test Studio build you will get the desired behavior.

    Let me know if you agree with this course of actions and I will talk to our developers to put together that custom build.

    Greetings,
    Stoich
    the Telerik team
    Are you enjoying Test Studio? We’d appreciate your vote in the ATI automation awards.
    Vote now
  9. Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 09 Nov 2012 Link to this post

    Hello Simona,
    I've went ahead and uploaded the custom build into my dropbox. I've added your email account so that you may download it. The custom build contains fixes for the Silveright errors you've experienced. Perhaps after upgrading to this build you'll be able to get the job done.

    Let me know how it goes if you choose to install it.

    Regards,
    Stoich
    the Telerik team
    Are you enjoying Test Studio? We’d appreciate your vote in the ATI automation awards.
    Vote now
Back to Top