First of all: The unit tests in this case are functional tests using Selenium Webdriver. The reason for this is that I like the VS unit test framework, and find it easy to organize the solution with separate projects for the actual automation and the tests.
This is a framework which is...
In my small, simple Forms application I'm experiencing a lot of Exeptions which I'm trying to handle. Some are apparently related to .NET and hence out of my control. But some are related to my code. Here's an example:
for (int i = 0; i < userPanel.RowCount * userPanel.RowCount - 1; i++) {...
Windows 10 64-bit, VS 2015 Enterprise.
I've got a simple Windows Forms application which lets you insert an URL and user credentials in some TextBoxes. Then you can click a button which opens Selenium ChromeDriver
and accesses the URL with the entered credentials. Then there's a button to kill...
I've got a TableLayoutPanel in which I create rows of the following "on the fly":
Label TextBox TextBox
Label TextBox TextBox
Label TextBox TextBox
I create the controls like this:
for (int i = 0; i < Properties.Settings.Default.rowcount; i++) {
userPanel.Controls.Add(new Label() { Text...
In my long series of strange problems, I've encountered a new one today:
Normally, when I create a Windows Forms application and build the solution, I can go to the Solution -> Project -> bin -> Release/Debug folder and run the executable file directly from Explorer.
However, I'm suddenly...
Visual Studio Enterprise 2015.
Simple Windows Forms C# application, which a few TextBoxes. The information in the text boxes are stored in an application.settings file, so that the entries are saved and reloaded on quit/startup.
Up until now, I've been building and running the app in VS in the...
I've got a TableLayoutPanel (called userPanel) where I create 3 rows containing one label and two text boxes. At the application startup, I create them like this:
public MainForm() {
InitializeComponent();
for (int i = 0; i < userPanel.RowCount; i++) {
userPanel.Controls.Add(new...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.