c w
2018-06-15 17:41:11 UTC
Hi all,
I do have this situation and at runtime I have to see if this button is
on\off ...
I see is checkbos but I see 2 spans
I tried to check uncheck it just to see it working. I see it is not with
this application.
I have no idea what to do.
Can one help please.
This is what I try to see the button on\off:
@manage_web_portal_page.checkbox(:id,"pageProfile").clear
@manage_web_portal_page.checkbox(:id,"pageProfile").set(false)
puts @manage_web_portal_page.checkbox(:id,"pageProfile").set?
puts @manage_web_portal_page.checkbox(:id,"pageProfile").enabled?
@manage_web_portal_page.checkbox(:id,"pageProfile").set
@manage_web_portal_page.checkbox(:id,"pageProfile").set(true)
puts @manage_web_portal_page.checkbox(:id,"pageProfile").set?
puts @manage_web_portal_page.checkbox(:id,"pageProfile").enabled?
But I get this error on console:
Element <input id="pageProfile" class="page make-switch"
name="ctl00$ContentPlaceHolder1$pageProfile" type="checkbox"> is not
clickable at point (262.5,291.8999938964844) because another element <span
class="bootstrap-switch-handle-on bootstrap-switch-primary"> obscures it
(Selenium::WebDriver::Error::ElementClickInterceptedError)
***@chrome://marionette/content/error.js:178:5
ElementClickInterceptedError
@chrome://marionette/content/error.js:275:5
webdriverClickElement
@chrome://marionette/content/interaction.js:167:11
--
--
Before posting, please read https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
In short: search before you ask, be nice.
watir-***@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+***@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I do have this situation and at runtime I have to see if this button is
on\off ...
I see is checkbos but I see 2 spans
I tried to check uncheck it just to see it working. I see it is not with
this application.
I have no idea what to do.
Can one help please.
This is what I try to see the button on\off:
@manage_web_portal_page.checkbox(:id,"pageProfile").clear
@manage_web_portal_page.checkbox(:id,"pageProfile").set(false)
puts @manage_web_portal_page.checkbox(:id,"pageProfile").set?
puts @manage_web_portal_page.checkbox(:id,"pageProfile").enabled?
@manage_web_portal_page.checkbox(:id,"pageProfile").set
@manage_web_portal_page.checkbox(:id,"pageProfile").set(true)
puts @manage_web_portal_page.checkbox(:id,"pageProfile").set?
puts @manage_web_portal_page.checkbox(:id,"pageProfile").enabled?
But I get this error on console:
Element <input id="pageProfile" class="page make-switch"
name="ctl00$ContentPlaceHolder1$pageProfile" type="checkbox"> is not
clickable at point (262.5,291.8999938964844) because another element <span
class="bootstrap-switch-handle-on bootstrap-switch-primary"> obscures it
(Selenium::WebDriver::Error::ElementClickInterceptedError)
***@chrome://marionette/content/error.js:178:5
ElementClickInterceptedError
@chrome://marionette/content/error.js:275:5
webdriverClickElement
@chrome://marionette/content/interaction.js:167:11
--
--
Before posting, please read https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
In short: search before you ask, be nice.
watir-***@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+***@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.