【问题标题】:Can I use testrail ui scripts in a specific project only?我可以仅在特定项目中使用 testrail ui 脚本吗?
【发布时间】:2022-11-11 05:35:06
【问题描述】:

我在 testrail 中有多个项目,我希望能够为其中一个项目应用 ui 脚本,例如发布到 slack。

Testrail include 和 exclude 只接受没有项目 id 的 URL 参数来区分。

【问题讨论】:

    标签: javascript testing automation testrail


    【解决方案1】:
    const myProject = document.getElementById("navigation-project").innerHTML
        if(myProject =="PROJECT NAME") {
            //alert('myProject')
            //Your Code Here
        }
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-12-05
      • 2021-07-22
      • 1970-01-01
      • 2013-08-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多