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

How to add verification steps to tests?

9415


Define Environment Variable in UFT and its uses?

797


What will be happen if i load object repository at run time, but it has already associated.

1492


What phases are involved in testing an application in qtp?

745


What is the difference between qtp and selenium?

758


If I change the object name in one action will it be updated in all the actions? Or not?

811


How do you capture tooltip using QTP?

808


Does quicktest professional is unicode compatible?

693


How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)

1959


How to use setroproperty?

753


if mandatory and Assitive propertys are shows same how will u write skript in QTP window

1848


Describe synchronization point.

794


Where we can use the synchronization?

764


What test cases can you automate using QTP?

844


How to modify the text checkpoint?

801