marshallprank 0 Posted March 21, 2011 Hallo, i want to implement in my Test script a Progress Bar. This should be active until my test is finished. My Code is: run("E:Pro\setup.exe") WinWaitActive("GTS","&Next >") Send("!n") WinWaitActive("GTS","&Next >") Send("!n") WinWaitActive("GTS","&Next >") Send("!n") WinWaitActive("GTS","&Next >") Send("!n") WinWaitActive("GTS","&Next >") Send("!n") WinWaitActive("GTS","&Close") Send("!Close") My Test is very simple. It makes an Install of the Tool GTS. I need now a progressBar, that shows the elapsing time of the test. Thanks and best regards. Share this post Link to post Share on other sites
Andreik 66 Posted March 21, 2011 You can go something like this: ProgressOn("Install","") run("E:Pro\setup.exe") ProgressSet(10,"Run Installer") WinWaitActive("GTS","&Next >") Send("!n") ProgressSet(25,"Next 1") WinWaitActive("GTS","&Next >") Send("!n") ProgressSet(40,"Next 2") WinWaitActive("GTS","&Next >") Send("!n") ProgressSet(55,"Next 3") WinWaitActive("GTS","&Next >") Send("!n") ProgressSet(75,"Next 4") WinWaitActive("GTS","&Next >") Send("!n") ProgressSet(90,"Next 5") WinWaitActive("GTS","&Close") Send("!Close") ProgressSet(100,"Close") Sleep(1000) ProgressOff() When the words fail... music speaks Share this post Link to post Share on other sites
marshallprank 0 Posted March 21, 2011 thank you its working Share this post Link to post Share on other sites