无能够点击图像导航到下一页 [英] No Able to tap on an image to navigate to next page

查看:61
本文介绍了无能够点击图像导航到下一页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试在编码的UI中使用Windows手机测试中的图像...但是我得到一个错误,无法找到控件......但控件,我发现是非常正确的.. ..

I try to tap on an image in Windows mobile phone testing in codedUI...But i'm getting an error like , Cant find the control...But the control ,I found was very correct....

我尝试过XamlControl和UITestControl ....没有工作...你的任何建议......

I tried XamlControl and UITestControl....not working...Any suggestion from your end..

在此先感谢。

推荐答案

RSK86,

Hi RSK86,

如何在编码的UI测试中捕获图像控件Windows Phone?

How do you capture the image control in your Coded UI Test for Windows Phone?

我们需要捕获Windows Phone应用程序中的控件使用十字准线工具来选择图像控件。然后将按钮控件添加到UI控件图。详细步骤请参考以下文档。

We need to capture the controls in Windows Phone app use the cross-hair tool to select the image control. Then add the button control to the UI control map. The detailed steps please refer to following document.

https://docs.microsoft.com/en-us/visualstudio/test/test-windows-phone-8-1-apps-with-coded-ui-测试

此外,请确保图像不会被其他控件覆盖,并且图像控制的断言方法使用唯一的属性。

In addition, please make sure the image doesn't be covered with other controls and the assert method for image control use the unique property.

最好的问候,

Weiwei

Best Regards,
Weiwei


这篇关于无能够点击图像导航到下一页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆