图2
Figure 2 Code for Web Application Under Test
public class WebForm1 : System.Web.UI.Page
{
... // controls declared here
public class Employee
{
public string last;
public string first;
public string dob;
public Employee(string last, string first, string dob)
{
this.last = last;
this.first = first;
this.dob = dob;
}
}
private ArrayList al = new System.Collections.ArrayList();
private void Page_Load(object sender, System.EventArgs e)
{
Employee e1 = new Employee("Adams","Terry","01/01/1971");
文章来源于领测软件测试网 https://www.ltesting.net/