[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

[wtr-general] using drag_and_drop_on with watir-webdriver

2011-04-26 Thread marc betts
/element.rb:283:in `method_missing' Thanks, Marc -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com

[wtr-general] Re: using drag_and_drop_on with watir-webdriver

2011-04-26 Thread marc
Jari, Thanks for the quick reply. I've added the issue to the tracker. Marc On Apr 26, 9:04 am, Jari Bakken jari.bak...@gmail.com wrote: Hi, On Tue, Apr 26, 2011 at 2:42 PM, marc betts marcbe...@gmail.com wrote: browser.div(:id=some_div).element.drag_and_drop_on(browser.div(:id=som

[wtr-general] Re: Problem about watir-webdriver

2011-04-20 Thread marc
Jari, Thanks for that info. I'm in the process of migrating from watir to watir-webdriver and have been seeing some of this IE instability, I think. I wasn't entirely convinced it wasn't my app causing it, but running on Firefox has been great. Marc On Apr 19, 5:52 am, Jari Bakken jari.bak

[wtr-general] Re: Compare HTML with HTML in a file

2011-04-04 Thread marc
I'm not sure how this is Watir related. You may have better luck asking a general Ruby users group. On Apr 4, 12:15 am, dt_nz david.tay...@sungard.com wrote: Hi I am using imap to retrieve email, and want to compare the data (which is retrieved as a string but contains html) with html stored

[wtr-general] Re: Speed: IE vs FF

2010-09-18 Thread marc
I've notice recently that my tests in IE were running a lot slower than Firefox using watir-webdriver. I was able to track it down to verifying text on a page. For example: verify(browser.div(:id=some_div).text.include?(some text)) would take about 5 to 10 times as long in IE compared to