visalakshi_sesh
13 years agoOccasional Contributor
Working with 2 explorer window of same window caption
Hi All,
I need to perform an operation with 2 explorer windows which has same caption. Our application provides a menu option File -> New Window from here, which launches the same window as second explorer.
E.g.:
The first explorer instance will be:
Sys.Process("Explorer").Window("CabinetWClass", "Search Results", 1)
and the instance of second explorer will be as:
Sys.Process("Explorer").Window("CabinetWClass", "Search Results", 2)
The instance of both the explorers remains the same. Only the instance of 'CabinetWClass' changes according to the active window.Due to this, a warning message 'Ambigous window recognition' is logged in the testlog and is causing the interruptions in script execution. Kindly help me to resolve this issue.