03-03-2008 06:02 AM
03-03-2008 11:08 AM - edited 03-03-2008 11:08 AM
03-03-2008 10:57 PM
Hi,
Thanks for your reply. But its a singleton class so the constructor is private. As the constructor is private "create object" checkbox is disabled in Teststand. The .Net code looks somewhat like this:
Class Person
{
private static Person m_objectA = new Person();
private Person() { }
public static Person person
{
get { return m_objectA; }
}
}
I need to access the "person" get method and get the object "m_objectA". . Kindly tell me how to do it.
Thanks,
Priya.
03-04-2008 08:20 AM
03-07-2008 12:35 AM
Hi Allen,
oh yaa..that was the problem..I was giving a variable in object reference.
Thanks for ur reply.
Priya.