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 are the attributes of QTP?
what is descriptive programming?
how to generate numbers in between to numbers suppose numbers in between 500 to 1000 in sequencies using vbscript
Please let know the scripts for counting number of repeated letters in the word. Note repeated letter should not be count agian. Ex: If "Hello" is my word... l is coming twice.. it should count once and print... secong 'l' should not count again..
Is there anyone can tell me where I can download free or trial QTP? I tried HP website, it was not there anymore. If someone know, pls send me URL. Tks...
i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com
Hi let me ask one questin 1.How to use outputof the one function input to the another function pls give the script for above 2.what is the purpose of action parameter , how to create it
In QTP where i have to concentrate more in the Interview point of View
how do u handle an object without name using QTP 9.2?
Will down time for server and content maintenance/upgrades be allowed? how much?
if Object repository contain x and y properties. we do not know whether they are mandatory or assistive properties. While executing the script qtp will use both the properties or only sufficient properties to identify the object. It means it use OR (or) AND
describe some problem that u had with automation testing tool?