will QTP accepts javascript?

Answer Posted / snp

The add-ins are included so that QTP can recognize certain
objects. Java add-in enables QTP to be able to identify
JAVA objects and use corresponding methods; similarly .NET
add-in helps QTP to identify .NET objects. A .NET window is
identified as swfWindow and not WinObject or Window Object.

Will QTP accept Javascript would mean - can you make QTP
identify objects, perform tasks like entering data in edit
box, click buttons, etc. using JavaScript.

Answer is YES.

Quote from a documentation
"You can write your QuickTest automation programs in any
language and development environment that supports
automation. For example, you can use: VBScript, JavaScript,
Visual Basic, Visual C++, or Visual Studio.NET."

Please refer
http://students.depaul.edu/~slouie/QTUsersGuide.pdf - page
804-805

Is This Answer Correct ?    4 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.

2416


How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?

3046


How to use setroproperty?

564


Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?

3267


What are the types of object repository?

572






Why is action split used by qtp?

549


i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.

1522


what is the difference between the modular framework and datadriven frame work

1902


What is Associate Repository in QTP 9.2 ?

593


What is difference between Recording time object identification and Run time (Execution) time.

995


When we r doing data driven test with chkpts, i want to insert formulae in data sheet but i didn't get. How we wil do that plz. explain in detail.

1597


if our qtp vb Script may be Currepted then What we want do?

1475


What is system testing and what are the different types of tests you perform in system testing?

589


I would like to directly import XL file and work on that XL file directly in QTp script in that XL sheet need to allocate workbench,XL sheet and generate two bar graphs automatically how to do that? plz let me know any answers?

1555


Hi All, I need code for how to execute qtp scripts from excell sheet

1455