CodedUI下拉选择 [英] CodedUI dropdown selection

查看:57
本文介绍了CodedUI下拉选择的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试编写我的g邮件注册表单的代码,我想从下拉列表中选择月份,但是我能够通过在Test Builder中搜索属性来单击下拉箭头。而无法从month中找到该属性内容,请使用Test Builder进行尝试。

I am trying to hand code my g mail signup form , i want to select month from drop down , but i was able to click the drop arrow by searching the properties from Test Builder.and not possible to find the property from month content , tried with Test Builder .

任何人都可以告诉我如何选择特定下拉菜单

can any one show me how to select that particular drop down

谢谢您,

推荐答案

我建议您让编码的UI向您显示操作方法。尝试创建(沙盒)编码UI项目,并使用编码UI记录并生成工具以执行所需的操作。然后从自动生成的代码中复制想法。如果编码的UI记录器无法生成合适的代码,那么问题就很棘手。

I would suggest you let Coded UI show you what to do. Try creating a (sandbox) Coded UI project and use the Coded UI record and generate tool to perform the required actions. Then copy the ideas from the automatically generated code. If the Coded UI recorder cannot generate suitable code then the problem is hard.

这篇关于CodedUI下拉选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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