'Convert all steps to code' fails if certain commands exist in the test script

8 posts, 0 answers
  1. Shashi
    Shashi avatar
    25 posts
    Member since:
    Feb 2011

    Posted 05 Mar 2011 Link to this post

    Hi,

    I have a test script recorded with WebUI Developer (Trial version) which I can't seem to convert to code (using 'Convert all steps to code'). 

    The cs file is created but it only contains the sample test method (looking for Telerik on Google).  The Preview code command shows an empty window.  I experimented quite a bit and narrowed the issue down to the presence of the following commands:

    Verify 'DataGridUserProfileListDataGrid's row count 'Equal' '1'  .

    radmaskedtextbox:  click with '0' offset action

    If I remove all instances of the above, convert all steps to code works fine.  When I put them back in, I get nothing.

    Other scripts that don't have the above commands export to code without problems.
    There are other radmaskedtextbox commands in the script (which input text into the text box) - but they don't cause any problems.  It is only the one above.

    Is this a known issue?  Are there any other commands known to cause this issue? Is there a workaround/fix? 

     

    Thanks,

    Shashi

  2. Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1911 posts

    Posted 05 Mar 2011 Link to this post

    Hello Shashi,

    We may indeed have a problem with the code generation of some particular test steps. I'm sorry about that!

    Can you please send a project with the test you get this problem on (you can make a copy of the project and remove all the other tests before sending it)? That will help us isolate and fix the the code generation bug quickly and publish a custom build for you. Thank you!

    All the best,
    Konstantin Petkov
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  3. Shashi
    Shashi avatar
    25 posts
    Member since:
    Feb 2011

    Posted 07 Mar 2011 Link to this post

    Hi Konstantin,

    Thanks for the quick response.  Is it ok if the test cannot be run?

    Shashi
  4. Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1911 posts

    Posted 07 Mar 2011 Link to this post

    Hello Shashi,

    Yest, that will help us too. We need the test before you convert it to code and fail. Thank you!

    All the best,
    Konstantin Petkov
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  5. Shashi
    Shashi avatar
    25 posts
    Member since:
    Feb 2011

    Posted 07 Mar 2011 Link to this post

    I don't want to post the files here (for security reasons).  Is there an email address I can send the files to? 

    Thanks,
    Shashi
  6. Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1911 posts

    Posted 07 Mar 2011 Link to this post

    Hi Shashi,

    You can reach us via a private support tickets as well. Here is a link from your account:

    Available Support List

    Greetings,
    Konstantin Petkov
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  7. Shashi
    Shashi avatar
    25 posts
    Member since:
    Feb 2011

    Posted 07 Mar 2011 Link to this post

    Hi Konstantin,

    I just logged the ticket with the files attached.  Please contact me privately if you need anything else or have questions.

    Thanks,
    Shashi
  8. Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1911 posts

    Posted 11 Mar 2011 Link to this post

    Hi Shashi and everyone interested,

    The problems in the code generation of those specific steps were identified and addressed. Those fixes will be included in any subsequent internal build or official release from now on.

    Kind regards,
    Konstantin Petkov
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Back to Top
  Cast Your Vote at DevPro Connections! Cast Your Vote at  Win IT Pro Connections!