Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Post New Answer

More QTP Interview Questions

what are the attributes of QTP?

3 Answers  


what is descriptive programming?

5 Answers   Ordain Solutions,


how to generate numbers in between to numbers suppose numbers in between 500 to 1000 in sequencies using vbscript

1 Answers  


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..

1 Answers  


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...

1 Answers  


i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com

0 Answers  


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

2 Answers  


In QTP where i have to concentrate more in the Interview point of View

1 Answers  


how do u handle an object without name using QTP 9.2?

0 Answers   CTS,


Will down time for server and content maintenance/upgrades be allowed? how much?

0 Answers  


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

8 Answers   ADP,


describe some problem that u had with automation testing tool?

3 Answers  


Categories