This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I miss waitSting(String) method for indeterminate progress bar (bar with moving rectangle). The JProgressBarOperator have waitValue(int), waitValue(ValueChooser) methods for clasic progress bar but they are not usable for indeterminate progress bar.
Created attachment 11850 [details] Patch
Pardon, I forgotten mark it as enhancement.
I have a question. Is there any reason why not to use waitState(ComponentChooser) finctionality? Instead of adding of a new method like you proposing, I would rather deprecate waitValue(*) along with ValueChooser. :) Or, may be, deprecate only ValueChooser (along with waitValue(ValueChooser)), making waitValue(int) (and waitValue(String), then) working through waitState. Would it work? Let me now if I miss something - I might as well do. :)
The implementation was driven by waitValue(int). I only need a wait...(String) method. Something like: public static class JProgressBarOperator.StringJProgresBarChooser implements ComponentChooser { ... } is acceptable too but I would prefer wait...(String) method.
Shura added method waitValue(String) in version 2.2.4.3.