-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Private TestStack. White. Application Application {get; set; }
Private Window Window {get; set; }
Private void button2_Click (object sender, EventArgs e)
{
Var listview=window. Get
If (listview. Rows. Count==30)
{
Foreach (ListViewRow row in listview. Rows)
{
//the debugger already came to this place, couldn't find the inside of the listview data values, justice?
String DDD=row. Cells [3]. The Text;
}
}
}
Using teststack. White automated testing, access to a third party Windows application data, listview how many rows to find out, have to go to, don't actually get the inside of the listview data, pain, poor level
In addition, there are friends can recommend other source code for reference? I is applied to automatic control of a third party Windows application, including access to data,
Thank you,
CodePudding user response:
Don't know whether to put in the wrong place?CodePudding user response:
Use what tools?CodePudding user response:
Tools: teststackI am after the search to this article: https://www.dazhuanlan.com/2019/09/04/8c18f8874287/
Then try to study, for the first time
CodePudding user response:
No one understand? Still I did not say whatCodePudding user response:
Win32 or.net?CodePudding user response: