Is there a way to run tests automatically when page loads?

  • Yes, simply use the following JS code:

window.onload = function () {

       setTimeout("SomApi.startTest()", 600);

}

  • Or if you are using jQuery:

                    $.ready(function(){

                            setTimeout("SomApi.startTest()", 600);

                    });

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.