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系统当前的可用的网络接口.方法如下 -------------------- ...
随机推荐
- 字典dict
dictionary,在其他语言中常称为map 是一种 键-值 (key-value)存储结构,具有几块的查找速度 声明方法 dict名 = {'键名1':值1,'键名2':值2--} >> ...
- tomcat日志格式中的含义
%a - 远程IP地址 %A - 本地IP地址 %b - 发送的字节数,不包括HTTP头,或“ - ”如果没有发送字节 %B - 发送的字节数,不包括HTTP头 %h - 远程主机名 %H - 请求协 ...
- Solr坏境搭建
1.1. 搭建步骤 第一步:把solr 的压缩包上传到Linux系统 第二步:解压solr. 第三步:安装Tomcat,解压缩即可. 第四步:把dist目录下的solr.war部署到Tomcat下. ...
- thymeleaf的onclick标签传参异常
转自https://my.oschina.net/u/2312080/blog/2878183 异常 严重: Servlet.service() for servlet [DispatcherServ ...
- 初学python之路-day03
我在前面的文章提到了变量的概念,这里详细介绍下变量的命名.变量名,只能是字母.数字及下划线 "_" 任意组成,而且不能以数字开头.在命名变量时,尽量避免与系统关键词重名,如:'an ...
- vue组件,通过props父组件给子组件传值,WTF, 子组件报错undefined???
如果是正常操作,找了半天又找不到为什么undefined, 那很可能是props的命名出了问题: 不要用小驼峰式命名 例如这种childrenData 这种形式就会报错undefined 请尽量用全 ...
- P4147 玉蟾宫--单调栈
P4147 玉蟾宫 题目背景 有一天,小猫rainbow和freda来到了湘西张家界的天门山玉蟾宫,玉蟾宫宫主蓝兔盛情地款待了它们,并赐予它们一片土地. 题目描述 这片土地被分成N*M个格子,每个格子 ...
- 【python】实用的logging封装
#!/usr/bin/python import logging import logging.handlers def set_logger(filename, logmod): log_size ...
- ssm实现图片上传
在使用ssm完成前后端对接时,总免不了前台传过来的文件问题,而html中的<input>框直接使用时,往往会获取不到路径,今天在完成图片上传后的来做个总结 首先,前台页面 <!DOC ...
- Consideration about improving mathematics study
In this article, I’ll present my ideas about how to improve mathematics study, which are the forewor ...