Forum Discussion

Arunachalam's avatar
Arunachalam
Occasional Contributor
6 years ago

Reducing Delay js script

I am using the DOM model framework for web testing but it will take too much time to complete execution. So I need an answer to how to reduce the delay happens during execution and how to improve the performance of execution.

  • Hi,

     

    > it will take too much time to complete execution.

    It would help you analyse what causes most time loss and let us know.

    Possible cases:

    -- It takes a lot of time to start test execution due to the huge volume of test code;

    -- It takes a lot of time to display result at test end due to the large number of huge logs;

    -- It takes a lot of time to find a tested object on the page due to the ineffective page markup (too deep DOM tree) and use of the Extended find in Namemapping;

    -- etc.

     

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3

    Hi,

     

    > it will take too much time to complete execution.

    It would help you analyse what causes most time loss and let us know.

    Possible cases:

    -- It takes a lot of time to start test execution due to the huge volume of test code;

    -- It takes a lot of time to display result at test end due to the large number of huge logs;

    -- It takes a lot of time to find a tested object on the page due to the ineffective page markup (too deep DOM tree) and use of the Extended find in Namemapping;

    -- etc.