Keyboard.Sendkeys在Codedui测试中不适用于SSN字段 [英] Keyboard.Sendkeys not working for SSN field in Codedui test

查看:64
本文介绍了Keyboard.Sendkeys在Codedui测试中不适用于SSN字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 


 我想在SSN字段中输入一个数字而不能使用


Keyboard.sendkeys(UIitem," 354-56-5454");



谢谢 


Shalini

解决方案

Hi Shalini,


欢迎来到MSDN论坛。


如果可以捕获控件,那么Keyboard.sendkeys () &应该NBSP;工作。


请确保控件"UIitem"可以找到,使用* DrawHight()方法进行检查。



祝你好运,


陈伟伟 


Hi, 

  I am trying to enter a number in the SSN field and not able to using the

Keyboard.sendkeys(UIitem, "354-56-5454");

Thank you 

Shalini

解决方案

Hi Shalini,

Welcome to MSDN forum.

If the control could be captured, the Keyboard.sendkeys() should work.

Please make sure that control "UIitem" could be found, use *DrawHight() method to have a check.

Best regards,

Fletch 


这篇关于Keyboard.Sendkeys在Codedui测试中不适用于SSN字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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