tiny Posted May 8, 2008 Share Posted May 8, 2008 Hi,I'm trying to write a script which will run a Benchmark Suite.But I'm having problems to select single benchmarks and recognize if the benchmark is finished.The program I'm wanne working with is freeware. It can be found here PC Wizard 2008.I'm able to start the program, but I can't select the Benchmark section from the left buttom bar. This section includes the single benchmarks.I tried for example...Run('C:\_Install\PC Wizard 2008\PC Wizard.exe') WinWait("PC Wizard 2008","") ControlClick("PC Wizard 2008","","ThunderRT6PictureBoxDC6") WinWait("PC Wizard 2008","") ;AutoIt supports no ToolbarWindow32... but fixed positions can't be the solution. Futhermore the solution doesn't work, too.With WinGetClassList I gotButtonRichEdit20AReBarWindow32ToolbarWindow32RichEdit20AThunderRT6PictureBoxDCThunderRT6PictureBoxDCThunderRT6ComboBoxThunderRT6PictureBoxDCThunderRT6PictureBoxDCThunderRT6TimerThunderRT6PictureBoxDCThunderRT6PictureBoxDCThunderRT6PictureBoxDCThunderRT6PictureBoxDCThunderRT6PictureBoxDCThunderRT6PictureBoxDCThunderRT6PictureBoxDCToolbarWindow32ToolbarWindow32ThunderRT6PictureBoxDCToolbarWindow32ToolbarWindow32ThunderRT6PictureBoxDCToolbarWindow32ToolbarWindow32ThunderRT6PictureBoxDCToolbarWindow32ToolbarWindow32ThunderRT6PictureBoxDCToolbarWindow32ToolbarWindow32msctls_statusbar32msctls_progress32SysListView32SysHeader32SysTabControl32ThunderRT6PictureBoxDCThunderRT6PictureBoxDCA second problem is to recognize if the benchmark is finished.Has anybody out there an idea how to manage this problems with AutoIT? Link to comment Share on other sites More sharing options...
Kerros Posted May 8, 2008 Share Posted May 8, 2008 Check out the Readme.txt file for PCW2008. It lists some of the different tests and report types that you can run from the command line. You can then either add them to a shortcut or run it from the command line. Kerros Kerros===============================================================How to learn scripting: Figure out enough to be dangerous, then ask for assistance. Link to comment Share on other sites More sharing options...
PsaltyDS Posted May 8, 2008 Share Posted May 8, 2008 If you can work from the command line per Kerros, you'll be better off. Otherwise, you might be out of luck...ThunderRT6 means it's VB and you MIGHT be able to work with it. PictureBoxDC means it's graphical and drawn by the VB runtime, not standard Windows APIs. That means AutoIt probably can't do much with it. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
tiny Posted May 8, 2008 Author Share Posted May 8, 2008 Check out the Readme.txt file for PCW2008. It lists some of the different tests and report types that you can run from the command line. You can then either add them to a shortcut or run it from the command line.KerrosI know the command line parameters, but there are no parameters defined to run benchmarks.Ok that look like I have to take a look at another software. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now