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 |
Which environments does qtp support?
What is the difference between Systemutil.run and Navigate.
How to create an Action Template?
What is checking bitmaps?
Hi Samrat, Thank u very much, what u said it is right.
can any one tell me what is syntax error in line msgexist=Browser("title:=Gmail: Email.*").Page( "title:=Gmail: Email .*").WebElement(innertext=&msg).exist 'code ************** Call login("lal="," " ) wait(5) Call errormsg("Invalid email address. [?]" ) Function errormsg(msg) msgexist=Browser("title:=Gmail: Email.*").Page( "title:=Gmail: Email .*").WebElement(innertext=&msg).exist if msgexist then Reporter.ReportEvent micPass,"enter valid username or pwd ",msg else Reporter.ReportEvent micFail, "entered valid uname and pwd",msg end if End Function
Did QTP prove efficient for your project? Yes or No, explain?
How can we get a textcheckpoint in QTP9.1?
how can i pass parameters into function?
why was automation used in the project?
Explain in brief about the quicktest professional (qtp) automation object model?
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