Sorry if this is covered wlsewhere - I did search but couldnt find anything that covered this.
I have an IE7 instance already open, and need to open another instance to log onto an Oracle system (which itself will open 2 new browser instances!). I dont want to close my existing IE7 session as data will be flowing from one system to another and it is feasible to have 2 or 3 systems open at once to test the processing of data end to end.
The issue I have is that when I attempt to open IE7, the error I get is
"There is (are) 1 running instance(s) of "C:\Program Files\Internet Explorer\iexplore.exe". New instances will not be launched."
How do I get around this as I want a new instance rather than a new tab in the current instance.
The problem is in Sys.Process("iexplore"). By default, that selects the first instance of IE in your process list, the second instance would then be Sys.Process("iexplore", 2), and so on.
How to know which session to use... that I cannot say. That may need to be something done programmatically in that, typically, the most recent session is the one with the highest index. So, perhaps, some sort of for loop where you loop through Sys.WaitProcess("iexplore", index, 1000) until you find the latest instance and then set your variable accordingly.
Automated Testing Evangelists
Definition expert - noun - Unknown drip under pressure