Home › Developers › Release Notes›OpenBots Studio v1.5.0 Release Notes
OpenBots Studio v1.5.0 Release Notes
[Notes]
- This update brings significant changes to the manner in which commands and user inputs function due to the addition of a proper coding engine. Users will need to make the following adjustments to any code being migrated or created from v1.5.0 on.
- Variable will now be referenced without curly braces: {varX} -> varX
- String inputs will now require quotation marks: My Input -> “My Input”
- Integer and Double inputs will require no additional changes.
- Generic variables will require proper subtypes to be set:
Dictionary -> Dictionary - Application instances will need to be saved into variables and passed between scripts: DefaultBrowser -> browserInstance (variable)
- The System Variables have been removed, as they are easily accessible through standard C# functionality, in many cases with the same text: DateTime.Now -> DateTime.Now
- Strings are now appended through standard C# formats: Hello{var}World -> $”Hello{var}World” [OR] “Hello” ” var + “World”
- Users will need to adjust inputs based upon feedback upon editing in commands. The validation will report any compilation issues, and most can be solved fairly easily.
- OpenBots Studio
- Inline Coding
- All Form Fields
- Form fields throughout the Studio will now accept standard C# code input as well as the requested values. This allows users to utilize library functions to create their inputs or outputs.
- Variable Default Values
- Variable default values can now be set for all data types by using the necessary initializer code.
- It is still recommended that users initialize datatables using the provided commands for simplicity.
- Evaluate Snippet
- The Evaluate Snipper command has been added, and is able to execute multiple lines of consecutive C# code using the Studio variables and arguments. This allows users to flow naturally between standard coding and the OpenBots Commands to create their automations.
- All Form Fields
- Command Validation
- Commands will now have their inputs evaluated through the code analysis, with both syntax and compilation errors errors encountered reported directly back to the user for correction.
- Imports Pane
- Users are now able to select namespaces to import from the included project dependencies to populate variable types and enable code execution.
- Application Instances as Variables
- Application instances will now be explicitly handled as variables and passed between scripts as arguments.
- Project Arguments
- Scripting projects types can now take in arguments through the Main file to be executed with on the command line.
- OpenBots projects will now create Automation Parameters for Main file arguments during publishing operations.
- Generic Variable Types
- Generic variable types are now supported natively, with the user being prompted to select the types of the containing elements.
- The Studio now explicitly support Array types as well.
- Studio Minimize on Run
- The Studio will now minimize itself when the run button is pressed, and return to focus when execution has completed. Running in Debug mode will maintain the Studio is focus.
- Server SDK
- The OpenBots Studio command now utilize the OpenBots Server SDK for their functionality.
- The SDK has been released publicly on the Gallery to allow for users to integrate with the Server functionality when creating commands.
- Run/Debug from this Command
- When using the right click menu users are now able to Run or Debug from a selected command.
- Inline Coding
- OpenBots Agent
- Project Arguments
- The Agent will now populate the command line for scripting project types with the requested values when executing with Schedule Parameters.
- OpenBots projects will have their arguments correctly populated into Argument with matching names.
- Agent Settings
- The Agent will now receive settings from the Server during it’s connection attempts, and will maintain those settings until the connection is severed manually.
- Project Arguments
- OpenBots Studio
- Studio Memory Reduction
- After an extensive cleanup operation the Studio will now utilize approximately 80-90% less RAM when working with large scripts and projects. This has also resulted in significant improvements across the board in performance.
- Word Command Standardization
- The input and output of text from the word commands has been better standardized to create the expected outputs.
- Database Connection Commands
- Corrected issues with connections and the test connection features.
- Passwords are no longer required in the command form.
- Large Textboxes
- Large textboxes now allow users to utilize the tab and enter keys when editing them to better assist the writing of complex code snippets.
- Status Bar
- The status bar is now static, and will display status messages for longer periods of time.
- Memory Leaks
- Memory leaks have been addressed throughout the Studio and have resulted in significant performance gains.
- Surface Automation
- SecureText inputs will now be properly decrypted and typed during execution.
- Studio Memory Reduction
- OpenBots Agent
- Unattended Execution
- Corrected identified issues with Unattended execution for Windows Server machines.
- Surface Automation
- Corrected issues with Surface Automation when executing on machines with varying Windows zoom settings.
- Unattended Execution
- OpenBots Studio
- The Remote Desktop Manager does not currently save the entered information. This form is currently the subject of a refactor operation.
- The Remote Desktop commands do not properly initialize an RDC session.
- CS-Script support is only currently valid for version 3.X. Please use the following command for the Agent installation.
- choco install cs-script –version=3.30.3.0
- OpenBots Agent
- When publishing packages to the OpenBots Server any arguments in the Main script file must have a default value set.