About coding

10 posts, 0 answers
  1. Mohamad
    Mohamad avatar
    1 posts
    Member since:
    Nov 2012

    Posted 15 Nov 2012 Link to this post

    Can I write a code and test it with write test cases?

    if it is available which languages test studio support? 
  2. Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 15 Nov 2012 Link to this post

    Hello Mohamad,

    I'm not sure I entirely understand your question. What type of application you want to test? Test Studio supports the following applications:

    - Web based HTML/ASP/ASP.NET applications
    - Web based Silverlight applications
    - Silverlight Out Of Browser applications
    - WPF desktop applications
     
    Test Studio supports coded steps (i.e. scripted steps as part of your test). We currently support C# and VB as a scripting language so you can add VB or C# scripts directly in your Test Studio tests.
     
    Please give us some additional info on what exactly is your automation challenge so we can assist you effectively. 

    Regards,
    Plamen
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  3. Neeraj
    Neeraj avatar
    7 posts
    Member since:
    Nov 2013

    Posted 05 Feb 2014 in reply to Plamen Link to this post

    is this vb.net or vb scripting?
  4. Boyan Boev
    Admin
    Boyan Boev avatar
    1039 posts

    Posted 06 Feb 2014 Link to this post

    Hello Neeraj,

    Thank you for contacting us.

    You can use either VB.Net or C# language in the coded steps. You can choose this when you insert your first coded step. Note that if you choose C# all your coded steps should be in C#, you cannot combine them.

    Let me know if you need further assistance.

    Regards,
    Boyan Boev
    Telerik
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  5. Kakustam
    Kakustam avatar
    1 posts
    Member since:
    Apr 2014

    Posted 15 Apr 2014 Link to this post

    Hai telerik team....

    Can I write VB script code in telerik test studio tool for ASP.NET Application?
    I would be thankfull if you provide any one of document with complete explanation and its respected screenshots which can easily understand by the first time users of test studio tool.
    Awaiting for your reply...
    Thank you,
    Raviprasad
  6. Boyan Boev
    Admin
    Boyan Boev avatar
    1039 posts

    Posted 16 Apr 2014 Link to this post

    Hi Raviprasad,

    Thank you for contacting us.

    Unfortunately not, you can write the full version of VB language which is VB.Net.

    Here is an article how you can add a coded steps in Test Studio.

    Hope this helps.

    Regards,
    Boyan Boev
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  7. Avijit
    Avijit avatar
    1 posts
    Member since:
    Jan 2016

    Posted 19 Feb Link to this post

    Firstly I choose VB for writing code. How do I change the coding format from VB to C#? 
  8. Boyan Boev
    Admin
    Boyan Boev avatar
    1039 posts

    Posted 22 Feb Link to this post

    Hello Aivjit,

    Unfortunately you cannot change it. You should create a new project and choose C# for codding language.

    Thank you for your understandings.

    Regards,
    Boyan Boev
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  9. Ryano
    Ryano avatar
    1 posts
    Member since:
    Mar 2016

    Posted 12 Jul Link to this post

    I encountered this issue when adding a coded step, selected C#, but then the step could not compile, and throws the following error:

    error CS1647: An expression is too long or complex to compile

    I thought i'd try it in VB and see if the compiler gave any more clues. But i could not switch languages.

  10. Boyan Boev
    Admin
    Boyan Boev avatar
    1039 posts

    Posted 14 Jul Link to this post

    Hello Ryan,

    As I mentioned you cannot change the coding language. You should create a new project and select VB as a coding language.

    Here you can read more about this error.

    You can also send us your project so we can review it and give you a solution.

    Thank you!

    Regards,
    Boyan Boev
    Telerik by Progress
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
Back to Top
  Cast Your Vote at DevPro Connections! Cast Your Vote at  Win IT Pro Connections!