I was very excited to upgrade to 7.1 when I saw the expanded capabilities for WaitFor statements thinking this would help me write less user code when executing a lengthy process and checking text in a status bar to gauge progress.
So I have some statements in a recording looking like this:
Code: Select all
<start process>
Wait For | AttributeContains | Text | Running Job... | StatusTextBox
Delay | 1m
Wait For | AttributeContains | Text | Job Completed. | StatusTextBox
If I were to look at the properties of StatusTextBox in the controls frame (Repository?) below the recording steps, I would see:
Code: Select all
Effective Timeout | 1m
Search Timeout | 30s
However, when I run this test case it fails to wait more than 5s and I see entries like so:
Code: Select all
Waiting 5s for the attribute 'Text' to contain the specified value 'Job completed.'. Associated repository item: 'StatusTextBox'
Am I missing something? It seems I have to keep my user code solution intact for now otherwise--I was hoping all I would have to do is manipulate the control's property values to allow a substantial amount of time before this check fails.