Timming issue in the test case [message #1755875] |
Wed, 08 March 2017 19:50 |
Yinghui Wang Messages: 1 Registered: March 2017 |
Junior Member |
|
|
Hi, I was working on a RCPTT test case and is there any way to get notified immediately while some button is available?
I start an debug session and editor will load the code. Before it finish loading, I need to hit the step button. The code I use:
get-editor $editorName | get-editbox -index 1 | get-menu [concat "Submit/" $rse_connection_name] | click
get-window "Job Submission Confirmation" | get-button OK | click
try -times 40 -command {
get-view Debug | get-button "Animated Step Into (200 ms)" | click
} -catch{}
However, the animated step will be executed only after the editor loaded all the code. But manually, the animated step already being available before the editor finishing loading. Is there any way to do this kind of test?
|
|
|
Powered by
FUDForum. Page generated in 0.02910 seconds