ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
will QTP accepts javascript?
 Question Submitted By :: Radhika
I also faced this Question!!     Rank Answer Posted By  
 
  Re: will QTP accepts javascript?
Answer
# 1
yes, before entering into QTP tool we should select addin 
java and then according we have write the script.

if iam wrong pls correct me
 
Is This Answer Correct ?    3 Yes 10 No
Nagapawan
 
  Re: will QTP accepts javascript?
Answer
# 2
sry bt ur answer is wrong .java and java script is diffrent 
things.u can use jeva but the using script will be vb 
script and it not accepts java script.
 
Is This Answer Correct ?    5 Yes 1 No
Amit
 
 
 
  Re: will QTP accepts javascript?
Answer
# 3
QTP scripting creation used only VBScript .Pls give proper 
answers my dear testers.
post ur questions in testingguru yahoogroups also
 
Is This Answer Correct ?    4 Yes 0 No
Softwaretester4u
[EDS]
 
  Re: will QTP accepts javascript?
Answer
# 4
Hi,

QTP accepts Java Script, Jscript, and VB scripting.

some of the objects are not identified by using Java script.

So, we can use use Vb scripting.


Regards
Suresh
 
Is This Answer Correct ?    5 Yes 2 No
Suresh Babu M
 
  Re: will QTP accepts javascript?
Answer
# 5
yes,QTP accepts java script
 
Is This Answer Correct ?    2 Yes 1 No
Guest
 
  Re: will QTP accepts javascript?
Answer
# 6
please give the answers that you are aware and optimistic,
somany seekers are checking this site for updating their 
knowledge and some simply beginers 
so, please make this site reliable for someone who doesn't 
know things.....
 
Is This Answer Correct ?    1 Yes 1 No
Hr Recruter
 
  Re: will QTP accepts javascript?
Answer
# 7
Yes we can use java script, QTP will accept Java script.But
most of the people use only the VB script bcz its easy than
the Java script
 
Is This Answer Correct ?    1 Yes 3 No
Sudeepth Madhur
 
  Re: will QTP accepts javascript?
Answer
# 8
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 ?    1 Yes 1 No
Snp
 
  Re: will QTP accepts javascript?
Answer
# 9
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 ?    3 Yes 0 No
Snp
 
  Re: will QTP accepts javascript?
Answer
# 10
Java Script programming cannot be done in QTP but it will
support Java script. We can make a DLL by using Java script
and add that to QTP and there after you can use that.
 
Is This Answer Correct ?    1 Yes 1 No
Rajendra Pradeep.nethala
 
  Re: will QTP accepts javascript?
Answer
# 11
QTP accepts Java scripts same way as it do Vb scripts
 
Is This Answer Correct ?    1 Yes 0 No
Suu
 
  Re: will QTP accepts javascript?
Answer
# 12
Hello,
 
  QTP creates VBScript and it supports java script when we 
do recording. That means some statement of java script we 
can add in VB script which is mandatory during 
testing/recording. 

  The add-in managers will enables QTP to recognize objects 
in the developement environment of AUT(Application under 
test). When add-ins are enabled the corresponding objects 
will be consider as standard objects. 

   Hope i am right :-)
 
Is This Answer Correct ?    0 Yes 0 No
Piya
 
  Re: will QTP accepts javascript?
Answer
# 13
In some cases qtp accepts javascript. In some cases it is
not working. Actually qtp is very famous tool in testing
tools. With out qtp we can't get job in mnc's and also some
small companies also. Just now i learn qtp in mind-q
systems. Which   is famous institute in hyderabad.
 
Is This Answer Correct ?    0 Yes 0 No
Andrew Symonds
 
  Re: will QTP accepts javascript?
Answer
# 14
QTP can use javascript if and only if we need to isntall 
Add-in plug
 
Is This Answer Correct ?    0 Yes 0 No
Sudhakar
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
Does QTP support Java Script also. Which is one is preferrable for QTP, VB script or Java script IBM17
Do we get any issues if we run the testscript on different browsers? what are the options we need to st in QTP? BirlaSoft1
how to write script in qtp(vbscript)..i mean with out application deployed..and how to call script1 into script2? Infosys5
How we can capture the dynamic object ex:(rotating globe) in the web page with time gaph is 5 sec.. IBM2
For example one window is there the window contain some of Check boxes but my question is how many check boxes are there particular window? Please solve the problem gi_raju@rediffmail.com ippaliraju@yahoo.co.in  3
What is API  1
how u write vb script in qtp pls give me some basic script and some material Datamatics22
How to call a function in QTP?  3
how to recall a function in QTP? Ordain-Solutions3
How can we use XML in QTP?  1
Anybody explain me, the concept of checkpoint declaration in the QTP mainly for the Objects, Pages, Text and Tables ?  1
why qtp supports vbscript? and not for others just like cgi,phython,shell,perl,html and all.. Cap-Gemini2
The Senario is Steps to do 1.Entered userid in textbox 2.saved with details 3.i want to open user which i have created its in hurry.....  1
Hi, Can any body please tell me how to create framework in qtp & where i can get some material to learn about it. regards, rahulT  1
Hi. plz expalin abouit SetToProperty, SetRoProperty, GetToProperty, GetRoProperty,GetToPrperties. with examples.  3
What is parameterization? What is syncronization pt.? Semantic-Space3
waht is the difference between QTP 8.2 and 9.0 version AppLabs13
Is it mandatory to know abt regular expression in descriptive programming  2
How to send QTP scripts to our colleagues? Virtusa1
how open two urls in one browser? plz urgent Satyam5
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com