Forum Discussion
AlexKaras
12 years agoCommunity Hero
Hi Shrirang,
It's strange that nobody replied here yet convincing you for JScript... :)
> So my real question is whether Jscript will help in future to write any javascript functions for client side manipulations or writing jqueries etc.
I'm really doubting that you will ever need this... And nobody for the past several years mentioned here that he did things like those. In the worst case, you should be able to implement some tricky approach via script extension using JScript and use this script extension from within your VBScript/DelphiScript project.
For me personally, the only potential benefit of JScript is its support for object-oriented programming. Hovewer, this also has its reverse side of the coin: you will have considerable problems if you ever need to port your fine object-oriented JScript code where you used function prototypes and other JScript-oriented specifics to the language that does not support this stuff (e.g. VBScript). Definitely, this is not a problem if you work for the same employer with the same project for years, but if there is a chance that you will participate in different projects, I would recommend to use as more built-in TestComplete's functions and as less language-specific features as possible to ease existing code reuse in the future.
It's strange that nobody replied here yet convincing you for JScript... :)
> So my real question is whether Jscript will help in future to write any javascript functions for client side manipulations or writing jqueries etc.
I'm really doubting that you will ever need this... And nobody for the past several years mentioned here that he did things like those. In the worst case, you should be able to implement some tricky approach via script extension using JScript and use this script extension from within your VBScript/DelphiScript project.
For me personally, the only potential benefit of JScript is its support for object-oriented programming. Hovewer, this also has its reverse side of the coin: you will have considerable problems if you ever need to port your fine object-oriented JScript code where you used function prototypes and other JScript-oriented specifics to the language that does not support this stuff (e.g. VBScript). Definitely, this is not a problem if you work for the same employer with the same project for years, but if there is a chance that you will participate in different projects, I would recommend to use as more built-in TestComplete's functions and as less language-specific features as possible to ease existing code reuse in the future.