[Wtr-general] key codes are always zero
Hi, I enjoyed using Watir, I have one problem. When automating tests, the text entered into text boxes does not fire key events properly in the IE DOM, the key codes are always zero. I am testing a browser plugin, that captures keystrokes when im doing debugging so I can set the plugin into certain modes from text entered. Ive tried modifying the source to generate the right codes but doesn't work. Is there a way to make it set the correct key codes? Regards David ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] same text fordifferent urls..
Hi thank u,its working for the general urls, but not for the ajax links, can u please help me for the ajax links. This is the code i used. ie.link(:url,http://localhost:3000/data_entry/ajax_add_term/133?contract_id=14 0).click This is the generated html.. [add a term] is the link. Thanks in Advance, Harish - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6183messageID=17458#17458 ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] Ruby equivalent of 'Continue' in C
I changed the code a lot to suit to different types of status combinations in the table. But most of the time it gives the following errorcode: c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2461:in `[]': unknown property or method `4' (WIN32OLERuntimeError) HRESULT error code:0x80020006 Unknown name. from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2461:in `row' from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2411:in `[]' from C:/COMPLE~1.RB:36 - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6187messageID=17463#17463 ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] Ruby equivalent of 'Continue' in C
I've a table as below: [b]Structure No Structure Name Structural Requirements Status 475[u]GVpv[/u] Complete 490[u]PQpO[/u] In-complete 511[u]ppor[/u]Not Started 517[u]tBzv[/u]Not Started[/b] The underlined texts are links. When any Structureal reqmt status is Not Started/In-complete, links are to be clicked, further steps are performed coming back to the same page with status changed to Complete. This is done till all structures are Complete when all structures'r complete, user signs out. For this I'm using a while loop till the last row in the table. Inside that I've two if blocks, one for when Structure 'Complete' one for Structure not 'Complete'. Again in the 1st if block, one more if...else block, when the row is last row, user signs out, otherwise just goes to the next iteration (for that I used Next as said by Nathan) . - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6187messageID=17462#17462 ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general