The second link in that thread mentioned the parent object. W3schools is
a great place to learn how html works.
Example:
puts ' Is select enabled? '
puts b.select_list(:id,'PolicyTypeANDL').attribute_value("disabled").to_s
I think there used to be an .enabled? method at one time, don't know
The example you have given is different in which option is disabled but in
my case after the selection is done , complete select list would be
disabled.
On Mar 17, 2017 9:00 PM, "Super Kevy" wrote:
> Is that the way it works manually?
>
> Inputs can be disabled.
> For example, https://www.w3scho
Yes it's the way it works manually and that's an expected behavior
Actually I have resolved the problem for the time being like
b.select_list.select 'something' rescue ""
On Mar 17, 2017 9:00 PM, "Super Kevy" wrote:
> Is that the way it works manually?
>
> Inputs can be disabled.
> For example
Is that the way it works manually?
Inputs can be disabled.
For example, https://www.w3schools.com/tags/att_option_disabled.asp
https://www.w3schools.com/tags/att_select_disabled.asp
On Friday, March 17, 2017 at 10:22:05 AM UTC-5, Raja gopalan wrote:
>
> Ok another problem I see here i
Ok another problem I see here is after the selection, select list is
getting disabled, once after the selection you can't do it again.
On Mar 17, 2017 8:46 PM, "Super Kevy" wrote:
> That would be a logical indicator. If the page refreshes object handles
> would likely change.
> Good luck. Let
That would be a logical indicator. If the page refreshes object handles
would likely change.
Good luck. Let us know your success.
On Friday, March 17, 2017 at 10:13:08 AM UTC-5, Raja gopalan wrote:
>
> It refreshes the page after the selection, might that be the reason?
>
> Note : selection
It refreshes the page after the selection, might that be the reason?
Note : selection is successfully happen.
On Mar 17, 2017 8:29 PM, "Super Kevy" wrote:
> So can't access dead object - indicates the object is no longer valid .
> Try google search with subject "can't access dead object DOM"
No but it refreshes the page .
On Mar 17, 2017 8:08 PM, "Lucas Tierney" wrote:
> Is the select causing a page navigation after selecting the option?
>
> On Friday, March 17, 2017 at 8:44:35 AM UTC-5, Raja gopalan wrote:
>>
>> Actually the option is selected successfully, but immediately after th
So can't access dead object - indicates the object is no longer valid .
Try google search with subject "can't access dead object DOM" or ruby or
selenium.
Example:
http://stackoverflow.com/questions/18401890/know-if-a-dom-object-is-dead
Example:
http://stackoverflow.com/questions/16396767/
Is the select causing a page navigation after selecting the option?
On Friday, March 17, 2017 at 8:44:35 AM UTC-5, Raja gopalan wrote:
>
> Actually the option is selected successfully, but immediately after the
> selection, this error was thrown and program was terminated.
>
> On Thursday, March
Actually the option is selected successfully, but immediately after the
selection, this error was thrown and program was terminated.
On Thursday, March 16, 2017 at 11:20:26 PM UTC+5:30, Super Kevy wrote:
>
> So the error is intermittent, 1 of 10 failures.
> Your select may need to be attached to
11 matches
Mail list logo