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
No Answer is Posted For this Question
Be the First to Post Answer
How will you handle the situation when object is not captured during record?
how to get the particular chr in an array list the question is ....i have an array like this ABCD EBCF GBCH IBCJ HERE I NET TO GET ONLY "BC" FROM ALL HOW TO GET IT HELP ME ANY ONE THANKS
What is keyword driven framework?
suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question
Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.
Cn u please clarify my doubt Where are micTab and micReturn used.Thanx in Advance
what is keyword driven framework in qtp.
How to capture screen shots when an error occurs?
what is the exact Diff. Between Test and Component in QTP?
What is checkpoints for quicktest professional (qtp)?
In an interview, what r the general questions asked in QTP? pls give me anwser to this question?
Which statement will use for close an action in QTP?