Re: [Wtr-general] Inserting date from a Date picker handled thru javascript

2007-01-24 Thread sarita
TABLE cellSpacing=0 cellPadding=0 width=71% border=0 TBODY TR TD width=38% style=height: 24pxinput name=ctl00$ContentPlaceHolder1$txtCreateDate type=text id=ctl00_ContentPlaceHolder1_txtCreateDate class=Input style=WIDTH:

[Wtr-general] error with running a testsuite

2007-01-24 Thread sarita
I got this error while running a test thru testsuite: Loaded suite C:/TESTSU~1.RB Started FE Finished in 15.124 seconds. 1) Failure: default_test(TC_newprojectso) [c:/ruby/lib/ruby/1.8/Test/Unit.rb:278 C:/TESTSU~1.RB:44]: No tests were specified. 2) Error:

Re: [Wtr-general] error with running a testsuite

2007-01-24 Thread sarita
I replaced ie with $ie throughout the code. The second error didn't come, but the first one still coming. This time in testsuite, I used two tests the following error came: C:\testsuite.rb Loaded suite C:/TESTSU~1.RB Started FF Finished in 34.139 seconds. 1) Failure:

Re: [Wtr-general] Inserting date from a Date picker handled thru javascript

2007-01-23 Thread sarita
An image link is there. when it's clicked, the Date picker appears where date, month, year are there. When u click on a date, that date is inserted in the text box immediately the Date picker disappears. - Posted via Jive

[Wtr-general] Inserting date from a Date picker handled thru javascript

2007-01-22 Thread sarita
There is a read-only text box where date is inserted from a Date picker thru java script. How to automate this? - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6231messageID=17524#17524

Re: [Wtr-general] Ruby equivalent of 'Continue' in C

2007-01-21 Thread sarita
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

Re: [Wtr-general] Ruby equivalent of 'Continue' in C

2007-01-21 Thread sarita
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]

[Wtr-general] Ruby equivalent of 'Continue' in C

2007-01-19 Thread sarita
I want to execute a test on a table where links are to be clicked based upon its status. Only when status not 'Complete', it's to be clicked further actions to be performed. Otherwise those steps to be skipped. So, thinking of Ruby equivalent of 'Continue' in C. Please help.

Re: [Wtr-general] Handling verification codes (shown as img), used to prevent automation

2007-01-17 Thread sarita
Plz mention the function for deleting that '#' character from the end of the string - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6130messageID=17233#17233 ___

Re: [Wtr-general] Handling verification codes (shown as img), used to prevent automation

2007-01-17 Thread sarita
I got it: ReadTextField = ReadTextField.delete # - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6130messageID=17237#17237 ___ Wtr-general mailing list

[Wtr-general] Handling verification codes (shown as img), used to prevent automation

2007-01-16 Thread sarita
In most web applications during user registration, verification codes shown as images, are asked to enter. How to handle this situation? I guess we can handle this situation by making watir wait till the verification code is entered manully by the user. But how to implement it, please suggest.

Re: [Wtr-general] Iterating through all options of a List Box which is again dynamic

2007-01-14 Thread sarita
If I want to select a random option from the given list, how i'll do it - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6098messageID=17126#17126 ___ Wtr-general

Re: [Wtr-general] Iterating through all options of a List Box which is again dynamic

2007-01-14 Thread sarita
ok, i got it: ie.select_list( :id, /List Name/).select(variable[rand(variable.length)]) - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6098messageID=17127#17127

Re: [Wtr-general] Any function for getting random values

2007-01-12 Thread sarita
It worked. Can u plz explain the code a little further. - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6096messageID=17096#17096 ___ Wtr-general mailing list

[Wtr-general] Iterating through all options of a List Box which is again dynamic

2007-01-12 Thread sarita
I want to run a test, which'll create one sample record for each option in the List Box. Again the options in List Box is dynamic i.e, can be changed through another module. How to iterate the test till the last option in the listbox.

[Wtr-general] Any function for getting random values

2007-01-11 Thread sarita
Is there any function available to get random values (char or int) so that values can be assigned from the system itself. - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6096messageID=17082#17082

Re: [Wtr-general] Any function for getting random values

2007-01-11 Thread sarita
What about char values. If i want to enter a random string, how i will generate it. As you know in most applications duplicate values'r not allowed. So data has to be different each time we run the test. But changing data, each time the test is run, is burdensome.

Re: [Wtr-general] a common error

2007-01-10 Thread sarita
:/ruby/lib/ruby/1.8/drb/drb.rb:1103:in `with_friend' from c:/ruby/lib/ruby/1.8/drb/drb.rb:1084:in `method_missing' from ./toolkit/testhook.rb:14:in `ensure_no_user_data' from C:/DOCUME~1/sarita/Desktop/lab5_1.rb:13 How to solve this again, plz suggest. Regards, Sarita

Re: [Wtr-general] a common error

2007-01-10 Thread sarita
I hadn't started the timeclock server. So, port 9002 wasn't listening. - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6063messageID=17039#17039 ___ Wtr-general

[Wtr-general] a common error

2007-01-09 Thread sarita
/custom_require.rb:27:in `gem_original_re quire': no such file to load -- toolkit/testhook (LoadError) from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `re quire' from C:/DOCUME~1/sarita/Desktop/lab5_1.rb:7

[Wtr-general] probelm with Watir

2007-01-08 Thread sarita
/setup.rb:4 from C:/PROGRA~1/Watir/UNITTE~1/ALL_TE~1.RB:4:in `require' from C:/PROGRA~1/Watir/UNITTE~1/ALL_TE~1.RB:4 plz provide the solution. Sarita - Posted via Jive Forums http://forums.openqa.org/thread.jspa

Re: [Wtr-general] probelm with Watir

2007-01-08 Thread sarita
Thanks, it worked. - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6043messageID=16934#16934 ___ Wtr-general mailing list Wtr-general@rubyforge.org

[Wtr-general] probelm with Watir1.5

2007-01-08 Thread sarita
/examples/GOOGLE~1.RB:15 plz provide the solution. Sarita - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6045messageID=16936#16936 ___ Wtr-general mailing list Wtr