Forum Discussion
Angshuman
14 years agoOccasional Contributor
You are right - I posted it wrongly. The way I am doing it as below:
var IE,Page1;
var PropArray = new Array("WndClass");
var ValuesArray = new Array("Page1");
// Searches for the window
IE = Sys.Process("iexplore");
Page1 = IE.Find(PropArray,ValuesArray,100)
here 'Page1' is the name of the class as well as the value set to the 'Title' property of the page in xaml.
Basically all I need is to derive WPFObject("Page1","",1) from Process("iexplore") (as per the attached object hierarchy).
var IE,Page1;
var PropArray = new Array("WndClass");
var ValuesArray = new Array("Page1");
// Searches for the window
IE = Sys.Process("iexplore");
Page1 = IE.Find(PropArray,ValuesArray,100)
here 'Page1' is the name of the class as well as the value set to the 'Title' property of the page in xaml.
Basically all I need is to derive WPFObject("Page1","",1) from Process("iexplore") (as per the attached object hierarchy).