【问题标题】:How can I make testRigor find this input the right way?我怎样才能让 testRigor 以正确的方式找到这个输入?
【发布时间】:2021-02-10 22:07:02
【问题描述】:

我试图让 testRigor 找到这个输入但没有成功: the input we're trying to put data on

<td title="" id="ember857" class="right aligned middle aligned ember-view">R$&nbsp;0,00</td>

ID 总是不一样的,所以我们不能使用它。 已经尝试过:

generate by regex "[1-9]{6}", then enter into the second input "R$ 0,00" and save as "custoProdutos"
generate by regex "[1-9]{6}", then enter into the first input "R$ 0,00" and save as "custoProdutos"
generate by regex "[1-9]{6}", then enter into input "R$ 0,00" and save as "custoProdutos"
generate by regex "[1-9]{6}", then enter into input "R$&nbsp0,00" and save as "custoProdutos"
generate by regex "[1-9]{6}", then enter into input "R$ 0,00" below the "Vl. Un." and save as "custoProdutos"

【问题讨论】:

    标签: testrigor


    【解决方案1】:

    请尝试相对位置:

    generate by regex "[1-9]{6}", then enter into the third input on the right of  "eerenlkrwlfxr" and save as "custoProdutos"
    

    或部分匹配:

    generate by regex "[1-9]{6}", then enter into the second input "R$" and save as "custoProdutos"
    

    【讨论】:

    • 谢谢,我使用了部分匹配,效果很好,谢谢!
    猜你喜欢
    • 2021-09-24
    • 1970-01-01
    • 2016-06-15
    • 1970-01-01
    • 2015-02-07
    • 1970-01-01
    • 1970-01-01
    • 2021-02-12
    • 2022-01-06
    相关资源
    最近更新 更多