[wtr-general] DOM events not being fired when IE compatibility mode is turned off in IE 10 and above

2014-08-19 Thread Marc Westwood
I have an on going issue with some events not firing when I run my ruby/watir script if compatibility mode is turned in IE 10. My web application has a text field, when I set this field using text_field(...).set ... this triggers an onkeyup event that then enables a button. When i run this

[wtr-general] Button not enabling after a text_field has been set when ie compatibility mode is turned off

2014-05-13 Thread Marc Westwood
Hoping someone may have come across this problem. The application I am automating requires a user to login, the user fills in a text field with login credentials and once all three fields have beeing filled in a button becomes enabled which users clicks to login. I have successfully automation

[wtr-general] Running ruby scripts from a vb.net application

2013-05-30 Thread Marc Westwood
Is it possible to run ruby scripts from within a vb.net application? I havea ruby file which contains a number of def's I would like to call these defs from within a vb.net application I am writting, is this possible, if so can someone provide an example of code please? -- -- Before posting,

[wtr-general] click_no_wait not working

2013-05-16 Thread Marc Westwood
I'm having some problems with click_no_wait. I have a button which when clicked displays a modaldialog. I am using click_no_wait when clicking the button the button turns yellow but I am not getting the modal dialog displayed. If I use .click the button turns yellow and the modal dialog is

[wtr-general] click_no_wait clicks the button but nothing happens

2013-05-16 Thread Marc Westwood
When clicking on a button using click_no_wait the button turns yellow at the point it is clicked but nothing happens as if the button was never clicked. I have tried click! and this does click the button the script haults because a modal dialog is displayed. I have read lots of comments that

[wtr-general] Re: Problems selecting an item in a list

2013-05-09 Thread Marc Westwood
Have found a solution. I firstly need to fire_event(onmouseover) which selects the item then fire_event(onclick). Thank you all for your comments. On Wednesday, May 8, 2013 10:39:16 AM UTC+1, Marc Westwood wrote: Yes it works in terms of its clicks on the item in the select list because

[wtr-general] Re: Problems selecting an item in a list

2013-05-08 Thread Marc Westwood
to answer your issue I assume the html really looks like this: lia id=_item1 ...other anchor attributes. DEF - 100 DEF/a/ li Do you see any onchange, onclick events in the div selectable_list, in the anchor, or list item? On May 2, 6:56 am, Marc Westwood marcawestw...@gmail.com

Re: [wtr-general] Problems selecting an item in a list

2013-05-03 Thread Marc Westwood
) none of these are working. On Thursday, May 2, 2013 1:04:13 PM UTC+1, Ċ½eljko Filipin wrote: On Wed, May 1, 2013 at 3:52 PM, Marc Westwood marcaw...@gmail.comjavascript: wrote: a id=_item_1 window=[object] . Text = DEF - 100 DEF Try this: browser.a(:text = DEF - 100 DEF).click

[wtr-general] Problems selecting an item in a list

2013-05-02 Thread Marc Westwood
I am very new to ruby/water so please excuse my lack of knowledge. I am having problems selecting items from a drop down list, I can get the drop down list to open but am unable to select an item within the list. The HTML looks something like this div class= selectable_list id= . ul

Re: [wtr-general] Problems selecting an item in a list

2013-05-02 Thread Marc Westwood
: On Wed, May 1, 2013 at 3:52 PM, Marc Westwood marcaw...@gmail.comjavascript: wrote: I am having problems selecting items from a drop down list, I can get the drop down list to open but am unable to select an item within the list. You are not dealing with select list (select tag