while (win_exists("{class: window,MSW_class: browser_main_window,location: 0}")==E_OK)
win_close("{class: window,MSW_class: browser_main_window,location: 0}");
while (win_exists("{class: window,MSW_class: IEFrame,location: 0}")==E_OK)
win_close("{class: window,MSW_class: IEFrame,location: 0}");
不過它只能關閉在打開winrunner後打開的所有IE windows
沒有留言:
張貼留言