You are on page 1of 3

Comments on Reports:

Display summary of all the tests/statistics that were run for all Products fo
r selected date range
Updated Query:
SELECT SUM(PASSEDCOUNT) AS "PASSED COUNT",SUM(FAILEDCOUNT) AS "FAILED COUNT",SUM
(ERRORCOUNT) AS "ERROR COUNT",SUM(WARNINGCOUNT) AS "WARNING COUNT"
FROM TM_V_TESTDEFPACKAGEEXECUTIONS WHERE
EXECUTIONTIMESTAMP BETWEEN
(TO_DATE ('${FROM DATE|${$TODAY}-1}','DD/MM/YYYY HH24:MI:SS')) AND
(TO_DATE ('${TO DATE|${$TODAY}-1}','DD/MM/YYYY HH24:MI:SS'))
AND (EXTERNALID_PK LIKE '%JMeterTestType' OR EXTERNALID_PK LIKE '%JUnitTestType'
OR EXTERNALID_PK LIKE '%SeleniumTestType' OR EXTERNALID_PK LIKE '%TestNGTestTyp
e')
Comments: (3) must fix issue
1) Updated default value.
2) Why hardcoded the test types... what if new test type comes. - This i
s a Limitation in this query
3) issue: Pdt details are not getting displayed. - Either doc should ch
anged or query should be changed.
4) Taking lot of time will test after some time

-------------------------
Display summary of all the tests/statistics that were run for a Product for sel
ected date range
Above comments applicable in this query.
Taking lot of time will test after some time
----------------------------------------
VCM 8.1 Quality Metrics Report
SELECT * FROM VCM_PRODUCTS_DETAILS WHERE PRODUCT=${$PROJECTID} AND YEAR='${tdAtt
r_Year|2010}' AND MONTH='${tdAttr_Month|AUG}'
The year and the month are hardcoded... try to change that. Not necessar
y though as they are defalt values and we pass parameters.
Taking lot of time will test after some time
-----------------------------------------
VCM 8.1 Config status report for last 6 days
select configname,branch,to_char(clusterid,'ddmmyyyy') "CLUSTERID",configdetails
,core,extended,cps,config,tas,ui from nut_config_report ta where (to_char(ta.clu
sterid,'ddmmyyyy') >= to_char(${$TODAY-6},'ddmmyyyy')) and projectid=${$PROJECTI
D} order by ta.configname,ta.clusterid desc
Comments:
1) Sysdate - 6 will be an issue as comparision will also consider time..
. we have to convert to char (reomve time while coparision) like in another quer
ies. Fixed this issue
2) should test one more time

-------------------------------------------
VCM 8.1 Daily config status report for yesterday
select configname,branch,to_char(ta.clusterid,'ddmmyyyy') "CLUSTERID",configdeta
ils,core,extended,cps,config,tas,ui from nut_config_report ta where to_char(ta.c
lusterid,'ddmmyyyy')=to_char(sysdate-1,'ddmmyyyy') and projectid=${$PROJECTID} o
rder by configname,clusterid
This query is ok. Can i make it generic for different suites..? sure thi
s is a complicated one... This is just some suggestion. Like for anchorsteam i r
un only FT and that % wont display here
Done
-------------------------------------------
VCM 8.1 Daily config status report for two days before date
select configname,branch,to_char(ta.clusterid,'ddmmyyyy') "CLUSTERID",configdet
ails,core,extended,cps,config,tas,ui from nut_config_report ta where to_char(ta.
clusterid,'ddmmyyyy') >= to_char(${$TODAY-2},'ddmmyyyy') and projectid=${$PROJEC
TID} order by configname,clusterid
This query i have updated to use ${$TODAY} instead of system date...
Done
-------------------------------------------
Daily config specifc failures details
This report should be deleted/removed. As current date is not valid for
us.

--------------------------------------------
Yesterday config specific failures details
SELECT CONFIGNAME,PACKAGENAME,SUITECOUNT,FAILEDCOUNT,PASSEDCOUNT,TESTCASE FROM C
ONFIGFAILEDDETIALS WHERE CONTAINERNAME LIKE UPPER('%${PROJECT NAME|CONTENT MANAG
EMENT}%') AND to_char(BUILDDATE,'ddmmyyyy')=to_char(${$TODAY-1},'ddmmyyyy')
This query i have updated to use ${$TODAY} instead of system date
Should check again this one.
--------------------------------------------
VCM 8.1 Common failures report for current day
This query can be deleted... becz current date.
---------------------------------------------
VCM 8.1 Common failures report for yesterday
select PACKAGENAME,TESTCASE,BUILDDATE from commonconfigfailures_ALL WHERE CONTA
INERNAME LIKE UPPER('%${CONTAINER NAME|CONTENT MANAGEMENT}%') group by PACKAGEN
AME,BUILDDATE,testcase having count(testcase) >= 3 and to_char(BUILDDATE,'ddmmyy
yy')=to_char(${$TODAY-1},'ddmmyyyy') ORDER BY BUILDDATE
Updated to ${$TODAY}.
Done
---------------------------------------------
VCM 8.1 Common failures report for last 6 days
select PACKAGENAME,TESTCASE,BUILDDATE from commonconfigfailures_all WHERE CONTAI
NERNAME LIKE UPPER('%${CONTAINER NAME|CONTENT MANAGEMENT}%') group by PACKAGENA
ME,BUILDDATE,testcase having count(testcase) >= 4 and to_char(BUILDDATE,'ddmmyyy
y') >= to_char(${$TODAY-6},'ddmmyyyy')
This query i have updated. ${$TODAY} is very use full here so for consis
tency i used at other places also.
Done
----------------------------------------------
VCM 8.1 config status report for given date
select configname,branch,to_char(ta.clusterid,'ddmmyyyy') "CLUSTERID",configdeta
ils,core,extended,cps,config,tas,ui from nut_config_report ta where to_char(ta.c
lusterid,'ddmmyyyy')='${tdProp_BuildID|${$TODAY-1}}' and projectid=${$PROJECTID}
order by configname,clusterid
Updated default value.
Done
-------------------------------------------------

You might also like