Add screenshot to monitor TC execution

This commit is contained in:
wangyan 2017-11-12 22:49:06 -08:00
parent 7cd44e4eb6
commit b300334764

View File

@ -161,12 +161,13 @@ Do Log Advanced Search
#others #others
Click Element xpath=//audit-log//clr-dropdown/button Click Element xpath=//audit-log//clr-dropdown/button
Click Element xpath=//audit-log//clr-dropdown//a[contains(.,"Others")] Click Element xpath=//audit-log//clr-dropdown//a[contains(.,"Others")]
Sleep 1
Click element xpath=//audit-log//hbr-filter//clr-icon
Input Text xpath = //audit-log//hbr-filter//input harbor
Sleep 1 Sleep 1
${c} = Get Matching Xpath Count //audit-log//clr-dg-row Click Element xpath=//audit-log//hbr-filter//clr-icon
Should be equal as integers ${c} 0 Input Text xpath=//audit-log//hbr-filter//input harbor
Sleep 1
Capture Page Screenshot LogAdvancedSearch2.png
${rc} = Get Matching Xpath Count //audit-log//clr-dg-row
Should Be Equal As Integers ${rc} 0
Expand Repo Expand Repo
[Arguments] ${projectname} [Arguments] ${projectname}