Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Call WinRunner functions from QTP

This is a discussion on Call WinRunner functions from QTP within the WinRunner forums, part of the Software Testing category; Hi guys Can anyone explain how to call a function defined in WinRunner script through QTP script thanks in advance...

Go Back   Geeks Talk > Software Testing > WinRunner
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 11-13-2006
Expert Member
 
Join Date: Apr 2006
Location: India, Hyderabad
Posts: 131
Thanks: 20
Thanked 48 Times in 18 Posts
bvani will become famous soon enough
Question Call WinRunner functions from QTP

Hi guys

Can anyone explain how to call a function defined in WinRunner script through QTP script

thanks in advance
Reply With Quote
The Following User Says Thank You to bvani For This Useful Post:
Sponsored Links
  #2 (permalink)  
Old 11-15-2006
Junior Member
 
Join Date: Oct 2006
Location: hyderabad
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
yagnkan is on a distinguished road
Re: Call WinRunner functions from QTP

create any udf in wr,then put in compile mode and save it
go to qtp ,insert call to wr function,select the wr program path
assign function name given in wr
then click in arguments field, enter any values
click on ok
script willbe generated automatically
as far as iam concerned , we could not generate script by manually in qtp.
if any thing is wrong , plz let me know.

Last edited by yagnkan; 11-15-2006 at 01:25 PM.
Reply With Quote
  #3 (permalink)  
Old 12-04-2006
Expert Member
 
Join Date: Apr 2006
Location: India, Hyderabad
Posts: 131
Thanks: 20
Thanked 48 Times in 18 Posts
bvani will become famous soon enough
Re: Call WinRunner functions from QTP

Thanks Yagnkan I got it working...
Reply With Quote
  #4 (permalink)  
Old 03-22-2007
Junior Member
 
Join Date: Mar 2007
Location: Pune
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
Livetek is on a distinguished road
Re: Call WinRunner functions from QTP

Hi

I am New to Qtp tool.My project is Client Server application developed in Java.How to pick the data from the drop down list box. At the run time it does not capture the data in the record, because the QTP is unable to recognise the Drop down combo box. Is there any code for that (Descriptive programming).Can any one solve my problem plz. Java add ins loaded in the application. I compared all the properties using both the Object Repository and Object Spy. Thanks in advance.
Thanks,
Livetek
Reply With Quote
  #5 (permalink)  
Old 03-27-2007
Junior Member
 
Join Date: Feb 2007
Location: bangalore
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
dnarsingarao is on a distinguished road
Post

Script for combobox

Try these are:

Method 1:

JavaWindow("z! 3PL").JavaList("Air Dim Factors").Click "#0", "Unit", "Cubic Meters/Kilogram"

method 2:

try with "Select", like

JavaWindow("z! 3PL").JavaList("Air Dim Factors").select "#0"

Descriptive Program:

Try this one:

1: Browser("GapWeb - News - Home").Page("GapWeb - News - Home").WebList("favoritesCommand").Select "Vendor Profile"
or
2: Browser("Title:=GapWeb - News - Home").Page("Title :=GapWeb - News - Home").Weblist("Name:=FavouritesCommand").Select "vendor"

I have done this and it works fine likewise..so jus' try n let me know if it wont work ..
Identify the Browser ,Page & Weblist name thru object identification process

Last edited by jainbrijesh; 05-22-2007 at 09:34 AM.
Reply With Quote
Reply

  Geeks Talk > Software Testing > WinRunner

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Call by Value and Call by Reference Lokesh M C and C++ 2 06-23-2009 03:29 AM
WinRunner Architecture bvani WinRunner 3 04-13-2009 09:44 AM
difference between QTP and WinRunner georgeprakash WinRunner 18 11-10-2008 01:43 AM
Winrunner chandrahar WinRunner 1 12-27-2006 06:27 AM
Single doubt on Single Call Object norman ASP.NET 0 08-29-2006 12:24 PM


All times are GMT -4. The time now is 01:12 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved