创建编码的UI数据驱动的自动化测试 [英] Creating Coded UI data-driven automated test

查看:57
本文介绍了创建编码的UI数据驱动的自动化测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好


在我们的网站内创建编码的UI测试




当前路径位于原始文件夹:





获得新的CodedUIMethod代码 








现在我需要帮助:


编辑我的数据驱动的.CSV文件(当我有不同的参数时如何添加数字):




如何将CodedUITestMethod1中的代码复制到程序中,并更改ApplicationUnderTest.Launch的路径。我如何复制数据源属性


谢谢


igkes








$

解决方案

嗨igkes,


我已经回答了你以前的帖子,我认为你误解了我的回答来自

此主题
(请记住
标记)。在其中,您询问了如何对具有多个数字的计算器进行数据驱动测试。我已经把你在我身边写的源代码给了你。我认为您可以快速运行该项目而不会出现问题。但是你对这个新问题回答
感到困惑,他们之间没有任何关系。你需要知道这一点。


请回答我的以下问题:


1)。什么类型的this.UIMap.SelectLastNameParams.UILastNameEditText?请分享一下截图(在UIMap.Designer.cs中找到它)。


2)。您遇到了哪些错误消息,请分享。


3)。您是否尝试过
这个主题


请让我们保持联系,让我们一起解决这个问题。


此致,


奥斯卡


Hi

Created Coded UI test within our website

Current path locate at original folder:

Got new CodedUIMethod code 

Now I need help:

Edit my data-driven .CSV file ( how add numbers when I have different parameters):

how to copy the code from CodedUITestMethod1 to your program, and change the path of ApplicationUnderTest.Launch. And how do I copy the datasource attribute

Thanks

igkes

解决方案

Hi igkes,

I have answered your previous threads, and I think you have misunderstood my answer from this thread(please remember to mark). In it, you asked how to data drive test for calculator with multiple numbers. I have given you the source code I have written in my side. I think you could run that project quickly without problems. But you have confused that answer with this new question, there is no any relationship between them. You need to know this point.

Please answer my following questions:

1). What the type of this.UIMap.SelectLastNameParams.UILastNameEditText? Please share me a screenshot (find it in UIMap.Designer.cs).

2). Which error message you have encountered, please share it.

3). Have you tried my answer from this thread?

Please let us keep in touch, let us to resolve this issue together.

Sincerely,

Oscar


这篇关于创建编码的UI数据驱动的自动化测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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