OT: Object Test Bench

  • Thread starter Thread starter David Gouge
  • Start date Start date
D

David Gouge

Hi All,

Once again, not strictly on topic for the c# group, but here goes:

Trying to use the Object Test Bench to give one of my classes a whirl
and it, erm, well it doesn't seem to do anything.

I've got the OTB window open and it says to "right click in Class View
or the Class Designer to create an instance.", so i right click on my
class in Class View, select Create Instance, give the object a name,
VS2005 churns for a few seconds with a couple of hourglasses and then
nothing. No objects in the OTB.

Anyone have any ideas on how to use the OTB. To me it sounds like a
great idea being able to test my classes without having to go to the
trouble of creating a little console app purely to see if they work.

Any help gratefully received.

Ta,

Dave
 
David said:
Hi All,

Once again, not strictly on topic for the c# group, but here goes:

Trying to use the Object Test Bench to give one of my classes a whirl
and it, erm, well it doesn't seem to do anything.

I've got the OTB window open and it says to "right click in Class View
or the Class Designer to create an instance.", so i right click on my
class in Class View, select Create Instance, give the object a name,
VS2005 churns for a few seconds with a couple of hourglasses and then
nothing. No objects in the OTB.

Anyone have any ideas on how to use the OTB. To me it sounds like a
great idea being able to test my classes without having to go to the
trouble of creating a little console app purely to see if they work.

Any help gratefully received.

Ta,

Dave

Further information from the Command window when i try to create the
instance:

SMS.net.Message _XotbX_005 = new SMS.net.Message();
{SMS.net.Message}
billingref: null
Billingref: null
Body: null
body: null
clientid: null
Clientid: null
clientpass: null
Clientpass: null
Clientref: null
clientref: null
From: null
from: null
oSettings: {SMS.net.Properties.Settings}
oSMSProxy: {SMS.net.SMSProxy}
oTa: {SMS.net.net.textanywhere.ws.TextAnywhere_SMS}
Recipient: null
recipient: null
unique: null
SMS.net.Message oMessage = _XotbX_005;
The name '_XotbX_005' does not exist in the current context
$$delete _XotbX_005
Local not deleted
Does this mean anything to anyone?

Cheers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top