GUI map object population
I'm using the Notepad application for this.
I want to know if there is a way to have only one window namely "Untitled - Notepad"
learnt in the GUI map with all its components BUT at the same time the same object be used to work with another window namely "Rome - Notepad".
I have new files being created in notepad. The file names are picked up from an array.
I dont want to have all the windows/objects created and learnt in the GUI map for every new
file created/opened using notepad. If I do that then if the array has 100 names then I will
have to learn thru 100 windows to populate the GUI map.
If I dont have the GUI map populated then Winrunner pops up and asks me to point to the
application window to populate its GUI map. Any suggestions?
Re: GUI map object population
If only one notepad appears on the screen at a time replace the "Untitled - Notepad" to be wildcarded so it picks up any notepad screen with a "- Notepad" title and ignores the first part of the title.