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
what is parameterisation?
what type of test cases tou will automate?
What are the types of data tables in qtp?
CAN SOME ONE TELL ME ABOUT QTP FRAMEWORK? I AM SUPPOSED TO GIVE THE QTP FRAMEWORK THIS WEEK SO PLEASE HELP
Explain how you can find length of array in qtp?
I m trying to automate one vb desktop application in that there is vblist vbcombobox many other vb tools are there ,when i m trying to find some unique property to identify the object (take example of vbcombobox ) I cannot find any unique property, all the combobox belong to same nativeclass same name no ids are available ,only the distinct property is there x and y coordinates so i m using some code like this "vbbutton "nativeclass:=ThunderRT6CommandButton","x:=304","y :=443").exist(2)" but i dont find them reliable .Can anyone suggest me some other way to identify those objects with some unique property or is there any way to register our own property .I m using descriptive programming to write the code .Thanks in advance
An object is created, i dont know the methods available for that object, i want to find methods available for that object and use the required method. How i can do this???
How does qtp identify gui object?
what is object repository size?
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?
What is difference between Quality centre and Test Director?
How can we use the "CreateObject("Wscript.Shell")" in QTP and what is the definition and purpose of it?