I need to handle a pop up window on an eCommerce site using Robot Framework.
I'm unable to post screenshots of the actual site I am working on but It is similar situation to the following. I select the item I want to purchase
Then I click on the Buy it now Button and a mini window pops up as follows:
The problem I am having is that Robot is not picking up the mini pop up window. I tried using the select window keyword, Set Focus to Element keyword but no luck as the elements within the mini window are not being found.
How to handle pop up windows in Robot Framework?
8.8k Views Asked by Lee At
1
I get the same issue with you today and below is the way that I did:
Inspect Element
to know exactly which type of popup (ex: iframe,...)Select Frame
keyword, then I can do everything with element on this popupBelow is my example: