Creating Web Capture Elements

  1. Select File | New | Mobile Application.

  2. From the New Mobile Application wizard, select Launch Element Wizard check box, select Web Capture as the Element Type, and click Finish. In the Web Capture Element window, enter a beginning uniform resource locator (URL)—the Internet address—of the Web content you want to capture in the Location text field, then click Find.

    Alternatively, right-click the Mobile Application status folder in which you want to create the mobile application, and select Create (status name) Mobile Application With | Web Capture Element.

  3. When the location you entered displays, navigate to the page that contains the desired content, then click Next.

  4. Select the capture strategy from the Format drop-down list. This example uses the one-click capture format, so you select the content you want to capture. If you chose one of the other formats, only those elements that match the chosen format display.

    Note

    The Web Content Capture technology will not display "Applets" in Sybase WorkSpace because of an Eclipse limitation.

  5. Select Capture All.

    Note

    Once you select Capture All for a mobile application, you cannot unselect the option, and a mobile application rendered with this option always plays back in the Mobile Development perspective using the option. Using Capture All can cause a significant performance hit during playback, as more interaction is required between the Unwired Accelerator server and the Web server from which the content is being captured.

    • Capture All – captures all the GETs and POSTs. Using the default settings during navigation and capture, Unwired Accelerator remembers the final URL of the page you want to capture and play back, along with any intermediate URLs that are generated by HTTP "POST" requests. These latter URLs typically result from submitting form data. During playback, these URLs are submitted in order and the resulting page content returned to the client browser.

      However, for some sites, this is not sufficient to guarantee that enough context is provided to the Web server to return the desired page. In this situation, you may need to include other intermediate HTTP requests (that is, HTTP "GET" requests) so the correct client state can be established and the desired page returned. If you suspect this situation is occurring, select Capture All to request that during the capture phase, Unwired Accelerator should record all significant HTTP requests against the Web server from which the page is being captured.

  6. Click Next.

    Note

    When you create a mobile application using one-click capture, and the mobile application content contains numerous links, some of the links may not work properly due to underlying JavaScript or redirect code in the link content.

  7. Click the left mouse button in a suitable area, indicated by a shadow-box that trails the mouse arrow and says "Select it".

  8. The capture option window displays the "best guess" capture from the specified area.

    Click the light blue button to the left of the option you want to select. The button changes to a darker blue when you select it. Click Finish.

  9. Enter a name for the element, then click Finish. You return to the wizard where the new element displays. Click Preview to view the resulting page. Click Finish if you are done, or Next to further customize the captured Web content as described in the following sections.

See the Unwired Accelerator Developer's Guide 7.0 for additional information.

Additional Information about Web capture elements

Editing Mobile Applications

Using Continuous Capture

Using Rules and Record Layout

Setting CGI Parameters

Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com