What is the another extension name of library file. If that
is exist than what's the difference between them.
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / devina
.vbs - library file extension
.mts - script file extension
| Is This Answer Correct ? | 5 Yes | 3 No |
Consider a scenario where there are two action sheets say action 1 and action 2. Can Action 1 take values from action 2 data sheet or vice versa. If so, how?
HOW to invoke any recorded script in QTP with out using RECORD & PLAYBACK CONCEPT?
What is the current version of QTP and now it is the product of Mercury or HP
Write a script to print below pattern 5 4 3 2 1 5 4 3 2 5 4 3 5 4 5
take one example and write vbscript on one web application in qtp? explian descriptive programe with one example?
How to find given string is palindrome or not without using strreverse() function?
Use of Multiple Actions in QTP?
When and why to use descriptive programming?
Hi Friends, How to trap an error message on Web page through QTP. Example:- When I put wrong user id or Password on a web page, I get the error message. So when I add the error object in Reposatory, every time it shows as Login Failed Object exist, eventhough using corret login details. And if I do the same without adding the object it shows as object not found. This might be because while recording QTP takes every new page as _1 _2 _3 and so on. as below. Browser("XXXXX").Page("XXXXX_1"). >>login Browser("XXXXX").Page("XXXXX_2"). >>Inbox Browser("XXXXX").Page("XXXXX_3"). >>Sent Items I used below code. Browser("XXXXX").Page("XXXXX").WebEdit("firstname").Set strFN Browser("XXXXX").Page("XXXXX").WebEdit("lastname").Set strLN Browser("XXXXX").Page("XXXXX").WebEdit("userid").Set strUserID Browser("XXXXX").Page("XXXXX").WebEdit("password").Set strPass Browser("XXXXX").Page("XXXXX").WebButton("Login >").Click If Browser("XXXXX").Page("XXXXX_2").Image ("msg_icon_error").Exist 5 Then Reporter.ReportEvent micFail, "XXXXX", "Login Failed!" ExitRun (It shows login failed ever after login is passed. Else Reporter.ReportEvent micPass, "XXXXX", "Login Successful!" End If Please find out a way for me here, and provide me with the correct code. Thanks in Advance.
can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process
Can any one please list me out the shortcut keys for some functionalities in the QTP .. for example ..to record...to run...etc
What is post recovery scenario?