ALM 中查看某个 test 的更改 history 历史
ALM 中要查看某个 test 更改历史, 需要下面两个表:
AUDIT_LOG and AUDIT_PROPERTIES
------- Get Test modification history --------
---- In ALM, 857, if filter out test case named '26169502', check its History. In the history, for the node of date '20-AUG-18', can see 6 items, changer is: asbopann
---- following is the steps to retrive the 6 records in ALM DB.
select * from tools_peopletools_857_qa_db.test where TS_USER_03 = 'Application Designer' and TS_Name = '26169502' and TS_USER_08 = 'Ready to Automate' and TS_Creation_Date > TO_DATE ('MAY-04-2017','MON-DD-YYYY');
--TS_TEST_ID = 84826
select * from tools_peopletools_857_qa_db.AUDIT_LOG where au_entity_id = 84826;
-- This returns all the modification history of test case '26169502'. Many items
-- Among the result, we interested in the one happened on 20-AUG-18, which is changing case to 'Ready to Automate'
-- AU_ACTION_ID = 21774729
select * from tools_peopletools_857_qa_db.AUDIT_PROPERTIES where AP_ACTION_ID = 21774729;
-- Now you can see 6 records which are the ones we want.
select * from tools_peopletools_857_qa_db.AUDIT_PROPERTIES where AP_OLD_VALUE = 'Planned' and AP_NEW_VALUE = 'Ready to Automate' and AP_ACTION_ID = 21774729;
-- With this one, we can just filter the record of changed to 'Ready to Automate'
最终整合的 sql:
select tt.ts_name, tt.TS_TEST_ID, ll.AU_TIME, ll.AU_USER, pp.AP_ACTION_ID, pp.AP_OLD_VALUE, pp.AP_NEW_VALUE from tools_peopletools_857_qa_db.test tt, tools_peopletools_857_qa_db.AUDIT_LOG ll, tools_peopletools_857_qa_db.AUDIT_PROPERTIES pp
where tt.TS_USER_03 = 'Application Designer' and tt.TS_USER_08 = 'Ready to Automate' and tt.TS_Creation_Date > TO_DATE ('MAY-04-2017','MON-DD-YYYY')
and tt.TS_TEST_ID = ll.au_entity_id and ll.au_action = 'UPDATE'
and pp.AP_OLD_VALUE = 'Planned' and pp.AP_NEW_VALUE = 'Ready to Automate'
and ll.AU_ACTION_ID = pp.AP_ACTION_ID order by tt.ts_name;
ALM 中查看某个 test 的更改 history 历史的更多相关文章
- 在Outlook中查看预览SharePoint文档库的文档
本文概况 阅读时间: 约2分钟 适用版本:SharePoint Server 2010及以上 面向用户:普通用户,管理员 难度指数:★★☆☆☆ 在日常工作中,总有一些常用的文档需要经常打开查看,其实我 ...
- windows中查看开机时间
windows中查看开机时间 在windows下可以使用systeminfo命令来查看. 下面是网站摘录的关于windows启动了多长时间的内容 1. windows系统可以查看从开机到现在共 ...
- 【转】Linux中history历史命令使用方法详解
原文网址:http://os.51cto.com/art/201205/335040.htm 当你在玩Linux的时候,如果你经常使用命令行来控制你的Linux系统,那么有效地使用命令历史机制将会使效 ...
- 在注册表中查看Windows10系统激活密钥的方法
1 2 3 4 5 6 7 分步阅读 百度经验:jingyan.baidu.com 激活Windows10系统(非自己使用激活密钥激活的系统)以后,我们不一定清楚激活密钥是什么.如果想查看自己电脑 ...
- 如何在 Linux 中查看可用的网络接口
在我们安装完一个 Linux 系统后最为常见的任务便是网络配置了.当然,你可以在安装系统时进行网络接口的配置.但是,对于某些人来说,他们更偏爱在安装完系统后再进行网络的配置或者更改现存的设置.众所周知 ...
- DB数据源之SpringBoot+MyBatis踏坑过程(六)mysql中查看连接,配置连接数量
DB数据源之SpringBoot+MyBatis踏坑过程(六)mysql中查看连接,配置连接数量 liuyuhang原创,未经允许禁止转载 系列目录连接 DB数据源之SpringBoot+Mybati ...
- Linux中history历史命令使用方法详解
当你在玩Linux的时候,如果你经常使用命令行来控制你的Linux系统,那么有效地使用命令历史机制将会使效率获得极大提升.事实上,一旦你掌 握了我在下面给出的15个有关Linux history历史命 ...
- 在Linux终端中查看公有IP的方法详解
首先回顾一下一般的查看IP的命令: ifconfigLinux查看IP地址的命令--ifconfigifconfig命令用于查看和更改网络接口的地址和参数 $ifconfig -a lo0: fla ...
- 【转】如何在 Linux 中查看可用的网络接口
原文:https://www.cnblogs.com/qianpangzi/p/10563979.html 查看ubuntu系统当前的可用的网络接口.方法如下 -------------------- ...
随机推荐
- 电子医疗设备创新研发应该用i.MX6Q开发板吗?为医疗设备提供解决方案
伴随医疗信息化.移动化.智能化的不断发展,居民对自身健康的关注度持续加强,全球医疗电子产业近年来持续保持快速增长态势.同时,源于庞大的人口基数以及迅速增长的老龄化人口带来持续增长的医疗服务需求,加之全 ...
- android stuido搭配git常用命令
查看本地分支:git branch 查看远程分支:git branch -a 推送本地分支到远程:git push origin local_branch:remote_branch 推送远程访问 g ...
- pyhton之Reportlab模块
reportlab模块是用python语言生成pdf文件的模块 安装:pip install reportlab 模块默认不支持中文,如果使用中文需要注册 1.注册中文字体 下载自己需要的.ttf字体 ...
- keepalived健康检查方式【转】
keepalived具有很强大.灵活的后端检测方式,其具有HTTP_GET|SSL_GET|TCP_CHECK|SMTP_CHECK|MISC_CHECK 几种健康检测方式 ,在分别介绍各种检测方式之 ...
- 响应消息的内容类型 text/html; charset=utf-8 与绑定(application/soap+xml; charset=utf-8)的内容类型不匹配。
问题表述: 响应消息的内容类型 text/html; charset=utf-8 与绑定(application/soap+xml; charset=utf-8)的内容类型不匹配. 说明: 此类问题当 ...
- 【原创】大叔案例分享(3)用户行为分析--见证scala的强大
一 场景分析 用户行为分析应用的场景很多,像线上网站访问统计,线下客流分析(比如图像人脸识别.wifi探针等),比较核心的指标有几个: PV | UV | SD | SC 指标说明: PV(Page ...
- linux 解决Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
第一种: sudo vim /etc/resolv.conf 添加nameserver 8.8.8.8 第二种: /etc/apt/sources.list 的内容换成 deb http://old- ...
- MySQL基础使用
数据库 其实我们常常说的数据库,应该叫数据库系统. 表和库 数据表:用来保存数据的表格 数据库:用来统一管理数据表的容器 启动mysql 关闭mysql service mysqld start(启动 ...
- 5、Filebeat工作原理
Filebeat工作原理 Filebeat由两个主要组件组成:inputs和harvesters. 这些组件协同工作来查看最新文件内容并将事件数据发送到指定的输出.(注意与之前版本的不同,之前版本是p ...
- 剑指offer数组3
面试题11:旋转数组的最小数字 把一个数组最开始的若干个元素搬到数组的末尾,我们称之为数组的旋转. 输入一个非减排序的数组的一个旋转,输出旋转数组的最小元素. 例如数组{3,4,5,1,2}为{1,2 ...