Sign in to follow this  
Followers 0
tiny

Scripting Benchmark Program

4 posts in this topic

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 got

Button

RichEdit20A

ReBarWindow32

ToolbarWindow32

RichEdit20A

ThunderRT6PictureBoxDC

ThunderRT6PictureBoxDC

ThunderRT6ComboBox

ThunderRT6PictureBoxDC

ThunderRT6PictureBoxDC

ThunderRT6Timer

ThunderRT6PictureBoxDC

ThunderRT6PictureBoxDC

ThunderRT6PictureBoxDC

ThunderRT6PictureBoxDC

ThunderRT6PictureBoxDC

ThunderRT6PictureBoxDC

ThunderRT6PictureBoxDC

ToolbarWindow32

ToolbarWindow32

ThunderRT6PictureBoxDC

ToolbarWindow32

ToolbarWindow32

ThunderRT6PictureBoxDC

ToolbarWindow32

ToolbarWindow32

ThunderRT6PictureBoxDC

ToolbarWindow32

ToolbarWindow32

ThunderRT6PictureBoxDC

ToolbarWindow32

ToolbarWindow32

msctls_statusbar32

msctls_progress32

SysListView32

SysHeader32

SysTabControl32

ThunderRT6PictureBoxDC

ThunderRT6PictureBoxDC

A second problem is to recognize if the benchmark is finished.

Has anybody out there an idea how to manage this problems with AutoIT?

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

I 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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0