Answer Posted / sani
User defined functions are encapsulation of segments of
code which is used several times in the script.
They can be either within the QTP script or can be
maintained in external .VBS or .TXT files
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Is qtp supports uni-code?
What will be happen if i load object repository at run time, but it has already associated.
What is RTM (require ment tracebulity marix) fromate?
after click on compose mail how can we attached a file in qtp with vbscript code
Which scripting language used by quicktest professional?
What are the methods used in UFT to handle exceptions or run-time errors?
Is it possible to use two instances of UFT on the same machine? If not why?
Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?
i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?
What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.
How can I change object description or check point values in qtp?
How can we retrieve the Bug Ids which are open&Reopen in status through QTP scrit?Please find the script which i tried... Dim objBugFactory, objBug Dim BugId Set TDConnection = QCUtil.TDConnection Set objBug = TDConnection.BugFactory If QCUtil.IsConnected then Reporter.ReportEvent 0, "Connected", "Connected to server: " + QCUtil.TDConnection.ServerName + chr (13) +"Project: " + QCUtil.TDConnection.ProjectName + chr (13) + "Domain: " + QCUtil.TDConnection.DomainName Reporter.ReportEvent 0, "Current time on server is","==>" & TDConnection.ServerTime Else Reporter.ReportEvent 1, "Not connected", "Not connected to Quality Center" End If If mybug.Status="Open" Then BugId=mybug.DefectId MsgBox BugId End If 'OR**********************************--------------------- -----********************************** If Bug_Fields("BG_STATUS").Value ="Open" Or "Re Open"Then BugId=Bug_Fields("BG_BUG_ID").Value MsgBox BugId End If
Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..
How you can replace string in qtp?
For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?