[wtr-general] Selenium::WebDriver::Error::UnhandledAlertError: Modal dialog present

2013-01-03 Thread Reshma Shah
Hi All, I am working on WATIR and facing issue when trying to open a ie browser. Even after all the dailog Alerts are handled i am getting the error Selenium::WebDriver::Error::UnhandledAlertError: Modal dialog present Tried using

Re: [wtr-general] Selenium::WebDriver::Error::UnhandledAlertError: Modal dialog present

2013-01-03 Thread Željko Filipin
On Thu, Jan 3, 2013 at 7:35 AM, Reshma Shah reshmasha...@gmail.com wrote: Another issue i am facing is with chromeDriver Since this is not related to the first question, please create a new thread. Željko -- https://leanpub.com/watirbook -- Before posting, please read

Re: [wtr-general] Selenium::WebDriver::Error::UnhandledAlertError: Modal dialog present

2013-01-03 Thread Željko Filipin
On Thu, Jan 3, 2013 at 7:35 AM, Reshma Shah reshmasha...@gmail.com wrote: Even after all the dailog Alerts are handled i am getting the error Selenium::WebDriver::Error::UnhandledAlertError: Modal dialog present Please share relevant code and at least Watir version (but versions of other

[wtr-general] Unable to find the chromedriver executable

2013-01-03 Thread Reshma Shah
I am facing an issue with chromeDriver, even after downloading chrome driver and placing its path in PATH variable i am getting the below error. Selenium::WebDriver::Error::WebDriverError: Unable to find the chromedriver executable. Please download the server from

Re: [wtr-general] Selenium::WebDriver::Error::UnhandledAlertError: Modal dialog present

2013-01-03 Thread Reshma Shah
I am trying the following code when browser is ie if @browserType == ie @browser = Watir::Browser.new 'ie' else @browser = Watir::Browser.new @browserType, :profile = profile end end on_page(LoginPage) do |page| page.navigate_to $url

Re: [wtr-general] Unable to find the chromedriver executable

2013-01-03 Thread Željko Filipin
On Thu, Jan 3, 2013 at 9:43 AM, Reshma Shah reshmasha...@gmail.com wrote: I am facing an issue with chromeDriver, even after downloading chrome driver and placing its path in PATH variable i am getting the below error. Where did you put the chromedriver? What is the value of your PATH

Re: [wtr-general] Selenium::WebDriver::Error::UnhandledAlertError: Modal dialog present

2013-01-03 Thread Željko Filipin
On Thu, Jan 3, 2013 at 9:42 AM, Reshma Shah -X (reshah - Infosys Limited at Cisco) res...@cisco.com wrote: p skipping security certificate for ie @browser.goto(javascript:document.getElementById('overridelink').click()) So the problem is that you get security certificate popup.

Re: [wtr-general] Selenium::WebDriver::Error::UnhandledAlertError: Modal dialog present

2013-01-03 Thread Reshma Shah
Yes it dismisses and i get the login page, after which i cannot find any dialog box open, even though error says that. But the login is not happening -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

Re: [wtr-general] Selenium::WebDriver::Error::UnhandledAlertError: Modal dialog present

2013-01-03 Thread Željko Filipin
On Thu, Jan 3, 2013 at 10:36 AM, Reshma Shah reshmasha...@gmail.com wrote: Yes it dismisses and i get the login page, after which i cannot find any dialog box open, even though error says that. But the login is not happening Can you share the page URL, or create a page where we can reproduce

Re: [wtr-general] Unable to find the chromedriver executable

2013-01-03 Thread Reshma Shah
My PATH variable contains, C:\Ruby193\bin;C:\Program Files (x86)\RSA SecurID Token Common;C:\Windows\system 32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1. 0\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\CREDANT\Shield v7

Re: [wtr-general] Unable to find the chromedriver executable

2013-01-03 Thread Željko Filipin
On Thu, Jan 3, 2013 at 11:22 AM, Reshma Shah reshmasha...@gmail.com wrote: My PATH variable contains, And where did you put the chromedriver file? Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

Re: [wtr-general] Selenium::WebDriver::Error::UnhandledAlertError: Modal dialog present

2013-01-03 Thread Reshma Shah
I was able to resolve the issue after changing the browser settings. with enabling display mixed content and enabling launching programs and files in IFRAME(since i am using iframe). Thanks On Thursday, 3 January 2013 15:08:36 UTC+5:30, Željko Filipin wrote: On Thu, Jan 3, 2013 at 10:36

Re: [wtr-general] Just want some help regarding reading data from excel

2013-01-03 Thread rags
Thanks for your response Zeiliko, got it, I am able to get data from excel now. Thanks Rags. On Thursday, January 3, 2013 1:17:23 AM UTC+11, Željko Filipin wrote: On Mon, Dec 31, 2012 at 8:24 AM, rags raga...@gmail.com javascript:wrote: *unable to locate element, using {:id=a2,

Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work

2013-01-03 Thread Daniel Berger
I didn't know this until recently. It seems _get_errno is available on Windows XP, but isn't actually an exported function on that runtime. Phooey. I'll probably have to replace it with FFI.errno (aka GetLastError) for XP but it will be potentially inaccurate error information. Regards, Dan