[wtr-general] Re: [Watir] Watir as s master diploma key tool

2011-10-26 Thread Dmitri Karusar
> Watir unit tests or watirspec could be a good choice. Hi, already using watir with 'test/unit' on daily work process. I was asking for some web page, that will be comfortable to automate, meaning elements can be inspected(id, label,text) >University's own website? It's only informative, nothing

[wtr-general] [Watir] Watir as s master diploma key tool

2011-10-26 Thread Dmitri Karusar
Hi, I wan't to make master diploma in university about watir,manual testing, automated testing. Can you help me to find any web page, which will be comfortable to automate using watir? As I want to tets some web page manualy and then to automate it. BR, Dmitri -- Before posting, please read h

[wtr-general] Handle assertion

2011-08-24 Thread Dmitri Karusar
Hi. Can't make it running, if assertion failed then to capture screenshot. I got a solution how to capture screenshot: def screen_capture ... ... end Then I check in script: assert($ie.frame(:name,"mainFrame").contains_text("Object saved"), "+++ +++FAILED! Changes were not saved") And if this a

[wtr-general] Re: How to change select_list box value ?

2011-08-11 Thread Dmitri Karusar
No luck with: $ie.frame(:name,"mainFrame").select_list(:name,"defaultLicensingPeriod").set("2 months") The thing is All select_menus on my page have same span class: -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.c

[wtr-general] How to change select_list box value ?

2011-08-11 Thread Dmitri Karusar
Hi, I am new here. Have a problem that can't select another option value Source code: 1 month 2 months 3 months Tried: $ie.frame(:name,"mainFrame").select_list(:name, 'defaultLicensingPeriod').option(:text, '2 months').value #=> 'M2' $ie.frame(:name,"mainFrame").select_l