GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Tech FAQs  >  QTP
Go To First  |  Previous Question  |  Next Question 
 QTP  |  Question 662 of 674    Print  
QTP Private Functions
What are Private Functions in QTP? How they can be called from the function library?


  
Total Answers and Comments: 1 Last Update: July 13, 2009     Asked by: manoj.katare 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
July 13, 2009 05:15:16   #1  
raghuramgupta Member Since: January 2007   Contribution: 26    

RE: QTP Private Functions

Private functions means which are specific to your application ex: Login to your app
you can call them in 2 ways
1. By using the statement Executefile "c:fucntions.vbs"
2. By adding ur function library at the "Test Settings->Resources->Libraries"


 
Is this answer useful? Yes | No

 Related Questions

I am testing a Java executable application and and IE based application.I have a script that I would like to launch the Java executable, enter a record in the database, the switch over to IE and search the database. Currently I am having trouble: 1) The java EXE cannot be launched from the QTP command line. So my run settings are run on any open Java application. This is not preferable and right now DEV cannot figure out why QTP can launch other Java apps and not ours. So when I start the script

How to use global variables in QTP?also how to pass parameters between different actions?where to find info on functions?
Read Answers (2) | Asked by : Ritu

Latest Answer : Function_F1(Dyna_link)Set obj = Browser("Browser").Page("eProcurement_3").Link("Pending Approval for indent").Object.body.documentset Linkcollections= obj.Linksmsgbox “No. of Links is” & Linkcollections.Lengthdim ...
Read Answers (3) | Asked by : divya

In QTP script, many functions are there to use. I know, few of the frequently used functions and commands. (Ex: GetROProperty to retrieve data and to compare that with some other, like that)Can you plz tell me what are the functions are very much required to test.
Read Answers (1) | Asked by : asha

I need to automate tests on a inhouse built application. This application can be accesed through CITRIX terminal server. How can I connect to this server via QTP and access the application.Is there any 
Latest Answer : QTP 9.2 captures citrix keys.... U need to double click it...~Harsha ...
Read Answers (2) | Asked by : Swapna
Tags : Citrix

Latest Answer : A Test Script can have multiple actions and each actions can access multiple functions. A function usually will be limited to processing a calculation or perfrom a small series of operations before returing some value for further manipulation. You would ...
Read Answers (1) | Asked by : G. Aruna Kumar

Difference between library files and reusable functions in QTP? What is the purpose of each? Explain with an example. In a project under what circumstances we use library files and in what circumstances we use reusable functions in a particular project.
View Question | Asked by : aarruunnaa

How to call functions in test case when they are decleared within library under a class defination?
Read Answers (1) | Asked by : jadhav pandharinath

how we can return a value from a function in qtp 
Latest Answer : Suppose if we write a function as follows:Public function Sum (parameter1,.......)a = 10b = 10c = a + bmsgbox cSum = cEnd FunctionAlways one thing make sure that whatever the value you return, for ex, c, should point to the function name. In this case, ...

What are Private Functions in QTP? How they can be called from the function library? 
Latest Answer : Private functions means which are specific to your application, ex: Login to your app, you can call them in 2 ways1. By using the statement Executefile "c:fucntions.vbs"2. By adding ur function library at the "Test Settings->Resources->Libraries" ...


 Sponsored Links

 
Related Articles

Microsoft AJAX Library - Anonymous Functions

Anonymous Functions Anonymous functions can be created adhoc and used instead of a named function Although this can hinder readability when the function is more complex you can do this if you don t intend to reuse a function s code In the following example we pass such an anonymous function to Displ
 

Microsoft AJAX Library - Functions as Variables

Functions as Variables In JavaScript functions are first class objects This means that a function is regarded as a data type whose values can be saved in local variables passed as parameters and so on For example when defining a function you can assign it to a variable and then call the function thr
 

Microsoft AJAX Library - JavaScript Functions

JavaScript Functions A simple fact that was highlighted in the previous chapter but that is often overlooked is key to understanding how objects in JavaScript work code that doesn t belong to a function is executed when it s read by the JavaScript interpreter while code that belongs to a function is
 

ERPAdvantages for Management Functions

ERP Advantages for Management Functions ERP management systems provide a technology platform in which organizations can integrate and coordinate their main internal business processes They use this to fight against the problem of the organizational inefficiency brought on by the use of different sys
 

C++ Static Functions

C Static Functions Static member functions have a class scope and they do not have access to the this pointer of the class When a member is declared as static a static member of class it has only one data for the entire class even though there are many objects created for the class The main usage of
 

C++ Virtual Functions

C Virtual Functions What are Virtual Functions Virtual as the name implies is something that exists in effect but not in reality The concept of virtual function is the same as a function but it does not really exist although it appears in needed places in a program The object oriented programming la
 

C++ Inline Functions

C Inline Functions In this C tutorial you will learn about Inline function what is inline function reason for the need of inline function what happens when an inline function is written general format of inline function explained with example mosgoogle center What is Inline Function Inline functions
 

String handling functions

What is the string handling functions present in header file <string.h>? There are number of string handling functions present in string.h. In other words if a programmer uses any of the function present in string.h then they must include the header file as #include <string.h&am
 

SQL Functions

SQL Programming Overview In the article SQL Programming, we discussed creating the “Hello, World!” function in PostgreSQL, MySQL, and Oracle. In this article, we take “Hello, World!” one step farther and introduce the parts of a function and how to pass parame
 

JavaScript Functions

JavaScript Functions In this JavaScript tutorial you will learn about JavaScript functions and how to create them mosgoogle center What is a function Function is a block of code that can be reused as and when needed at various places The function executes whenever it is called JavaScript Functions H
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape