Web adapters
Web adapters
A second widely used adapter is the web adapter. Web and window adapters share some properties. Developers must recognize the two most commonly used web properties to understand how they influence the application's use in the solution.
The following adapter properties apply to a web application:
- StartPage
- StartOnProjectStart
StartPage property
The StartPage property specifies the first HTML page to open for the application. The property accepts the site location in several formats. Here are some examples:
- www.pega.com
- http://216.215.233.67/
- Z:\Inetpub\wwwroot\index.htm
The StartPage property is synonymous with the Path property for the windows application. However, the StartPage property is optional for a web application. If left blank, the adapter opens the browser and navigates to the users home page. The StartPage property sets the page to load when the adapter starts.
StartOnProjectStart property
The StartOnProjectStart property applies to all Pega Robot Studio adapters. This property controls when an adapter starts during the loading and running the project. The default is True, which means the adapter starts when the project runs. If you set this property to False, specific automation logic is required, such as executing the Adapter.Start method, to start the adapter.
- Web Applications: When the adapter starts, Pega Robot Studio launches the web browser, navigates to the application identified in the StartPage property, and hooks the application. The interrogated controls are available to the project automations or event monitoring.
- Windows Applications: When the adapter starts, the StartMethod determines whether Pega Robot Studio launches the associated Path application.
This Topic is available in the following Module:
- Adapters v1
Want to help us improve this content?