[Wtr-general] How to Read the values from the Table

2007-04-09 Thread vamsi
Could anyone please explain how to get the values from the Table. and please mention the name spaces and classes required for table too. Thanks in Advance Vamsi ___ Wtr-general mailing list Wtr-general@rubyforge.org

[Wtr-general] How to Overwrite a field data

2007-04-09 Thread rkkanneganti
I have a field in the form which is the first field in the form. It has some default data present on it when the form opens. But when i call that form through ruby/watir it has accept the value which i provide through the script ie the value which i provide should overwrite the data on the

[Wtr-general] How to run all the steps defined in a method even if any of step fails?

2007-04-09 Thread watir-user watir-user
Hi, Following methods i want to call in another method def assertButton assert($ie.button(:caption, Click Me).enabled?) end def assertLink assert($ie.link(:text, Click Me).exists? end def assertTextfield assert($ie.text_field(:name, field1).exists?) end def assertRbutton

Re: [Wtr-general] How to Read the values from the Table

2007-04-09 Thread Charley Baker
Hi Vamsi, It would help if you included some html code for what you're looking to find. The basic syntax is this: value = ie.table(:name, 'mytable')[1][3].text That is, get the text that stored in the first row, 3rd column of a table with a name attribute of mytable and assign it to a

[Wtr-general] How To Click On Image Inside A Table Cell....

2007-04-09 Thread san
Hi Everybody, Heres The HTML... body table .. /table table trtd table tr td ... /td

Re: [Wtr-general] How to Overwrite a field data

2007-04-09 Thread rkkanneganti
Thanks charley it is working fine. ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] How to get the return code during script running?

2007-04-09 Thread Jason He
Dear all, I write every single script for each test case and start running them by a batch file, I expect to capture the screen if those cases who get failure/error. The problem I meet now is, how to find out immediately when a failure/error is happen during testing. Does watir/ruby provide