Forum Discussion

theamitpandey's avatar
theamitpandey
Occasional Contributor
11 years ago

Multiple instance of IE in flex

Hi, 

I have a flex enabled web application where i need to open 3 instaces of IE which are identical except for the different login users.

 I am not able to find any property for the Browser or Page which can uniquely identify each of them.

Please suggest me the way to do so.

2 Replies

  • Ryan_Moran's avatar
    Ryan_Moran
    Valued Contributor
    They should be indentifiable like so:

    Sys.Browser("iexplore").BrowserWindow(0)

    Sys.Browser("iexplore").BrowserWindow(1)

    Sys.Browser("iexplore").BrowserWindow(2)



  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Amit,


     


    Does the page have some field to show what user name was logged in? If it doesn't, I would suggest that you have your own variable inside the test that will keep the connection info: IE window index - user name.


    If you need to distinguish the opened pages, you can do this via the Visible property of the pages. Its value will be True only on the opened page.