Timing file open time with Powershell -


i'm trying test how long takes load large file (cad or psd files) , our testers using stopwatch. remove possibility human error , create script test us.

currently, can open file , time how long takes execute command powershell using following command:

measure-command {invoke-item c:\path\test.psd} 

is possible measure actual time takes load application , open file using powershell? i've done quite bit of searching , cannot find specific scenario.

unfortunately going run major problem, how define load?

typically defined time before user able take action, knowing when is difficult automated system.

either need use testing suite able generate , monitor events (to tell when form ready accept input) or generate equivalent test time can automate (for instance load file , exit without making changes, don't know if can photoshop however).

a final option might work plugin detects test , closes form once ready, don't know enough programs know if feasible.


Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

java.util.scanner - How to read and add only numbers to array from a text file -