What is the another extension name of library file. If that
is exist than what's the difference between them.

Answer Posted / kamesh

QTP can use 3 different types of function library
extensions: .qfl (not .qfi), .vbs and .txt

.qfl is local to QTP and can only be called and used by
QTP. .vbs and .txt on the other hand can be used by QTP and
by any application other than QTP. So, what I am trying to
say is that, you can open notepad and write a function and
associate it with your test as a .txt file. Either way, all
three can be used as QTP function libraries which contain a
function that you can use in your test. Another way to use
functions is to directly type them in your respective
action.
There is a difference between the .qfl and .vbs file. The
difference is you can put a breakpoint in .qfl and debug
your function written in the .qfl file. But, you cannot do
this in a .vbs file. Because of this reason, I prefer
writing function libraries in .qfl rather than in .vbs.

Is This Answer Correct ?    9 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to Open FireFox using descriptive programing? If my question is not clear, i will give an Example To Open Internet Explorer, We use Set IE = CreateObject(InternetExplorer.Application) IE.Navigate "www.yahoo.com In the same i need to open yahoo.com in firefox. Can any one tell me what is the server name of firefox to create an object

2530


Did QTP prove efficient for your project? Yes or No, explain?

6124


what are the issues we will get when there is migration from QTP 8.2 to QTP 10.0? Is there any problem in executing scripts of 8.2 on 10.0?

1451


Can any body please tell me the steps of keyword driven framework of QTP.

1572


What are the common defects found in your project? (in qtp interview)

1621






What is the difference between qtp and selenium?

553


Hi, I am using OutputCheckPoint for 2 webelements Bed:4 and Bath:2 Full,1 partial in my result page and I am storing the value in the data table. I dont need the string Bed:4,I would like to get only the no 4. How can I get it? Even though I highlight only 4,It is seleting the full value "bed 4". Same thing happend for second webelement Bath:2 Full,1 partial I need only the No 2. I used the following to split MyArray = Split(UIBathResult, " ", -1, 1) But it is giving the value My Array(0)=Bath:2full,1Partial I need the only the nos for further comparision.Any help? Thanks Uma

3257


Why we load add-ins in qtp?

632


Hi All, How to Compare two strings character by character in QTP

957


What are benefits of qtp?

587


What are some test assets and related extensions of qtp?

561


I have written a code to fetch values fro access db and place in the fields. Iam using GetROProperty to fetch runtime values. Now i want to add runtime values to the access db in field v3. please help me. Its not writting in the db. Option explicit Dim con,rs,db,c Set con=createobject("adodb.connection") Set rs=createobject("adodb.recordset") con.Open "Driver={Microsoft Access Driver (*.mdb)};dbq=D:\Sales.mdb" rs.open "select * from tax",con Do while not rs.eof Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("incost").Set rs.fields("v1") Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("intax").Set rs.fields("v2") c=Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("outtax").GetROProperty("value") rs.MoveNext print c Loop Do while not rs.EOF rs.EditMode rs.Fields("v3").Value="3" rs.Update rs.MoveNext Loop Set rs=nothing Set con=nothing

1489


how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods

1384


What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);

3498


Mention the test steps of qtp.

544