Here’s what I want to do.
I have wait and waitforall and waitforany calls all over my scripts. God only knows how many I have scattered all over my scripts.
Anyways I just realized that even though the times I have specified are quite conservative for a successful event to be recorded on most machines, there are still going to be some SUT’s that are going to be painfully slower or even a lot faster.
So based on the processor speed, I would like to weight the wait time into units rather than seconds. E.g. wait 10 would be less than 10 secs on a faster computer and more than 10 secs on a slower computer.
Instead of my having to specify a weight manually or create custom scripts which would mean having to change each and every instance of wait every time, is there a way for me to change the wait command itself?
If not that’s fine, I’ll just create some custom wait scripts that will add the weightage, but I’d rather just override the wait commands.