n****7 发帖数: 8354 | 1 【 以下文字转载自 Programming 讨论区 】
发信人: ne0987 (n/a), 信区: Programming
标 题: VS2012 C# programing questions for record antomation test
发信站: BBS 未名空间站 (Wed Apr 17 21:23:32 2013, 美东)
I record a manual test to fill out the form. Now I want to use different set
of data from XML file to fill out many forms. How to add the code? Where is
the enter point?
I see two methods under of the class, one is get value, one is set value.
But I don't know how to use it. I also don't know the type of value.
Please help. Thank you. | l*****e 发帖数: 3343 | 2 I need more info to help you...
using xsd.exe - generate objects from your xml, Populate your XML files to
objects, load forms to memory, and then assign values of forms using xml
objects.
set
is
【在 n****7 的大作中提到】 : 【 以下文字转载自 Programming 讨论区 】 : 发信人: ne0987 (n/a), 信区: Programming : 标 题: VS2012 C# programing questions for record antomation test : 发信站: BBS 未名空间站 (Wed Apr 17 21:23:32 2013, 美东) : I record a manual test to fill out the form. Now I want to use different set : of data from XML file to fill out many forms. How to add the code? Where is : the enter point? : I see two methods under of the class, one is get value, one is set value. : But I don't know how to use it. I also don't know the type of value. : Please help. Thank you.
| n****7 发帖数: 8354 | 3 Thank you. I will look into it today
【在 l*****e 的大作中提到】 : I need more info to help you... : using xsd.exe - generate objects from your xml, Populate your XML files to : objects, load forms to memory, and then assign values of forms using xml : objects. : : set : is
| l*****e 发帖数: 3343 | 4 any progress yet? I suppose you at least knowing some basics on CLR/SQL
integration
. If not,pls read this: http://msdn.microsoft.com/en-us/library/ms131052.aspx
Good luck | n****7 发帖数: 8354 | 5 Thank you. I am still working on it.
I tried to use XML on that chart. But I don't know how to use it. I type "
Sequential". It come out something. But I don't know select which one.Also
there are two methods, get and set. I don't know how to use them also. I
just want to open a file and override recorded data.I will look the link you
give me. I am an ABC level.
DataSource("System.Data.Odbc", "Dsn=Excel Files;Driver={Microsoft Excel
Driver (*.xls)};dbq=|DataDirectory|\Data.xls;defaultdir=.;driverid=790;
maxbuffersize=2048;pagetimeout=5;readonly=true", "Sheet1$", DataAccessMethod
.Sequential), TestMethod]
http://msdn.microsoft.com/en-us/library/ee624082.aspx
【在 l*****e 的大作中提到】 : any progress yet? I suppose you at least knowing some basics on CLR/SQL : integration : . If not,pls read this: http://msdn.microsoft.com/en-us/library/ms131052.aspx : Good luck
|
|