will QTP accepts javascript?

Answer Posted / snp

There is something I would like to add/modify in my previous
post. The paragraph I quoted regarding QTP accepting
various language - Any of the above languages can be used to
automate the QTP processes i.e. using QTP AOM. As far as
scripting the QTP scripts is concerned, VBScript is the ONLY
valid script.

If you have a test suite of 3 different tests like - smoke
test, a regression test on module 1 and a regression test on
module 2, you can create and run an automation script from
lets say MS Visual Basic that loads the required add-ins for
a test, starts QTP, configures settings, run the test and
save it!

For writing QTP scripts - ONLY VBSscript
For Automating QTP processes i.e. using QTP AOM, any of the
languages mentioned in above post.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to add synchronisation points in qtp?

572


What are the Disadvantages of shared object repository?

559


Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?

1480


Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.

1553


I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all

1507






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


wt is the use of multiple questions in QTP

1671


how to know no.of mails in our g mail by using vb-script

1768


can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?

1677


What is the parameterization?

570


I want to know can we integrate visual source safe tool with QTP and QC for our version controlling process? WE know QTP and QC 10.0 version is having the version control inbuilt in it but I want to know the merits and demerits of the inbuilt version control tool and the visual source safe tool using QTP and QC.

2458


What are the major/ important methods, functions in QTP we use realtime testing

2257


is it possible to add sheets to excel at runtime

3226


What is the synchronization point in qtp?

554


How many lines of code in each script of QTP?

4026