Automated Web Browser

Brief:

Windows Forms application has Web Browser control which provides power to developer which can be used to automate it. For example, it can be coded to open a page, fill in some information, submit the page or do any kind of operation which can be done manually. When it runs, it gives a feeling of some one is doing it manually.

Need:

We find lot of information available over internet but most of the time it is not present as per our requirement. Also at many times the information is available behind authentication screen. Through Automated Web Browser we can code in such a way that it can login in the web site navigate to the page and extract the desired information. Once the information is extracted, it can be presented as required. This whole process is per in few seconds. Now assume same process doing manually. Some times it becomes very difficult to extract any information through Web Scrapper. We can do same through Automated Web Browser.

How It Works:

The WebBrowser control provides a managed wrapper for the WebBrowser ActiveX control. The managed wrapper lets you display Web pages in your Windows Forms client applications. You can use the WebBrowser control to duplicate Internet Explorer Web browsing functionality in your application or you can disable default Internet Explorer functionality and use the control as a simple HTML document viewer. You can also use the control to add DHTML-based user interface elements to your form and hide the fact that they are hosted in the WebBrowser control. This approach lets you seamlessly combine Web controls with Windows Forms controls in a single application.
Automated Web Browser is a tool which is wrapper on WebBrowser control. You are not required to aware of each & every property & actions performed by this control. We had created a set of instructions set which is very user friendly and easy to use. It also provides multiple options to perform an action if possible. For example, you can click on a button by identifying through Id, XPath, Html Tag, etc. Here are list of instructions.

1. LOADWEBSITE
2. WAITFORDOCUMENTCOMPLETE
3. INSERTDATA
4. FIREEVENT
5. FINDCONTROL
6. FINDPARENT
7. SCRAPDATAFROMTABLE
8. INSERTDATAINTOTABLE
9. SCRAPDATA
10. SAVEWEBPAGE
11. JUMP
12. ERROR
13. INSERTDATAWITHROWNUMBER
14. STARTLOOP
15. ENDLOOP
16. CREATEOUTDATASETCOLUMNS
17. FINDCONTROLSCOLLECTION
18. RETURN
19. FINDCONTROLONIDORNAME
20. IFCONTROLFOUND
21. REGISTERCURRENTUSER
22. MAKEDECISIONONVALUE
23. INSERTVALUEINOUTPUTDS
24. FINDCHILD
25. SCRAPINNERTEXT
26. SCRAPHTMLOFCONTROL
27. FINDCONTROLBYATTRIBUTE
28. MAKEDECISIONONCONTROLVALUEORATTRIBUTE
29. FINDSIBLING
30. GOBACK
31. FINDCONTROLSCOLLECTIONBYATTRIBUTE
32. MAKEDECISIONONCONTROLVALUEORATTRIBUTE
33. SETLASTCONTROLFOUND
34. GETHTMLDATAFROMPOPUPLINK
35. JUMPONLASTFOUNDCONTROLSCOLLECTIONCOUNT
36. FINDCONTROLBYVALUEUSINGSUBSTRING
37. ADDHTMLTODOM

Podcast

Michael Patterson sat down with the CEO of Boston Byte, Mustapha Shaikh to discuss the significance and rapid digitization of the healthcar...