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

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

7 Answers 84 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.
Shashi
Top achievements
Rank 1
Shashi asked on 05 Mar 2011, 06:21 PM

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

7 Answers, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 05 Mar 2011, 06:54 PM
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!
0
Shashi
Top achievements
Rank 1
answered on 07 Mar 2011, 03:20 PM
Hi Konstantin,

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

Shashi
0
Konstantin Petkov
Telerik team
answered on 07 Mar 2011, 03:32 PM
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!
0
Shashi
Top achievements
Rank 1
answered on 07 Mar 2011, 04:43 PM
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
0
Konstantin Petkov
Telerik team
answered on 07 Mar 2011, 04:55 PM
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!
0
Shashi
Top achievements
Rank 1
answered on 07 Mar 2011, 06:03 PM
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
0
Konstantin Petkov
Telerik team
answered on 11 Mar 2011, 12:35 PM
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!
Tags
General Discussions
Asked by
Shashi
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
Shashi
Top achievements
Rank 1
Share this question
or