Runtime Tab

The Runtime Tab components are used to get project information while the project is running in Studio or loaded through Runtime/Agile Desktop. These components are actually static methods and events. When you add a Runtime component to an automation, it is applicable to that automation alone and does not fall on either the Local or Globals tab.

Method Description

RuntimeHost.GetDeploymentVersion

Use this method to get the value of the DeploymentVersion property for the project.

RuntimeHost.GetDeploymentPackagePath

Use this method to get the full path of the extracted project assembly.

RuntimeHost.GetProjectPath

Use this method to get the full path of the package loaded at runtime.

RuntimeHost.GetProjectVersion

Use this method to get the value of the Version property for the project. This is the version of Studio which was used when the project was last edited and saved.

RuntimeHost.TerminateRuntime

Use this method to unload the project and close Runtime.

Event

Description

RuntimeLoader.AllProjectsStarted

This event occurs once, after all projects are loaded and should be the default way of being notified that projects were  started.

RuntimeLoader.Exiting

This event occurs when the user exits Runtime and can be cancelled from within an automation.

RuntimeHost.AllProjectsStarted

This event occurs once, after all projects are started.

 


Privacy | Trademarks | Terms of Use | Feedback

Updated: 18 June 2020

© 2016 - 2020 Pegasystems Inc.  Cambridge, MA All rights reserved.

 

OpenSpan data classification label