Quantcast
Channel: Quality Center / ALM Practitioners Forum topics
Viewing all articles
Browse latest Browse all 5491

Is it possible to use pattern matching to extract the QC defects in OTA Script??

$
0
0

Hi,

 

I have used regular expression while fetching defect details from QC using OTA script, but getting err message.

 

please find the below code for reference

 

Set tdc = CreateObject("tdapiole80.tdconnection")
tdc.InitConnectionEx "http://quc.com/qcbin/"
tdc.login "tester", "pwd"
tdc.Connect "project", "Releases"
Set BugFact = tdc.BugFactory
Set BugFilter = BugFact.Filter
BugFilter.Filter("BG_STATUS") = "Closed"
BugFilter.Filter("BG_PROJECT") = "'testproject'"
'BugFilter.Filter("BG_DETECTED_IN_RCYC") = "^Releases\2013\UAT Test^" - actual value
'using regular expression
BugFilter.Filter("BG_DETECTED_IN_RCYC") = "*UAT Test*"

Set BugList = BugFilter.NewList
MsgBox BugList.count

Next

 

Getting error message in the highlighted line. please help me on this.

 


Basically my aim is to identify the defect count in each phase(UAT, Unit testing, Integratin testing, etc ) for the project. plesae let me knw, if there are any other ways to achieve the same.

 

Thanks


Viewing all articles
Browse latest Browse all 5491

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>