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:
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:
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:
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
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
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
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]
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.
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
___
I got it: ReadTextField = ReadTextField.delete #
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6130messageID=17237#17237
___
Wtr-general mailing list
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.
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
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
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
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.
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
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.
:/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
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
/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
/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
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
/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
23 matches
Mail list logo