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
What are the steps involved in the recovery scenario wizard?
your coming from electrical backgroung..but y ur coming to software side?
hou can we use vb script in qtp could u tell me breafly
If u r using library files (Instead of Check Points) , How do u do bitmap check ?
To retrive the test data which tool vl use and whats basis u vl write test data? its urgent
Discuss the QTP Environment?
When using descriptive programming?
I have qtp 9.5 demo ver,I am not able to record the yahoo broeser.so anyone can tell me what setting i have to do in QTP for yahoo brower recording. why its not recognise the object of yahoo browser????
Explain different types of action in qtp?
What is an optional step in qtp ?
what is vmodel?advantages and disadvantages of vmodel?
suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question
how to find that tools work well with your existing system?
How does qtp identify the object in the application?
How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?