|
| How do I create an object from a class?
If the class(type) has a parameterless constructor you can
right click the class(type) and click "execute". The object is created and
displayed in the property grid in the results pane. If the class(type) has a
constructor which has parameters then select from the drop down list above the
"Contructor Parameters" pane. Double click the row selector of the parameter
listed in the "Constructor Parameters" grid. You will be presented with a
dialog box. Depending on the type of parameter you will have different options
for entering in a parameter. For instance, if the parameter is a string then
you can type in the value, or browse to a file and load a string from the file
you choose, or use a string that has been saved to the object clipboard. If the
parameter takes an object then you can get a previosly created object that was
saved to the object clipboard.
|
| How do I save a test?
After executing a method, select the "save as script" icon on
the tool bar and give the script a name and a location. The script will be
saved with a "cds" extension. Tests can only be saved for classes that are
serializable. Alternatively you can select "File", "Save as script".
|
| How do I use a saved test?
Select the "open saved script" icon on the tool bar. A dialog
box will be presented and you can select a previously saved script with a "cds"
extension. Select it and click open. Note: The assembly from which the test
orginated must be loaded in ClassMaster.
|
| How do I view private variables?
All private and internal(friend) variables, methods and
properties can be viewed and executed by selecting "Add Assembly" from the tool
bar. The dialog box which is presented has a checkbox entitled "Include
internal and private types". Select this and private variables can be viewed in
the property grid after and object is created.
|
| How can I view collections that are contained in other objects?
After selecting a class and executing it's constructor the
object will be displayed in the property grid in the results pane. Any
collections that are contained by the object will listed in the property grid
with "(Collection)". Clicking on this text will display a button with an
elipse. Click this button and you will get a collection editor where you can
view the collection.
|
| How can I test a web service?
Create a class library Visual Studio project that references
the web service you want to test. Compile the class library and add it to
ClassMaster. You can test the web service by selecting the class, right
clicking and select execute. The web service proxy will be displayed in the
property grid. You either directly set the "UseDefaultCredentials" property to
true via the property grid or set the "Credentials" property by executing the
set_Credentials method and adding a Credentials object from the object
clipboard.
|
| How can I get free updates?
Select the "Help" menu and then select "Check for updates".
ClassMaster will then check for a newer version and if one is available you
will be asked it you want to install it. If you select yes, then ClassMaster
will shut itself down and install the newest version. Please note: you must
have an available internet connection for this.
|
| How can I use favorites?
Right click any class(type), method or property and select
"Toggle Favorite". If the the class or method is already a favorite the menu
item will be highlighted and selecting it will remove it from your favorites,
otherwise it will add it to your favorites. Once the class or method has been
added to your favorites you can select the "Favorites" icon in the toolbar.
From the list you can double click the class or method you want to navigate to.
Please note: the assembly for which the class or method belongs to must be
loaded into ClassMaster.
|
| How do I execute private and internal methods?
All private and internal(friend) variables, methods and
properties can be viewed and executed by selecting "Add Assembly" from the tool
bar. The dialog box which is presented has a checkbox entitled "Include
internal and private types". Select this and private and internal classes and
methods can be created and executed.
|
| How can I see the amount of time a method takes to execute?
After clicking "execute" the time an object takes to be
created or a method to return results will be displaye in the lower right
bottom corner of the window next to the "clock" icon.
|
| How do I enter parameters or arguments?
Whenever you select either a constructor, method or property
which has arguments, the arguments are listed in a grid in the corresponding
panel. Double clicking the row selector of the argument you want to enter a
argument for will display a dialog box. Depending on what argument type it is
the dialog box will give you different ways of entering in the value. For
instance, if the parameter is a string then you can type in the value, or
browse to a file and load a string from the file you choose, or use a string
that has been saved to the object clipboard. If the parameter takes an object
then you can get a previosly created object that was saved to the object
clipboard.
|
| How do I add an assembly from the GAC?
Many assemblies are loaded in the GAC and no where else. In
order for you to load assemblies from the GAC you must first disable the
windows explorer cache viewer. To do this you must modify your registry.
Navigate to "My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion". Right
click and select "New" then "DWORD value" and name it "DisableCacheViewer" .
Double click the value to bring up the dialog box and set it to 10. Now you
will be able to click on the "Add Assembly" icon from the toolbar and
successfully navigate to the windows\assembly\GAC_MISL directory where many
assemblies are loaded. Select the assembly and click open.
|
| How do I use other objects as parameters?
Whenever you select either a constructor, method or property
which has arguments, the arguments are listed in a grid in the corresponding
panel. Double clicking the row selector of the argument you want to enter a
argument for will display a dialog box. Depending on what argument type it is
the dialog box will give you different ways of entering in the value. For
instance, if the parameter is a string then you can type in the value, or
browse to a file and load a string from the file you choose, or use a string
that has been saved to the object clipboard. If the parameter takes an object
then you can get a previosly created object that was saved to the object
clipboard.
|
| After executing a method how do I return to viewing the state of an object?
After executing a method and you wish to go back and view the
state of the object that the method belonged to, then just right click the
class(type) and select execute.
|
| How can I use ClassMaster from Visual Studio?
You can run ClassMaster after you build an assembly by right
clicking the project in Visual Studion and selecting "Properties". Select
"Debug". Under "Start Action" select "Start external program" . Click the
button and navigate to ClassMaster20.exe. Under "Start Options" select "Working
Directory". Click the button and navigate to the ClassMaster20.exe. Now
everytime you build your assembly ClassMaster will automatically load.
|
| How can I register my trial version?
After downloading and installing the trial version ClassMaster
2.0 you will be presented with a dialog box. Select "Register". Here you will
be asked for you first name, last name, email address and company (if any).
This data is required to register the trial version. Your email address is only
used to send you an activation code, it will not be used for any other reason.
Once you have received the activation key via email you can select the
"Activate" button and then paste or type in the key and click OK. ClassMaster
is ready to be used.
|
| How can I activate my expired trial version?
Once your trial period has expired you will no longer be able
to use ClassMaster. You can purchase ClassMaster and an activation code will be
emailed to you. You can then follow the same activation instructions as listed
above to activate ClassMaster.
|
| I am getting Cannot Create License Key file error when activating ClassMaster in Vista
ClassMaster activation will generate a license file within the Program Files directory for which it will need administrator rights to do this in Vista.
To fix this problem just navigate to the ClassMaster20.exe in explorer and right click and select "Run as administrator". You can now activate and the license key will be
able to be saved to the Program Files directory.
|