Click here to Skip to main content
16,016,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I am writing a small C# GUI Testing Tool.
But I don't know how to click button that from a program that I want to test from my Testing tool.

Posted
Updated 1-Dec-10 22:16pm
v2
Comments
Dalek Dave 2-Dec-10 4:16am    
Minor Edit for Grammar.

1 solution

Check this[^] link out.
 
Share this answer
 
v2
Comments
Dalek Dave 2-Dec-10 4:16am    
Simple!
ThetPaing 2-Dec-10 4:50am    
yes, i have read this. At this example, we call button1_Click from out test program to

private void button1_Click(object sender, System.EventArgs e)
{
textBox1.Text = "Hello World";
}

Here, sender is "Form type". I want to write sender type with "button". So how can i write?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900