Switch to pop up form
SCreen 1 : Autopay check box
screen2 : if I enable the autopay check box , this will popup the form ( its neither alert not window ) . This can close by clicking outside the form i.e on gray area
Xpath for this form does not show any class , id inforamiton
xpath for the “Customer Recurring Credit Card Payment” header : .//*[@id=’table1′]/tbody/tr/td/p/u/span
<span style=”font-size: 14.0pt; font-family: Arial,sans-serif”>Customer Recurring Credit Card Payment </span>
If it is in different frame and if you dont have any id or name .
Select a frame by its (zero-based) index. That is, if a page has three frames, the first frame would be at index
0, the second at index
1 and the third at index
2. Once the frame has been selected, all subsequent calls on the WebDriver interface are made to that frame.