ATF test fails - Pages with framebusters are not currently testable

Jayalakshmi
Tera Contributor

Hello All,

I am getting this below error in ATF while running the test. 

Can anyone assist me in debugging this ?

 

ATF test fails - "Client test runner closed or navigated away while step was running. If this was not intentional, it may have been caused by opening a page with a framebuster. Pages with framebusters are not currently testable"

 

Jayalakshmi_0-1706153744322.png

 

 

Regards,

Jay

 

 

7 REPLIES 7

Sujit Jadhav
Tera Guru

Hello @Jayalakshmi ,

 

it usually indicates that the page or application you are trying to test is either:

  1. Using Framebuster Code: The page includes JavaScript designed to prevent it from being loaded within an iframe. ServiceNow ATF relies on running tests within iframes to isolate the test steps and prevent interference with the main application.

  2. Unexpected Navigation: The test causes the page to navigate away or refresh, which interrupts the ATF test runner.

Please mark my answer Correct/Helpful, If applicable

 

Regards,

Sujit

@Sujit Jadhav 

Thank you so much for your response, do we have any solution or workaround for this?

mathinaf
Tera Contributor

Hi All,

We are facing the same issue. Anybody got any solution or workaround for this?