What are the different scripting languages you could use when working with QTP ?

Showing Answers 1 - 75 of 93 Answers

Phani Kumar

  • Jul 26th, 2005
 

VB Script Using in QTP

  Was this answer useful?  Yes

Rahul rathan

  • Jul 29th, 2005
 

Venkat does QTP recognise VB & JS code. I am not sure. 
You can also write scripts using Windows Scripting Host.

  Was this answer useful?  Yes

narendar

  • Sep 14th, 2005
 

vb script

  Was this answer useful?  Yes

Joe

  • Oct 16th, 2005
 

This will also support java script, but i hve not tries refer Quick test plus help for each function they have give code in vbs and js.

  Was this answer useful?  Yes

Vel

  • Dec 22nd, 2005
 

Do you Know how to use JSCRIPT in QTP.If so please let me know the procedure.

  Was this answer useful?  Yes

Dharmesh Jasani

  • Jan 26th, 2006
 

You cant use JScript in QTP.

You can run your java script (.js) and vbscript (.vbs) using Windows Script Host engine. So its not related to running JScript in QTP. You can only run VBScript in QTP.

Thanks!

Dharmesh

  Was this answer useful?  Yes

soniya

  • May 5th, 2006
 

you can write your QTP automation programs in any Languages and development environment that supports automation

For example: you can use: VBScript,javaScript,Visual Basic,Visual C++, or Visual Studioi.Net

  Was this answer useful?  Yes

venki

  • Sep 12th, 2006
 

QTP SUPPORTS ONLY VB SCRIPTS

  Was this answer useful?  Yes

Vishnu

  • Dec 29th, 2006
 

In QTP we use VB Script

  Was this answer useful?  Yes

manjunatha H.S

  • Apr 4th, 2007
 

Only VB script

  Was this answer useful?  Yes

devendra singh

  • May 3rd, 2007
 

Only VB script is used QTP for Scripting

  Was this answer useful?  Yes

Sheelu

  • Jun 2nd, 2007
 

Hi,
   I think we can use only VB Script in QTP. Can you support your answer that how we can use other languages.

  Was this answer useful?  Yes

Veena

  • Jun 28th, 2007
 

We can use vb script as default, if we can add any language in add-in manager then we can use different languages also like .net .....

if this is wrong please tell the correct
Thank You

  Was this answer useful?  Yes

tseshasayi

  • Jul 18th, 2007
 

Mainly it generates the code in the vb scripting language and next what ever the applications?we can use to test with QTP it is converted on that particular languages.For example: >Java script, PERL script language, shell script language...etc

  Was this answer useful?  Yes

Pallavi

  • Jul 24th, 2007
 

You can use Java script as well as VB Script in QTP. I have worked with both. For JavaScript you need to capture the objects in object repository. You can change the properties if u want.

  Was this answer useful?  Yes

madhuri

  • Aug 18th, 2007
 

VB is the scripting language.

QTP supports not only VB, VC++, Java, HTML, etc. but also .Net, XML, SAP, Multimedia, Oracle applications

  Was this answer useful?  Yes

omar

  • Aug 22nd, 2007
 

TSL language can be used while connecting between QTP & Winrunner

  Was this answer useful?  Yes

Venu

  • Aug 23rd, 2007
 

Hi,

VB is the scripting language used in QTP.
And regarding the Add-in's, they are used to recognize the objects for different applications.
eg: For Java Application, Java Add-in is used.

So, I think its not that Java script is based on the Java Add-in.

Please correct me if I'm wrong.

Thanks,
Venu

  Was this answer useful?  Yes

Ashok

  • Oct 18th, 2007
 


Only support Vb Script because it is interpreted language which only support by QTP

and J Script is compiled languge like C ,C++ thats are not suppote by QTP

remember only interpreted language support by QTP i.e. Vb Script

more information at  ashok2007_india @ yahoo . co . in

  Was this answer useful?  Yes

Fayaz

  • Oct 30th, 2007
 

 I am sure that, VBScript is default scripting language for QTP.

Guyz, 

    Please discuss about only scripting language
(not other languages or environments like .Net and JAVA. I feel using other languages in QTP is depend on Add-Ins. So, that is the different concept).

If u know which SCRIPTING LANGUAGE  supporting  by QTP? Please let us know the process. 

Thanks

  Was this answer useful?  Yes

ven

  • Oct 31st, 2007
 

QTP is unicode and platform independent.

Unicode: supports any language in universe.
supports any platform .

  Was this answer useful?  Yes

ZigAzigZig

  • Nov 2nd, 2007
 

Some of you are not understanding (or reading) the question.

What SCRIPTING languages you could use when working with QTP?

The answer is VB Script.

The SCRIPT that QTP generates when you record an action is in VB SCRIPT. To make modifications to this script, you must use VB SCRIPT.

get it?

  Was this answer useful?  Yes

banump

  • Jan 28th, 2008
 

Guyz, lets end up this discussion.
QTP strictly uses VB Script only.
No other language can be used in Expert view
Windows Host script (WSH) can be executed from QTP, and also the WinRunner scripts. But you can do them in some specified manner, not just copying the script and pasting in Expert view.

Jscript ref are given in QTP help. But, they are present there due to Microsoft's VB reference.

  Was this answer useful?  Yes

If you want to write the code in Javascript, you need to add the Java plug ins in Addin Manager,
For Java we need to purchase the java addin License.
we can write the scripts in XML,Word doc also for these we need to purchase the individual license

  Was this answer useful?  Yes

kousik_10

  • Jun 8th, 2010
 

By default we use VB Script as the scripting language in QTP but we can also use JavaScript, Java or even XML, to use them we need to do the following:

If we want to write the code in JavaScript we need to add the Java plug-ins in Addin Manager
For Java we need to purchase the Java Addin License.

We can write the scripts in XML Word doc also for these we need to purchase the individual license.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions