bhaugurav
16 years agoOccasional Contributor
How to use FindChild method with WPF objects?
I have a checkbox on a window having its Name property as WPFObject("checkboxFailed").
I am trying to find it using
set chkBox = parentWindow.FindChild("Name","WPFObject(""checkboxFailed"")",20) .
But it is giving vbscript runtime error as - Type Mismatch 'WPFObject'
Am i making some mistake here?
Thanks in advance,
Bhau
I am trying to find it using
set chkBox = parentWindow.FindChild("Name","WPFObject(""checkboxFailed"")",20) .
But it is giving vbscript runtime error as - Type Mismatch 'WPFObject'
Am i making some mistake here?
Thanks in advance,
Bhau