<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to support-requests</title><link href="https://sourceforge.net/p/nunitforms/support-requests/" rel="alternate"/><link href="https://sourceforge.net/p/nunitforms/support-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/nunitforms/support-requests/</id><updated>2008-05-30T20:44:50Z</updated><subtitle>Recent changes to support-requests</subtitle><entry><title>Found a bug and solution {Desktop.Destroy }</title><link href="https://sourceforge.net/p/nunitforms/support-requests/15/" rel="alternate"/><published>2008-05-30T20:44:50Z</published><updated>2008-05-30T20:44:50Z</updated><author><name>Rajesh Cheedalla</name><uri>https://sourceforge.net/u/rajeshcheedalla/</uri></author><id>https://sourceforge.neta651f8fa9276dfc2e7055148e1f52b85ab9772e2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I ran into a problem with Destroy method in Desktop.cs&lt;/p&gt;
&lt;p&gt;Original:&lt;br /&gt;
private void Destroy()&lt;br /&gt;
{&lt;br /&gt;
Win32.SetThreadDesktop(realDesktopHandle);&lt;br /&gt;
Switch(shouldDisplayDesktop);&lt;br /&gt;
Win32.CloseDesktop(testDesktopHandle);&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;Switch(shouldDisplayDesktop) calls : Win32.SwitchDesktop(CurrentHandle()) where currentHandle returns nunit that is running on the 'Main Desktop' and that way the virtual/hidden desktop never gets destroyed.&lt;/p&gt;
&lt;p&gt;Modified:&lt;br /&gt;
private void Destroy()&lt;br /&gt;
{&lt;br /&gt;
Win32.SetThreadDesktop(realDesktopHandle);&lt;br /&gt;
Switch(realDesktopHandle); //pass it top desktop pointer so that the switch will happen&lt;br /&gt;
Win32.CloseDesktop(testDesktopHandle);&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
Rajesh Cheedalla&lt;br /&gt;
rajesh dot cheedalla AT google mail&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Problem with the Recorder Application</title><link href="https://sourceforge.net/p/nunitforms/support-requests/14/" rel="alternate"/><published>2007-03-29T19:08:22Z</published><updated>2007-03-29T19:08:22Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net1db514e2577f0d1587c96eb0f909cb0dd9d561c7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The documentation for NUnitForms states:&lt;/p&gt;
&lt;p&gt;"How to use the Recorder Application&lt;/p&gt;
&lt;p&gt;1. Start the NUnitFormsRecorderApplication.exe&lt;br /&gt;
2. It will prompt you to select a dll. Browse to and select the .dll that contains the form you want to test."&lt;/p&gt;
&lt;p&gt;But when I execute NUnitFormsRecorderApplication.exe,&lt;br /&gt;
I am not prompted to select a .dll and I can't browse for one either.&lt;/p&gt;
&lt;p&gt;The one I installed in from the NUnitFormsV2.0.0.5alpha4 Windows Installer Package. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Thrading Process Problem</title><link href="https://sourceforge.net/p/nunitforms/support-requests/13/" rel="alternate"/><published>2006-10-18T10:12:08Z</published><updated>2006-10-18T10:12:08Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net36fc283d7b1c36ca7a376bb414b3e6236c083bdd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am evaluating NUnitForm for an easy .Net application.&lt;br /&gt;
It is a common use, if you press a button to start the&lt;br /&gt;
assoziated task in an extra Thread, so the gui thread &lt;br /&gt;
is able to refresh the controls.&lt;br /&gt;
To synchronize the running Thread with the UnitTest I &lt;br /&gt;
have a cancel butten which is only enabled when the &lt;br /&gt;
worker thread is running.&lt;br /&gt;
The Testcase runs perfect until the start button &lt;br /&gt;
is pressed an the main work should start. Nearl &lt;br /&gt;
nothing happened.&lt;/p&gt;
&lt;p&gt;I can reproduce this problem in a very easy testcase.&lt;/p&gt;
&lt;p&gt;private void start() {&lt;br /&gt;
form1 = new Form1();&lt;br /&gt;
form1.Show();      &lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;public TestCaseXXX(){&lt;/p&gt;
&lt;p&gt;// start Thread&lt;br /&gt;
Thread t = new Thread(new ThreadStart(this.start));&lt;br /&gt;
t.Start();&lt;/p&gt;
&lt;p&gt;// synchronize thread.&lt;br /&gt;
while (t.IsAlive)       &lt;br /&gt;
Thread.Sleep(10);&lt;/p&gt;
&lt;p&gt;form1.textBox1.Text = "3";&lt;br /&gt;
form1.textBox2.Text = "7";&lt;br /&gt;
form1.buttonAddiere.&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;If you start the testcase without threading it runs&lt;br /&gt;
perfect.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>NUnitForms for .net 2.0</title><link href="https://sourceforge.net/p/nunitforms/support-requests/12/" rel="alternate"/><published>2006-02-09T21:03:53Z</published><updated>2006-02-09T21:03:53Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net824890b90e31be2fd9790ceb171477f5e5a2aa0b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The current NUnitForms is developed against NUnit 2.2.&lt;br /&gt;
NUnit 2.2 does not have a .net 2.0 release.  Hence, I &lt;br /&gt;
am requesting a version of NUnitForms that can run in &lt;br /&gt;
a .net 2.0 environment.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Loop inside the function passed to ModalFormActivated</title><link href="https://sourceforge.net/p/nunitforms/support-requests/11/" rel="alternate"/><published>2005-10-18T10:05:10Z</published><updated>2005-10-18T10:05:10Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net39ef118500bb674b20b96c88e54cf64be47a840b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;See the code bellow:&lt;/p&gt;
&lt;p&gt;Mytest is the following:&lt;/p&gt;
&lt;p&gt;ExpectModal("LogonBoxForm", new &lt;br /&gt;
ModalFormActivated&lt;br /&gt;
(LogonWithWrongPasswordHandler), false);&lt;/p&gt;
&lt;p&gt;In LogonWithWrongPasswordHandler:&lt;/p&gt;
&lt;p&gt;You click on OK in the LogonBoxForm, and the result is &lt;br /&gt;
that a message box "Wrong password" is displayed, on &lt;br /&gt;
which you click on [OK]. (It is managed by another &lt;br /&gt;
ExpectModal,etc).&lt;br /&gt;
The consequence is that after this click, the &lt;br /&gt;
LogonBoxForm is again activated, and you enter again &lt;br /&gt;
in the LogonWithWrongPasswordHandler delegate.&lt;/p&gt;
&lt;p&gt;As a consequence, the delegate is called in loop.&lt;/p&gt;
&lt;p&gt;Is there any solution to avoid this problem, in the NUnit &lt;br /&gt;
frameworks?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Modal Forms Problem</title><link href="https://sourceforge.net/p/nunitforms/support-requests/10/" rel="alternate"/><published>2005-05-26T16:39:55Z</published><updated>2005-05-26T16:39:55Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netbdf638ab9c0cd4c05a891ad138d0209aa3fd6eef</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I can't get the Modal Form functionality to work. I have &lt;br /&gt;
set up the ModalFormHandler function etc. But my &lt;br /&gt;
modal form opens in the 'Load' method of another &lt;br /&gt;
(master/parent) form. The code only seems to work if &lt;br /&gt;
the modal form is displayed when a button is clicked on &lt;br /&gt;
the master/parent form. &lt;/p&gt;
&lt;p&gt;Code snipet to show how modal form is displayed:&lt;/p&gt;
&lt;p&gt;private void MainForm_Load(object sender, &lt;br /&gt;
System.EventArgs e)&lt;br /&gt;
{&lt;br /&gt;
LoginForm loginForm = new LoginForm();&lt;br /&gt;
loginForm.Name = "loginform"; &lt;br /&gt;
bool close = false;&lt;/p&gt;
&lt;p&gt;while(Thread.CurrentPrincipal.Identity.IsAuthenticated &lt;br /&gt;
== false &amp;amp;&amp;amp; loginForm.ShowDialog(this) == &lt;br /&gt;
DialogResult.OK);&lt;br /&gt;
.........&lt;/p&gt;
&lt;p&gt;email: alex.woods@chase.com&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Build error, missing key container 'NUnitForms'</title><link href="https://sourceforge.net/p/nunitforms/support-requests/9/" rel="alternate"/><published>2005-05-17T17:33:42Z</published><updated>2005-05-17T17:33:42Z</updated><author><name>john_s</name><uri>https://sourceforge.net/u/userid-1280390/</uri></author><id>https://sourceforge.net63c1fefc45f6e7f4deecbad74f8be213e382cb8f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Running test.bat (version 1.3.1) in the Visual &lt;br /&gt;
Studio .Net 2003 Command Prompt window:&lt;/p&gt;
&lt;p&gt;[csc] Compiling 36 files to &lt;br /&gt;
E:\Projects\NUnitForms\Src\build\bin\NUnitForm&lt;br /&gt;
s.dll.&lt;br /&gt;
error CS1548: Cryptographic failure while &lt;br /&gt;
signing assembly 'e:\Proje&lt;br /&gt;
cts\NUnitForms\Src\build\bin\NUnitForms.dll' -- 'The key &lt;br /&gt;
container name 'NUnitForms' does not exist'&lt;/p&gt;
&lt;p&gt;BUILD FAILED&lt;/p&gt;
&lt;p&gt;Could you tell me what I did wrong?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Can't use mouse and keyboard at the same time</title><link href="https://sourceforge.net/p/nunitforms/support-requests/8/" rel="alternate"/><published>2004-11-15T14:17:28Z</published><updated>2004-11-15T14:17:28Z</updated><author><name>Pete Davis</name><uri>https://sourceforge.net/u/pdavis68/</uri></author><id>https://sourceforge.netde713b6ff3678ac552f2ae32a4b9745f2d40ba12</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It appears that, in a class derived from NUnitFormTest, &lt;br /&gt;
attempting to use both the keyboard and the mouse &lt;br /&gt;
from within a test will cause a Win32 exception to be &lt;br /&gt;
thrown.&lt;/p&gt;
&lt;p&gt;I've corrected the problem by wrapping the BlockInput() &lt;br /&gt;
calls and adding reference counting so it only calls &lt;br /&gt;
BlockInput(true) the first time and doesn't call BlockInput&lt;br /&gt;
(false) until the reference count has dropped to 0.&lt;/p&gt;
&lt;p&gt;Maybe there's a better solution. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Exception in MouseController.OnUse()</title><link href="https://sourceforge.net/p/nunitforms/support-requests/7/" rel="alternate"/><published>2004-11-04T17:36:44Z</published><updated>2004-11-04T17:36:44Z</updated><author><name>Pete Davis</name><uri>https://sourceforge.net/u/pdavis68/</uri></author><id>https://sourceforge.neta9874dc8aa7283b21cd1102c008059926827226c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have created a GridTester class derived from &lt;br /&gt;
ControlTester for a custom grid we have that's derived &lt;br /&gt;
from the Syncfusion GridControl.&lt;/p&gt;
&lt;p&gt;I have a ClickCell() method that is trying to call&lt;/p&gt;
&lt;p&gt;base.MouseControler().Click(Point)&lt;/p&gt;
&lt;p&gt;This calls down to MouseController.MouseController&lt;br /&gt;
(ControlTester) and then on to MouseCntroler.OnUse() &lt;br /&gt;
which appears to be throwing a Win32Exception at the &lt;br /&gt;
Win32.BlockUse() call.&lt;/p&gt;
&lt;p&gt;In my test code, for the TestFixtureSetUp method,  I'm &lt;br /&gt;
instantiating the form, showing it, and then creating the &lt;br /&gt;
control tester, passing the grid control name and the &lt;br /&gt;
form object.&lt;/p&gt;
&lt;p&gt;My GridTesterClass does nothing in the constructor and &lt;br /&gt;
in the ClickCell, the only thing it does is call the &lt;br /&gt;
base.MouseController().Click(Point) as described above, &lt;br /&gt;
so there's no other stuff going on that I can find.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Support for Released NUnit 2.2?</title><link href="https://sourceforge.net/p/nunitforms/support-requests/6/" rel="alternate"/><published>2004-10-14T16:44:02Z</published><updated>2004-10-14T16:44:02Z</updated><author><name>Merrill Cornish</name><uri>https://sourceforge.net/u/mcornish/</uri></author><id>https://sourceforge.net2cf3bb6305dc92e2f39fdb08d1e4282f361058ca</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;NUnitForms 1.3 installs with a version of NUnit that is&lt;br /&gt;
earlier than the currently released 2.2 version.  Is&lt;br /&gt;
there a timetable for moving to the newest released NUnit?&lt;/p&gt;
&lt;p&gt;Merrill Cornish&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>