03-06-2009, 08:14 PM
Thanks for MVChowdary,
There is some hidden condition in the solution. CreationTime:=0 means the frist open browser. If there are some browsers in desktop, how do we know which browser is currently working? And after executing Links(3).click, the browser should be at the top of a list of browsers. So we should count all the browsers in order to identify the top browser. If we can use other system way to identify top browser, then maybe it is another solution.
There is some hidden condition in the solution. CreationTime:=0 means the frist open browser. If there are some browsers in desktop, how do we know which browser is currently working? And after executing Links(3).click, the browser should be at the top of a list of browsers. So we should count all the browsers in order to identify the top browser. If we can use other system way to identify top browser, then maybe it is another solution.