tag:blogger.com,1999:blog-6898534150006909939.post3379000223460815729..comments2023-08-10T18:13:42.401+10:00Comments on QA Blog: Testing Pop up windows using Selenium webdriverUnknownnoreply@blogger.comBlogger4125tag:blogger.com,1999:blog-6898534150006909939.post-11845089615776027302013-10-29T01:46:14.843+11:002013-10-29T01:46:14.843+11:00Hi MonsterEnergy,
you should probably use 'pag...Hi MonsterEnergy,<br />you should probably use 'page' instead of 'response' everywhere, like this:<br />page.driver.browser.switch_to.window(page.driver.browser.window_handles[0])Anonymoushttps://www.blogger.com/profile/03318596308266258369noreply@blogger.comtag:blogger.com,1999:blog-6898534150006909939.post-81341893662800871972012-12-15T08:44:12.657+11:002012-12-15T08:44:12.657+11:00Hello, I am trying to use your implementation abov...Hello, I am trying to use your implementation above and am having no luck. I am using selenium and cucumber to run my automation tests (I am new only 6 months exp) and need to create the step definitions. My application opens, enters some data and clicks "complete" then a new windows opens and I get any errors/warnings. I need to click that button, switch, validate messages and come back to the main window. I cannot get my step definition to work and keep getting undefined method 'window_handles'. Any chance you know how to get this into a step definition?<br /><br />ThanksObakehttps://www.blogger.com/profile/11396205400785679448noreply@blogger.comtag:blogger.com,1999:blog-6898534150006909939.post-73051462350141115682012-10-30T23:01:46.739+11:002012-10-30T23:01:46.739+11:00Thanks, its very useful!Thanks, its very useful!vtrhttps://www.blogger.com/profile/16617876472488624985noreply@blogger.comtag:blogger.com,1999:blog-6898534150006909939.post-91684562401557143022011-03-21T15:24:22.985+11:002011-03-21T15:24:22.985+11:00Hey,
Very useful info. THanks. More selenium 2 a...Hey, <br /><br />Very useful info. THanks. More selenium 2 article please :)Jameshttps://www.blogger.com/profile/08068148515763055545noreply@blogger.com