Re: [wtr-general] [watir-webdriver] - How to verify a text on a child window

2013-07-23 Thread Ċ½eljko Filipin
On Mon, Jul 22, 2013 at 5:17 PM, watir webdriver watirwebdriver...@gmail.com wrote: My code is returning all the texts present in the parent window. You have to switch to the new browser window/tab. Something like this: browser.window(:title = annoying popup).use do browser.button(:id =

[wtr-general] [watir-webdriver] - How to verify a text on a child window

2013-07-22 Thread watir webdriver
Hi there, In my app clicking a link opens a new browser where I've check if a particular text is present or not.I've implemented as below : *Cucumber Step definition:* When I click on the debug information link create page Then the debug info should show the Product catalog on the debug page