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

Code for all steps

5 Answers 147 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Palani
Top achievements
Rank 1
Palani asked on 02 Nov 2010, 11:40 AM
Hi,
 I have recorded about 12 steps using WebUI. Can I see the C# code for all steps? If yes, How can I see them?

I'm using the internal build 2010.2.927

Thanks,
Palani

5 Answers, 1 is accepted

Sort by
0
Keaegan
Telerik team
answered on 04 Nov 2010, 11:07 PM
Hello Palani,

At this time, QA edition can only convert one step at a time (though it can convert one step at a time). In order to convert a step within QA edition to code (whether to review or otherwise) do the following:

  1. Open QA edition
  2. Load your test project
  3. Locate the test step you want converted to code and "Right-Click" the line item
  4. Click "Customize Step in Code"
This will convert the step into code (the line item will change to start with [_TestProjectName_Coded_Step]) for you. 

Remember that this process cannot be undone, so we would advise copying the step first so that you have something to revert to if the Coded version of the step fails for any reason. A normal ctrl+c/ctrl+v copy/paste method is fine for duplicating the step. Make sure you un-check one of them though or you will run the same step twice.

For your convenience I have included a screen shot showing two steps that are the same (one is coded, the other is not). Steps 4 & 5 shown in the screen shot are identical, only one of them is a coded step. Also of note is that I "un-checked" the second step to ensure that the same step didn't run twice.

While this is the method to do so in the QA edition, the Developer edition of WebUI is able to convert  the entire test at once (instead of only a step at a time) into a coded unit test. It also has a code preview feature.

All the best,
Keaegan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Palani
Top achievements
Rank 1
answered on 07 Nov 2010, 02:46 PM
Hi Keaegan,

 Thanks for the prompt response.

I thought WebUI Dev edition is only for developers, who is going to develop UI apps. Can I get the difference between webUI QAEdition and WebUI Dev edition? Also I would like to know, how WebUI Dev can help QA activities?

Thanks,
Palani.
0
Cody
Telerik team
answered on 08 Nov 2010, 11:21 PM
Hello Palani,

Allow me to interject and answer your question. We have a comparison chart you can review to understand the differences between the QA edition and the Dev edition.

At the core the Dev edition and the QA edition have the exact same feature set. You can record and playback tests in both editions. The Dev edition is best when you want to implement a lot of coded steps or simply prefer to work in code. You can take advantage of the Visual Studio debugger. The QA edition is best for someone with limited coding experience and prefers the more intuitive UI that the QA edition offers. The QA edition also has better support for test lists and test scheduling.

Greetings,
Cody
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Daniel Levy
Telerik team
answered on 08 Nov 2010, 11:23 PM
Hi Palani,

Thanks for writing. The developer edition is certainly geared towards developers who already have a license of Visual Studio. Much of the benefit comes by keeping the developer in the familiar IDE of Visual Studio. To a non-developer, this IDE may seem overly complex and thus distract from the overall ease of use and thus impact productivity. While most of the diffrences are with the interface, there are a few feature buckets that only  the QA Edition has, this includes the robust test list management (static, dynamic and the ability to reorder tests within your test lists), The scheduling of test lists across WebUI test servers on your network and the ability to collect the results and display them in an easy to read outlook style interface.

We have a great comparison chart of the 2 editions, I have included the link below for you to take a look at:

http://www.telerik.com/automated-testing-tools/products/compare-editions.aspx

I hope this is helpful, please do not hesitate to reach out with any additional questions!

Regards,
Daniel Levy
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Palani
Top achievements
Rank 1
answered on 11 Nov 2010, 03:47 PM
Hi,
 Today I downloaded the new version and tried.

Now I can see the code for all steps.

Thanks,
Palani.
Tags
General Discussions
Asked by
Palani
Top achievements
Rank 1
Answers by
Keaegan
Telerik team
Palani
Top achievements
Rank 1
Cody
Telerik team
Daniel Levy
Telerik team
Share this question
or