Slow down the speed that scripts are being run when launched from ALM

UFT One 24.2

ALM 17

App in SAP Portal v800

I have an application that is very slow and was looking to slow the scripts down.

If I run the scripts through UFT  on Run Mode = Debug, they all pass

If I run the scripts through UFT  on Run Mode = Fast, they 99% pass

If I run the scripts through ALM, which auto selects Fast mode, then there a several places that the code will fail.

I need to rule out that the speed used via ALM running the scripts is not the issue.

It is impossible to fix code that will not fail when running the scripts directly through UFT

I have input so many wait conditions, there is more of them, then there is actual testing code.

MY Question:

Anyone know a way to slow down the speed that scripts are being run when launched from ALM.

Tags:

Parents Reply
  • 0   in reply to   

    Not quite what I was looking for.

    That is already set at 20 sec and should be long enough.

    It is not really the errors that are an issue, it is the time between steps that seems to need slowing down.

    If ALM launched the tests in debug mode it would be slow enough (I think) to get a clean run.

Children
  • 0   in reply to   

    It would have to be checked on a case by case basis as why UFT is finding the object too soon.

    In general, putting a wait would not be ideal, a better way to do it is to check if there's any property that you can rely on to make sure the object is actually visible/enabled and use waitproperty to wait for it to reach that status, or rely on other objects which can indicate that the target object can be interacted with.