Skip to main content
added 2 characters in body
Source Link
alecxe
  • 11.4k
  • 11
  • 51
  • 107

I am currently working on Automation project for E-commerce site  . In some pages unexpected popup's(ex:ad's) are displaying  .Because Because of that my script was failing by throwing exceptions like ElementNotFoundExceptionElementNotFoundException and currently Element is not Interactable etcElement is not Interactable etc.. . Here these ad's are not specific to particular page.It It may come at any page.

Please let me know, Is there any way to handle these type of scenario'sscenario?

I am currently working on Automation project for E-commerce site  . In some pages unexpected popup's(ex:ad's) are displaying  .Because of that my script was failing by throwing exceptions like ElementNotFoundException and currently Element is not Interactable etc.. . Here these ad's are not specific to particular page.It may come at any page.

Please let me know, Is there any way to handle these type of scenario's

I am currently working on Automation project for E-commerce site. In some pages unexpected popup's(ex:ad's) are displaying. Because of that my script was failing by throwing exceptions like ElementNotFoundException and currently Element is not Interactable etc.. . Here these ad's are not specific to particular page. It may come at any page.

Please let me know, Is there any way to handle these type of scenario?

Source Link
QAMember
  • 1.5k
  • 15
  • 37
  • 57

Handling the unexpected popup ad's in website

I am currently working on Automation project for E-commerce site . In some pages unexpected popup's(ex:ad's) are displaying .Because of that my script was failing by throwing exceptions like ElementNotFoundException and currently Element is not Interactable etc.. . Here these ad's are not specific to particular page.It may come at any page.

Please let me know, Is there any way to handle these type of scenario's