Run the Custom Application
- In the custom application you created, click Load Sessions.
The host and Web page documents open in Reflection 2008.
- Click Search Host Text on Web to start the Internet search using the host text.
The application extracts text from the host session screen and places it in the Search box of the Web page document. Then, it gets the Web element for the Search Web button and clicks the button, which triggers a search and a navigation to the search results page. From the search results page, it locates the Web element for the result text, extracts the number from that text, and places it in a message box.
- To quit both Reflection 2008 and the custom application, quit the custom application.
When you quit the custom application, the m_application instance is garbage collected.