Interrogating a Web application
After adding a Web or a Universal Web adapter and setting the StartPage property, you can interrogate the web application. These steps outline how to interrogate a simple web application.
Note: When Interrogating Internet Explorer version 8 under Windows 7 SP1, applications running in Internet Explorer version 8 under spawn multiple processes. In Windows 7 SP1, you must set the HookChildProcesses property to True for the Web adapter when interrogating applications in Internet Explorer version 8. To exclude a specific process or Factory, use the ExcludeProcesses property. For more information, see Using HookChildProcesses and Excluding Processes for Use in Projects.
If you are using a Universal Web adapter, also set the BrowserType property to Firefox or Chrome.
Open the web application design page by either double-clicking on the item in Solution Explorer, or by right-clicking on the item and selecting Open.
Click Start Interrogation. The Designer launches the web application start page and the Interrogation Form displays.
On the Interrogation Form, The default selection is Create Global Web Page box. For more information, see Create Global Web Page.
Click the bullseye icon in the Interrogation Form and drag it to an target element
you want to include in the solution, for example, the User Name text box. A rectangle outlines the text box and surrounds the icon.
Release the bullseye icon . to create a control corresponding to the selected target.
The selected target is added to Object Explorer. If the target has parent elements, these controls are automatically matched and added. Robot Studio uses match rules to uniquely identify each target. For more information, see Interrogator and Match Rules.
Using the Name property for the control, you can rename the control for identification purposes. For example, if the control name is textbox1, you could rename it to identify the application and function within the project, such as txtCRMLogin.
When naming project items, components, and controls, use a unique name within the project. For example, if you have an adapter named Google and an automation named Google, you will receive an error. This also applies when naming components and controls. As a general rule, do not name components using property names. For example, if you rename a button on a Windows form Text, you will receive a build error as the form containing the button has a property named Text.
Continue interrogating targets on the first page of the application and then go to the next page of the application. This Web adapter example of Object Explorer shows controls created by interrogating
a Studio Training web application with Internet Explorer:
During Interrogation, you can view all available application targets by opening the Windows tab and Web Controls tab of the Designer. Use these tabs to view properties of application targets and add targets to the solution. For more information, see Web Controls Tab.
Related information
Using the enhanced Interrogation Form
Interrogation Form - Web Application
Privacy | Trademarks | Terms of Use | Feedback
Updated: 01 July 2024
© 2016 - 2024 Pegasystems Inc. Cambridge, MA All rights reserved.