GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Tech FAQs  >  QTP
Go To First  |  Previous Question  |  Next Question 
 QTP  |  Question 568 of 646    Print  
Explain the difference between .qfi and .vbs file in QTP?

  
Total Answers and Comments: 4 Last Update: December 17, 2007     Asked by: binitp 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
November 23, 2007 03:12:37   #1  
Anshoo_Arora Member Since: October 2007   Contribution: 384    

RE: Explain the difference between .qfi and .vbs file ...

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.


 
Is this answer useful? Yes | No
November 23, 2007 06:07:49   #2  
binitp Member Since: November 2007   Contribution: 10    

RE: Explain the difference between .qfi and .vbs file ...

Thanks for ur input !
what I am trying to know is - what is the purpose that they have introduced this new library file as QFL as there should be some advantage in using this over .vbs file.


 
Is this answer useful? Yes | No
November 26, 2007 07:19:40   #3  
Mansoor Shaikh        

RE: Explain the difference between .qfi and .vbs file ...
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.

Thanks,
Mansoor

 
Is this answer useful? Yes | No
December 17, 2007 08:46:15   #4  
Sycho Member Since: November 2007   Contribution: 66    

RE: Explain the difference between .qfi and .vbs file in QTP?
Hi,

Another difference is that

You no need to associated VBS file to the test. You can simply call it using ExecuteFile Statment. And any file that is called using ExecuteFile statement can not be debug.

But Liberary file created in QuickTest liberary file editor itself must be associated with the test from you are going to call its public function.

CHEERS

CPS

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape