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

Newbie question - VB or C# Test Project

1 Answer 30 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.
Kristine
Top achievements
Rank 1
Kristine asked on 22 Jan 2015, 03:17 PM
I'm evaluating the use of Telerik Test add-in for VisualStudio. I'm looking to begin functional UI test automation of our web solution which uses C#, JavaScript. My previous experience was with HP's QTP (using VBScript) and I have some DEV background with VB. I have not used C# before.

My question is - does it matter which type of Telrik Test project I create (VB or C#)? If I select a VB Test Studio project, will that negatively impact my ability to test our web app written in C#? The only reason I was leaning towards VB is that's where my experience is but if it's important to use the same language between the test scripts and the app, I can do so.

Thanks for any feedback!

1 Answer, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 22 Jan 2015, 03:55 PM
Hi Kristine,

Let me start by saying that Test Studio really shines with its record and playback ability so that, unlike QTP, you rarely have to deal with code at all. Our recorded steps work similar to a keyword driven test. Our test runner executes the specified action targeting the specified UI element all w/o a single line of code in the script. It's our record and playback ability that makes you much more productive.

Now to answer your question: no it makes no difference at all which language your test project uses. It will all get compiled into a DLL and the content of your DLL used during test execution. The Test Studio script will be used to directly drive the web browser and the DOM it contains, which is the HTML sent by the web application. Thus your test script won't even be able to get at code contained in your web application. This is why Test Studio can work with any web application regardless of the technology behind that web application (ASP.NET, jQuery, PHP, etc.). They all generate and send HTML to the browser and that's what Test Studio will see and work with.

I hope this helps.


Regards,
Cody
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
Kristine
Top achievements
Rank 1
Answers by
Cody
Telerik team
Share this question
or