Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box

2258


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...

2206


we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?

2037


What is the quicktest professional (qtp) testing process?

966


What are the different types of qtp test assets and their extensions?

1106


Explain the concept of object repository and how QTP recognizes objects?

1001


how to explain a claims and insurance project?

2216


What is the short cut keys for the following?

1079


What is ‘object spy’ and what is the function of object spy in qtp?

1046


Is it possible to call win runner script in qtp?

1044


What is the parameterization?

1003


What is QTP scenario.

2234


whare exactly we have to use functions and sub routain

2268


What is data driver in qtp?

975


I am facing an issue of object identification with the dropdown element of DHTML grid. When I tried to recognize these different dropdown objects, QTP identifies only one object for all the dropdowns. Hence, selection of different data from different dropdowns list is an issue. To overcome this problem, i have used Descriptive Programming technique by creating different object descriptions which have all the other properties same but differ only in one property i.e. ‘X’ location of the element on the screen. Hence, i have created distinct object descriptions that would allow us to select values in different dropdowns. The code is given below. But still I am unable to identify distinct dropdown objects. ‘Object Description for Dropdown Cell Status Set objCellStatus = Description.Create objCellStatus("micclass").value = "WebList" objCellStatus("name").value = "select" objCellStatus("x").value = 219 ------ ‘X’ Axis value for cell status drop down ‘Object Description for Dropdown Sub Segment Set objSubSegment = Description.Create objSubSegment("micclass").value = "WebList" objSubSegment("name").value = "select" objSubSegment("x").value = "319" ------ ‘X’ Axis value for sub segment drop down Please help... This is specific to DTML grid(Drop down object)

1880