will QTP accepts javascript?

Answers were Sorted based on User's Feedback



will QTP accepts javascript?..

Answer / softwaretester4u

QTP scripting creation used only VBScript .Pls give proper
answers my dear testers.
post ur questions in testingguru yahoogroups also

Is This Answer Correct ?    13 Yes 2 No

will QTP accepts javascript?..

Answer / amit

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 ?    13 Yes 4 No

will QTP accepts javascript?..

Answer / 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

will QTP accepts javascript?..

Answer / hr recruter

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 ?    6 Yes 3 No

will QTP accepts javascript?..

Answer / piya

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 ?    2 Yes 0 No

will QTP accepts javascript?..

Answer / rajendra pradeep.nethala

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 ?    3 Yes 2 No

will QTP accepts javascript?..

Answer / guest

yes,QTP accepts java script

Is This Answer Correct ?    6 Yes 7 No

will QTP accepts javascript?..

Answer / andrew symonds

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 1 No

will QTP accepts javascript?..

Answer / suresh babu m

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 ?    6 Yes 8 No

will QTP accepts javascript?..

Answer / 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

More QTP Interview Questions

What is log file? what is the use of Log fine. How to create? what are the contents and the main advantages of log files. plz do help me in this concepts as i have an interivew on qtp in a couple of days. plz do help me.. thanks in Advance.

1 Answers  


i have a doubt can anyone tell me where are scripts stored while using QTP.Tell me the exact procedure takes place in real time?like how we call scripts how to proceed after writing scripts?how scripts are executed etc?i heard some use Qc whether others dont use.so tell me whole procedure for both the things it will be a very big help.as i have interview i want to have whole idea on this.its very urgent.

0 Answers   RR Donnelley, RRDonnelley,


what is check point?

2 Answers  


what function you write to do database testing with the help of qtp?

0 Answers  


What is the difference between "call to action" and "call an existing action"

9 Answers   Accenture, Yana Software,






I have written some script in QTP and i added those objects in Object Repository. All written script has been executed successfully. After few days when i tried to execute the same script i got error message "objects not found in Object Repositiry". How can we solve this issue?

3 Answers  


for example one window is there, the window contains how many edit box's i want script? i know the script but that is not exact answer.... The script is like this .......... set a=description.creation() a("Native class")="WinEdit" b=window("Flight Reservation").childobject(a).count msgbox b if u found exact answer please getback to me? raju.ippali@gmail.com 9823257761

1 Answers  


unable to get item from the combobox using descriptive programing. can any one give me the peice of code to schedule the booking from one place to another using DESCRIPTIVE PROGRAMING.

1 Answers  


How to manage a drag drop event in the qtp

3 Answers  


VM1 = "Invalid username or password. Please try again. " VM2 = "Email id is required.Password is required. " VM3 = "Email id is an invalid e-mail address.Password is required. " VM4 = "Password is required. " VM5 = "Email id is required. " VM6 = "Email id is an invalid e-mail address. " 'Rowcount of the Local sheet Rowcount = DataTable.GetSheet("Invalid login transactions").GetRowCount 'Valid emailid and Password Emailid = "test@iteamic.com" Password = "Password0" 'For i = 1 to Rowcount 'Parameterised Email_id Browser("Browser").Page ("Page").WebEdit("emailAddress").Set DataTable("Email_id", dtLocalSheet) EID = Browser("Browser").Page ("Page").WebEdit("emailAddress").GetRoProperty("value") 'Parameterised Password Browser("Browser").Page ("Page").WebEdit("password").Set DataTable("Password", dtLocalSheet) PWD = Browser("Browser").Page ("Page").WebEdit("password").GetROProperty("Value") If EID = Emailid And PWD = Password Then Reporter.ReportEvent micPass, "EID & PWD check", "Email id and Password is correct, One iteration of Invalid login attempts is not being executed" Else Browser("Browser").Page("Page").WebButton ("Sign-In").Click 'Output value exported to the local sheet Browser("Browser").Page ("Page_2").Output CheckPoint("Home page_Sign in") 'Storing the output value in a variable(OUTPUT OUTPUT = Datatable.GetSheet ("Invalid login transactions").Getparameter ("Validation_message_signin").value 'comparing the Variable Output and the Validation message for a given input If OUTPUT = VM1 Then Reporter.ReportEvent micPass, "VM1", "Invalid username or password. Please try again. " else if OUTPUT = VM2 Then Reporter.ReportEvent micPass, "VM2", "Email id is required.Password is required. " else if OUTPUT = VM3 Then Reporter.ReportEvent micPass, "VM3", "Email id is an invalid e-mail address.Password is required. " else if OUTPUT = VM4 Then Reporter.ReportEvent micPass, "VM4", "Password is required. " else if OUTPUT = VM5 Then Reporter.ReportEvent micPass, "VM5", "Email id is required. " else if OUTPUT = VM6 Then Reporter.ReportEvent micPass, "VM6", "Email id is an invalid e-mail address. " else Reporter.ReportEvent micFail, "EID & PWD check_FAIL", "Validation message checkpoint failed. The captured v msg is not required" End if End if I am getting syntax error saying "Expected 'End If'" at the last line, Why is this? Kindly explain...

1 Answers  


What is the difference between functional spec. and Business requirement specification?

5 Answers  


How many scripts do you write per day. What is the average number of scripts you have written in your recent project

1 Answers   CenturyLink, Optum, Value Labs,


Categories