public static string DumpTestObject(ITestObject testObject) { UIATestObject to = (UIATestObject)testObject; ObjectDescriptor od = to.GetDescriptor(); ObjectDescriptor descriptor = (ObjectDescriptor)od.Clone(); string result = JsonUtil.SerializeObject(descriptor, true, true); return(result); }