Forum Discussion
Thank you for the reply!
Actually, this is the issue! Project requirement is to use c# language only and can't go with any other language.
Note: I am aware of c#+selenium and have experience however this is a particular requirement so doing POC on different tools/frameworks/libraries to identify the better automation solution for the given requirement.
- tristaanogre2 years agoEsteemed Contributor
A couple of specific things here:
1) Chat GPT, while AI, is really not a reliable source of complete information. It is "Trained" based upon web content and will only regurgitate a synthesized version of what can typically be found on the web. The key item missing in that Chat GPT result is the word "syntax". You can write C# syntaxed scripts but it is NOT C# .NET programming language complete with all the built in objects, etc.
2) As rraghvani pointed out, the only reason to use the C# Syntax C#Script is if you're going to be doing connected applications and such. The language used for the automation does NOT have to be the same language that the application under test is written in. I can write a DelphiScript automation to test a Java application or a JavaScript automation to test a Python application. Where the "right fit" for the tool is has to do with what language of automation code you're comfortable in. Because C# and JavaScript are close in syntax, it makes sense to use JavaScript in your application.
If your management is firm on "it must be C#", we've provided the work around as indicated. However, you might want to communicate to your management that the automated test and the application under test do not need to share a language.
Related Content
- 5 years ago
Recent Discussions
- 4 days ago
- 4 days ago