We are currently investigating a method of creating a WPF/winforms application that we can set up internally to :-
- automatically open a new instance of a web browser to a predefined URL
- automatically complete required fields with predefined data
- automatically submit form and wait for the next page to load
- automatically complete required fields with predefined data (page 2)
- automatically submit form and wait for the next page to load (etc)
after much investigation, the only thing we have managed to find is the opening up of a web browser via :-
object o = null;
SHDocVw.InternetExplorer ie = new SHDocVw.InternetExplorer();
IWebBrowserApp wb = (IWebBrowserApp)ie;
wb.Visible = true;
wb.Navigate(url, ref o, ref o, ref o, ref o);
Any advice / reading recommendations would be appreciated on how to complete the process.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…