Thursday 4 March 2010

JavaScript or VBScript?

A relevant question...

Lately I am more into JavaScript...why?

One of the most important reason for me is that the error handling functionality is better in JavaScript (try...catch)...

JavaScript seems also like a better long-time solution since it is more common than VBScript these days...

5 comments:

Hari Sreekanth Upadrasta said...

Are you using javascript in qtp or for some other thing else?

tarun k said...

"java script in QTP"

is it even possible?

Stefan Thelenius said...

Hi

I am not using JavaScript in QTP. However, it is possible to use it via the IE object, examples are found in QTP Unplugged book.

/Stefan

Neelkanth said...

Hi Stefan,

Can you give some more descriptiong with example how javascript can be used via IE object?

Thanks in advance.

Stefan Thelenius said...

Hi Neelkanth,

I do not have any good examples for QTP so I recommend QTP Unplugged book which has some good ones. If I get the some spare time after the summer I might post some new JavaScript-based applications which I am working on.

/Stefan