Forum Discussion
googleid_110402
12 years agoNew Contributor
Hi All,
I'm trying to get the AutomationId property as it described above but the GetValue method throws the following error:
"Invalid procedure call or argument"
The source is:
var automationIdProperty = Sys.Process("pr").AppDomain("DefaultDomain").dotNET.System_Windows_Automation.AutomationProperties.AutomationIdProperty
var value = object.GetValue(automationIdProperty);
The 'object' is a valid WPFObject (ComboBox).
Can someone advice on this?
Is there a way to find more details about this error?
Best Regards,
Yury R.
I'm trying to get the AutomationId property as it described above but the GetValue method throws the following error:
"Invalid procedure call or argument"
The source is:
var automationIdProperty = Sys.Process("pr").AppDomain("DefaultDomain").dotNET.System_Windows_Automation.AutomationProperties.AutomationIdProperty
var value = object.GetValue(automationIdProperty);
The 'object' is a valid WPFObject (ComboBox).
Can someone advice on this?
Is there a way to find more details about this error?
Best Regards,
Yury R.