Launch web browser w/blind login
Posted on 2006-04-19
My application shares data with an external web-based application. Data sharing is done via manual uploads/downloads in the user interfaces.
The 3rd party vendor of the other app has provided a blind login (url) which makes things very convenient.
(1) Upon completion of the data export from my app, I would like to automatically launch the other app (via the blind login) in an external browser. (I was able to use an embedded browser, but the window size was too restrictive - the app present lots of info). What is the correct syntax to launch an external browser to a known URL? I am pretty confident all my users will be using IE, but I cannot guarantee.
(2) After the web app is launched I can navigate manually to the desired page within the app (another known URL), but only after the initial blind login is completed. Is it posible to check the "state" of the external browser (via an API or something) and then programmatically send the 2nd URL to the application? Sendkeys? Note: The Title Bar of the application does change to a known value once the login is complete; I seem to recall an API existed to look a the title bar of other windows, but its been a long while since I played with it.