Resolving “Couldn’t open app window; is the pop-up blocker enabled?” Selenium error in IE 10
Need to setup my Linux machine(master) to remotely access a Windows 8 machine(slave) with Internet Exporer 10 browser that will run my Selenium scripts.
master – machine where Selenium scripts, browser configurations are saved; one that will be sending requests to run the scripts
slave – machine where Selenium scripts will be run using a different platform (OS and browser); one that will accept the request to run the scripts
To do this, I configure the browser file from the master machine:
# for Internet Explorer our $sel = Test::WWW::Selenium->new( host => "Windows Machine IP", port => 4445, browser => "*iexplore", browser_url => "application URL" );
From the slave machine, I needed to install the following:
- Java SE Runtime Environment 1.7
- download latest Selenium Server from SeleniumHQ
To prepare the slave machine to accept the request, launch selenium server from the terminal using the same port set in the master machine:
java -jar selenium-server-standalone-2.23.1 -port 4445
To send request from the master machine, you may use “spec”, “rake” command depending on how you organized your test files. However after executing the command to run the scripts from the master machine, an error was encountered in the slave machine - “Couldn’t open app window; is the pop-up blocker enabled?”
# for Internet Explorer our $sel = Test::WWW::Selenium->new( host => "Windows Machine IP", port => 4445, browser => "*iexploreproxy", browser_url => "application URL" );

Recent Comments