• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Selenium / Java Modal pop up window object recognition  RSS feed

Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am looking at barnesandnoble.com.  At the first window it shows an ad in a pop up window.  I'm looking for a way to click on the X in the upper right hand corner to close the blocking window.  I attached the window and pop up that I am writing about.  I attached the inspection of the X object in the upper right side of the pop up.

I looked at stackoverflow.com and didn't find an answer that made sense to me.  

It has something to do with Modal windows.  This type of window in Selenium is new to me.

Can someone let me know how to identify this window.  I'm using TestNG and Page object Model code but I don't think that is a factor.    



[Thumbnail for barnesandnoble-inspection-modal.PNG]
modal window inspection
[Thumbnail for barnesandnobile.PNG]
Modal window on Display
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!