Posts: 64
Threads: 7
Joined: Aug 2008
Reputation:
0
03-06-2009, 10:42 AM
Hi guocnc,
Why are you going to calculate all browsers..? in Same browser you are clicking link 3.
No need to count the all browsers and Sreekanth provided solution is works fine.
Posts: 14
Threads: 1
Joined: Mar 2009
Reputation:
0
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.