Repository Object
Description
An object that enables you to work with repository parameters.
You can set or retrieve the value of repository parameters using the Repository object. All changes made to repository parameters through using the Repository object are temporary, and are valid only for the current run session.
Syntax
To set the value of a repository parameter:
Repository (RepositoryParameterName) = NewValue
To retrieve the value of an existing repository parameter:
CurrentValue = Repository (RepositoryParameterName)
Argument | Type | Description |
---|---|---|
RepositoryParameterName | String | The name of the repository parameter. |
NewValue | Variant | The new value of the repository parameter. |
CurrentValue | Variant | The current value of the repository parameter. |
The following example specifies the value of the repository parameter named username
as a data table parameter, and then retrieves the repository parameter value from the data table and stores it in the MyValue variable.
Repository.Value ("username") = DataTable("username", dtGlobalSheet)
MyValue=Repository.Value("username")
Properties
Value | Checks that an object exists. |
Value Property
Description
Sets or retrieves the value of a repository parameter. All changes made to repository parameters through using the Repository object are temporary, and are valid only for the current run session.
Syntax
To set the value of a repository parameter:
Repository (RepositoryParameterName) = NewValue
To retrieve the value of an existing repository parameter:
CurrentValue = Repository (RepositoryParameterName)
Argument | Type | Description |
---|---|---|
RepositoryParameterName | String | The name of the repository parameter. |
NewValue | Variant | The new value of the repository parameter. |
CurrentValue | Variant | The current value of the repository parameter. |
The following example specifies the value of the repository parameter named username
as a data table parameter, and then retrieves the repository parameter value from the data table and stores it in the MyValue variable.
Repository.Value ("username") = DataTable("username", dtGlobalSheet)
MyValue=Repository.Value("username")
See also:
- Crypt Object
- DataTable Object
- Description Object
- DeviceReplay Object
- DotNetFactory Object
- DTParameter Object
- DTSheet Object
- Environment Object
- Extern Object
- Parameter Object
- JSON Object
- JsonUtil Object
- MercuryTimers Object (Collection)
- MercuryTimer Object
- NV Object
- OptionalStep Object
- ParallelUtil Object
- LocalParameter Object
- PasswordUtil Object
- PathFinder Object
- PDFUtil Object
- Properties Object (Collection)
- QCUtil Object
- RandomNumber Object
- Recovery Object
- Remote Connection Object
- Reporter Object
- RepositoriesCollection Object
- Repository Object
- Services Object
- Setting Object
- SystemMonitor Object
- TestArgs Object
- TextUtil Object
- UIAutomation Object
- VisualRelation Object
- VisualRelations Object
- VisualRelationsCollection Object
- WebUtil Object
- XMLUtil Object