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

About coding

11 Answers 246 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.
Mohamad
Top achievements
Rank 1
Mohamad asked on 15 Nov 2012, 01:00 PM
Can I write a code and test it with write test cases?

if it is available which languages test studio support? 

11 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 15 Nov 2012, 01:20 PM
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
0
Neeraj
Top achievements
Rank 1
answered on 06 Feb 2014, 04:45 AM
is this vb.net or vb scripting?
0
Boyan Boev
Telerik team
answered on 06 Feb 2014, 02:49 PM
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
0
Kakustam
Top achievements
Rank 1
answered on 15 Apr 2014, 06:06 AM
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
0
Boyan Boev
Telerik team
answered on 16 Apr 2014, 07:57 AM
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
 
0
Avijit
Top achievements
Rank 1
answered on 19 Feb 2016, 07:33 AM
Firstly I choose VB for writing code. How do I change the coding format from VB to C#? 
0
Boyan Boev
Telerik team
answered on 22 Feb 2016, 01:47 PM
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
 
0
Ryano
Top achievements
Rank 1
answered on 12 Jul 2016, 05:58 AM

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.

0
Boyan Boev
Telerik team
answered on 14 Jul 2016, 02:49 PM
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
 
0
Shadab
Top achievements
Rank 1
answered on 01 Sep 2017, 06:11 AM

Hi,

Can you please let me know how to create scenario by writing script in c#?

Please refer me any link to go through it

0
Elena
Telerik team
answered on 05 Sep 2017, 11:42 AM
Hello Shadab,

Thank you for your interest in Test Studio. 

Please find further details how to create a coded step here. Additionally you could find some details about automating browser actions in code along with how to identify elements on page

I hope this information will be helpful to you! Thanks! 

Regards,
Elena Tsvetkova
Progress Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
Mohamad
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Neeraj
Top achievements
Rank 1
Boyan Boev
Telerik team
Kakustam
Top achievements
Rank 1
Avijit
Top achievements
Rank 1
Ryano
Top achievements
Rank 1
Shadab
Top achievements
Rank 1
Elena
Telerik team
Share this question
or