且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

编码的UI测试-单击按钮突然不起作用

更新时间:2023-01-03 14:15:19

我认为由于分辨率的变化或您的测试第三次无法找到按钮的记录位置。

I think Due to resolution changes or something your test is not able to find the recorded position of the button third time.

我建议您可以使用 GetClickablePoint()方法搜索按钮,而不管其在屏幕上的位置。

I would suggest you to use GetClickablePoint() method to search for a button irrespective of its position on the screen.

您可以请参阅这个。

干杯。