Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
Unit Testing in ASP.NET Web forms
Akash Patel
Oct 18 2017 2:47 AM
346
Reply
I a developing a project which is OnlineVideoStreaming website. Its in ASP.NET web forms.
I want to unit test some of the functionalities such as login, registration etc. But the problem is how to test the code such as button click event in which login code is written in code behind.?
What parameters to pass in "object sender and eventargs e"?
Example:
public void btn_click(object sender,eventargs e)
{
// Login code here
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
i want to protect my image or logo in website
Cast var linq query in int issue