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
What is the Dynamic Scenario in QTP? And also anybody give the example for this?
what are the metrics in general we use in testing.
Local Obj Repository and SOR are editable know, y we have to edit those.. i mean in which situation we need to edit those and how to do..? pls help me..
write script for "dropdown button having how many words? for ex.SELECT CITY is dropdown name.. find out how many cities in that?
How many regression test suits in your appliction?
suppose u hav a dialog or window which contains 10 buttons with same name & value. now how to check each button? i.e. how qtp indetifies these objects separately?
How qtp recognizes the object?
How to use regular expression in descriptive programming?
What is meant by Environmental variables?2 types r there know…can u pls explain clearly?
How to enable the text check point in qtp? By default it is disables
1 Answers Sify, ssinformatics,
How will you send values to a cell in a webtable using QTP?
what r the drawbacks and limitations of QTP?