Geeks Talk

Prepare for your Next Interview




Check points in functions

This is a discussion on Check points in functions within the QTP forums, part of the Software Testing category; Suppose we have written an output check point in a function. Now i want to call that function in another script and get the output through that output check point. ...


Go Back   Geeks Talk > Software Testing > QTP

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 02-27-2008
Junior Member
 
Join Date: Feb 2008
Location: HYDERABAD
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
nandana_palla is on a distinguished road
Check points in functions

Suppose we have written an output check point in a function. Now i want to call that function in another script and get the output through that output check point. The error message says that the output check point is not present in the object repositary. So how can we add that in object repository?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-27-2008
Banned
 
Join Date: Oct 2007
Location: Hyderabad
Posts: 176
Thanks: 2
Thanked 11 Times in 11 Posts
quality_quantity is on a distinguished road
Re: Check points in functions

There also u follow the same procedure. See the sample code

Function addition(x,y)
z= x+y
msgbox z
End Function

Call addition(1,2)
Call addition(2,2)



rgds
PRATAP
Reply With Quote
  #3 (permalink)  
Old 02-28-2008
Contributing Member
 
Join Date: Sep 2007
Location: Hyderabad
Posts: 93
Thanks: 1
Thanked 14 Times in 13 Posts
rajaputra is on a distinguished road
Re: Check points in functions

Hi,

Before calling that function in another script you have to load that particular object repository into it. Then it will dont show you any error.


Arunsingh Rajaputra
Reply With Quote
  #4 (permalink)  
Old 02-28-2008
Moderator
 
Join Date: Oct 2007
Location: Frankfort, KY
Posts: 283
Thanks: 3
Thanked 51 Times in 36 Posts
Anshoo_Arora is on a distinguished road
Re: Check points in functions

Nandana, which version of QTP are you using?
Reply With Quote
Reply

  Geeks Talk > Software Testing > QTP


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Function Points judhajit Testing Issues 1 12-20-2007 07:48 AM
Verification points in QTP Forum_User QTP 2 06-22-2007 05:16 AM
How can you differ the check points Geek_Guest QTP 5 04-29-2007 11:11 AM
Usage of check-in and check-out in designer sanghala Data Warehousing 2 03-07-2007 02:29 AM
Points and lines smart_coder Brainteasers 8 01-25-2007 02:00 PM


All times are GMT -4. The time now is 05:23 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved