07-13-2007 12:55 PM
e
.uiMsg.Thread.GetSequenceContext(0, out frameId).AsPropertyObject().GetPropertyObject("RunState.Root.Step", 0).GetValString("Result.Status",0);
How Would i go about getting information about the current step's StepType? So say I wanted to get its MenuGroupName. How would I go about doing so?
07-13-2007 12:58 PM
07-13-2007 01:02 PM
Can you elaborate a litte James:
I've Tried:
e
.uiMsg.Thread.GetSequenceContext(0, out frameId).AsPropertyObject().GetPropertyObject("RunState.Root.Step.StepType.MenuGroupName", 0).GetValString("",0);
or
e
.uiMsg.Thread.GetSequenceContext(0, out frameId).AsPropertyObject().GetPropertyObject("RunState.Root.Step.StepType", 0).GetValString("MenuGroupName",0);
But it just doesn't seem to work.
07-13-2007 02:13 PM
Most API properties are just plain ActiveX properties and are not also dynamic PropertyObject sub-properties. Even some of those that are have different undocumented property object names. Thus you can't access API subproperties in the lookup string you pass to GetPropertyObject.
Try <context>.Root.Step.StepType.MenuGroupName. I don't think you need to call AsPropertyObject or GetPropertyObject.