日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

ALM 中查看某个 test 的更改 history 历史

發布時間:2023/12/18 编程问答 33 豆豆
生活随笔 收集整理的這篇文章主要介紹了 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;

?

?

轉載于:https://www.cnblogs.com/backpacker/p/9983225.html

總結

以上是生活随笔為你收集整理的ALM 中查看某个 test 的更改 history 历史的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。