Does QTP support Java Script also. Which is one is
preferrable for QTP, VB script or Java script
Answer Posted / radhika
thnaks.but i did"t get thst examples.i"ll send script to
u.then u"ll check it.
Function Login()
Dialog("Login").Activate
Dialog("Login").WinEdit("Agent Name:").Set "radhi"
Dialog("Login").WinEdit("Password:").Set "mercury"
Dialog("Login").WinButton("OK").Click
End Function
Function Open_Order()
Window("Flight Reservation").Activate
Window("Flight Reservation").WinMenu
("Menu").Select "File;Open Order..."
Window("Flight Reservation").Dialog("Open
Order").WinCheckBox("Order No.").Set "ON"
Window("Flight Reservation").Dialog("Open Order").WinEdit
("Edit").Set "3"
Window("Flight Reservation").Dialog("Open Order").WinButton
("OK").Click
End Function
all these are copy and go to File-new-functionlibrary.in
these function library paste that files extension as .qfl.
later for we have to add it references(resources)go to
resources menu-objectrepository-file-export local
objects.in this save functions resources with .tsr.up to
here functions creations over.later if we want to call that
fun.go to resources-associative repository. in that add
that functions.
but am phasing error while calling the functions.
is it right?pls send script like this way and i real time
how to add functions?
Thanks&Regards
**************
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All 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.
What are the steps involved in the recovery scenario wizard?
What is the difference between call to existing action and copy of an action?
Hi,Sudhanandareddy plz forword framework and ppts for QTP to me. This is my mail id: ranjith_99reddy@yahoo.co.in (your contact number also)
How do you perform Regreession Testing?
when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks
your coming from electrical backgroung..but y ur coming to software side?
Tell me one scenario, the complex functionality you have automated in your project?
How you can delete excel file in qtp?
I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that
What is the new version of qtp which is recently released in the market?
In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field will reflects and so on.if total psngrs=100 then will we capture all the fields for the psngrs to Automate the app how we can handle this scenerio thru Descriptive programming?
How many tabs are available to view your test in a test pane and what are they?
Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...
What are the different ways to invoke an application using QTP?