Forum Discussion

anandkumar's avatar
anandkumar
Contributor
13 years ago

how to avoid reload test popup during execution

Hi



there is a test say 'xyz' which is shared by all. if i run any script and if someone edit and save the shared test 'xyz' then i get a pop up saying 'do u want to reload 'xyz'?' 

which actually interrupts my execution. during scheduled running when someone is not there to notice it, it gives big trouble.

how to avoid such a popup while execution?



thanks in advance.
  • newtotc's avatar
    newtotc
    Occasional Contributor
    Try this




    app.DisplayAlerts = false






    where app could be your file's object

    thanks

    AN