Wait
- 1 Minute to read
- Print
- DarkLight
- PDF
Wait
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Wait until time-limit has been reached or condition has been met
Key | Value(s) | Description |
---|---|---|
method | "Wait" | Wait until time-limit has been reached or condition has been met |
millis | 5000 | Optional. Number of milli-seconds to wait |
type | "exists" "notexists" | Optional. exists - wait until specified object exists notexists - wait until specified object doesn't exist |
search{} | { "name": "ObjectName" "class": "ObjectClass" } | Optional. name - object name (case sensitive) class - object class. Supported classes:
|
errorOnTimeout | true/false | Added in v6.5.2.1 |
Examples
//table is deleted in the timeout windows
[
{
"method": "Wait",
"project": "eyeota",
"type": "exists",
"search": {
"class": "BTable",
"name": "dddd"
},
"timeout": 5000,
"errorOnTimeout": true
},
{
"timedout": false
}
]
//with error in timeout
[
{
"method": "Wait",
"project": "eyeota",
"type": "exists",
"search": {
"class": "BTable",
"name": "dddd"
},
"timeout": 5000,
"errorOnTimeout": true
},
{
"timedout": true,
"errors": [
"timeout on Wait"
]
}
]
//wait for a table to be deleted
[
{
"method": "Wait",
"project": "eyeota",
"type": "exists",
"search": {
"class": "BTable",
"name": "dddd"
},
"timeout": 5000
},
{
"timedout": true,
}
]
{
"method": "Wait"
"millis":5000
}
{
"method": "Wait",
"type": "exists",
"search": {
"name": "Product",
"class": "BTable"
}
{
"method": "Wait",
"type": "notexists",
"search": {
"name": "Product",
"class": "BTable"
}
}
Was this article helpful?