如何使testRigor正确找到此输入?

问题描述

我正在尝试使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,then enter into input "R$ 0,then enter into input "R$&nbsp0,00" below the "Vl. Un." and save as "custoProdutos"

解决方法

请尝试相对位置:

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"