Project Structure and Organization

Overview

Desktop Studio allows you to develop your own projects. Once imported in SAP Intelligent Robotic Process Automation Factory, they become available for both attended and unattended mode using Desktop Agent.

A project in SAP Intelligent Robotic Process Automation contains a set of files:

  • A main project file (.PSCP)

  • Application declaration files (.PSCP) (also captures bitmaps and structures)

  • A set of JavaScript files to implement the scenarios and optimizations

  • Language framework files, extensions, and libraries (copied from SDK)

  • HTML resources (HTML, JS, bitmaps, and so forth) to display custom-generated user interfaces

Typical Structure of a Project

When you create a new project, Desktop Studio automatically generates the following set of folders, which contain the different files for the solution:

File or Folder Name

Description

<project>.pscp

Main project file

<project>.pscr

Resource project file (optional file, only if you use the split resources option)

archive

Archive folder – contains ZIP files generated by Desktop Studio to archive all the files required for development:

Source script files (.PSCP, .PSCR, and so on), HTML, JS files, Studio Explorer capture files (bitmaps and structures), and so forth.

Archive files have the name: archive_<project name>_<version>_<date>_<time>.zip

For example: archive_testProject_1.0_29092012_183725.zip

bin

Folder containing all JS, XML, and resource files used for execution when testing the project with Desktop Studio. This folder is used to generate the project-export archive

export

Export folder – contains files generated by Desktop Studio to archive all of the files necessary for deployment:
  • Generated script file (.PSC, and so forth), HTML, JS files, and so on

The export is saved in a folder named <project name>_<version> that contains:
  • Export file named <project name>.zip

  • A markup file named key.xml: This file is mandatory for the update mechanism

  • and more

The content of the folder is also saved in an archived file named <project name>_<version>.zip

local

Contains all files that will be locally deployed on the workstation. These files are saved to an archive when the project is exported. In particular, the target project file (<project name>.psc) is generated in this folder.

log

Folder used as a working directory when the project is tested with Desktop Studio. This folder contains log files that are generated by Desktop Agent (named LogCtxt.000 and so on).

<project>_Screens

Contains the captured screens for the declared application(s). Each capture consists of three files:
  • *.png: page snapshot

  • *.xml: page internal structure

  • *.htm: html source code (for Web pages)

server

Contains all files that will be deployed on the server. It typically contains mash-up Web pages that are located on the server and launched using a Web browser. These files are saved as-is (without compression) when the project is exported.

updatepkg

Contains a list of subfolders associated with the <UpdatePackages> section.