自动编码ui [英] automation coded ui
问题描述
我已经完成了在vsts2010中通过codedui创建新公司的脚本。
在数据库中,
1.我将''company name''的值赋予''ABcd'',但在运行脚本时,应用程序输入为''abcd ''然后抛出异常(Microsoft.VisualStudio.TestTools.UITest.Extension.PlaybackFailureException)
2.我将''Email''的值赋予'' xyz@gmail.com''但在运行脚本时,应用程序输入''xyz2gmail.com''
请给我正确的结论。
在此先感谢,
sathya ..
Hi,
I have done the script for creating a new company through codedui in vsts2010.
In database,
1. i given the value for ''company name'' as ''ABcd'' but while running the script the application typing as ''abcd'' then throw the exceptions(Microsoft.VisualStudio.TestTools.UITest.Extension.PlaybackFailureException)
2. I given the value for ''Email'' as ''xyz@gmail.com'' but while running the script the application typing as ''xyz2gmail.com''
Pls give me the proper conclusion.
Thanks in advance,
sathya..
推荐答案
可能是由于系统采用密钥代码,
尝试使用资源文件或xml文件来保存您的数据并在所需位置使用相同的文件。
May be because of the system taking key code,
Try using a resource file or xml file to keep your data and use the same at the required location.
这篇关于自动编码ui的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!