Newbie question - VB or C# Test Project

2 posts, 0 answers
  1. Kristine
    Kristine avatar
    4 posts
    Member since:
    Jan 2015

    Posted 22 Jan 2015 Link to this post

    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!
  2. Cody
    Cody avatar
    3360 posts

    Posted 22 Jan 2015 Link to this post

    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.

    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top