获取FailedToPerformActionOnBlocked

获取FailedToPerformActionOnBlocked

本文介绍了编码的UI测试 - 获取FailedToPerformActionOnBlockedControlException的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Coded ui Testing的新手,英语也不是我的母语,所以我会努力做到最好。

I am new to Coded ui Testing, also English is not my native language, so i will try to do my best.

我无法对文本框执行操作。我也使用了一些telerik控件。

I am unable to perform an action on textbox. I'm also using some telerik controls.

我有一个RadTabControl(控件类型选项卡),其中RadTabItems(控件类型TabItem)由用户在运行时生成此RadTabItem有一个窗格在我内部,我有被阻止的控件。

I have a RadTabControl (Control Type Tab), in which RadTabItems (Control Types TabItem) are generated by the user during runtime this RadTabItem has a pane and inside it i have the controls that are getting blocked.

在使用Coded UI Test Builder的操作记录期间,当我尝试单击一个控件时,它会在顶部窗口中记录一个单击,不是控件本身,但是当向控件写入文本时,它会将一个set属性记录到wpfedit对象。

During the actions record with Coded UI Test Builder when i'm trying to click a control it records a click on the top window and not to the control itself, but when writing text to the control it records a set property to the wpfedit object.

我还尝试在运行testmethod时突出显示控件,它没有抛出异常并突出显示控件的正确控制。 

I also tryed to highlight the control when running the testmethod, it did't throw an exception and highlighted the control the right control. 

任何想法?,我无法直接在此处粘贴代码。但我会发送你可能需要的马赫信息。

Any ideas?, i am not able to directly paste code in here. But i would send as mach information as you may need.

谢谢

 

推荐答案


这篇关于编码的UI测试 - 获取FailedToPerformActionOnBlockedControlException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-06 01:59