Can you try sending down key via autoit then capturing screen.
I am not whether there is an auto scroll feature that
> exists in Watir...Can someone please let me know??
>
>
>
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org
As I know it does not accept regular expressions . It should be a good
enhancement to do so. I will look at it in the weekend.
On 2/8/06, Terry Peppers <[EMAIL PROTECTED]> wrote:
> I asked a real foolish question a couple of weeks ago with regard to how you
> can get Watir to enter in username and
1.You may try to add this site to your trusted sites
2.You may try to add this site to your .hosts file
On 1/25/06, Chris Schmechel <[EMAIL PROTECTED]> wrote:
>
> Thanks for the reply, it got me thinking. I found the problem:
>
> ie.link(:url, "download.html").click
>
> needs to become:
>
> ie.
do you have an API for third-party plugin toolbar? If it has one, it
may be possible.
On 1/26/06, Chris Schmechel <[EMAIL PROTECTED]> wrote:
>
> Is it possible to automate a third-party plugin toolbar in the IE browser?
> I want to
> directly access the toolbar menus and the various lists to valid
Problem is IE is also works as File Explorer. Attach code does not
work with file explorer behaviour. If your IE with invalid web address
is a file explorer window you can not do that. As I understand from
error, it may not be possible to do that
On 1/24/06, Richard Lawrence <[EMAIL PROTECTED]> wr
since watir uses ruby for scripting, you can do that. Look for this page.
http://www.rubycentral.com/book/tut_io.html
but a simple example
aFile = File.new("testfile.txt")
aFile.each_line {|line|
puts "Got #{line.dump}"
vars = line.split(",")
city = vars[0]
state = vars[1]
postal_code = vars
What do you mean by
"catching the navigation exception or other system exception."
On 12/28/05, Asmita Srivastava <[EMAIL PROTECTED]> wrote:
> Hi,
>
> We are trying to use Watir for testing our application and there are two
> majar issues we are facing at present.
> First one is in catching the na
I have sent two articles about watir to inet-tr conference. Which is
one of the most prestigious Internet Conferences of Turkey. Both were
accepted. First one is fairly simple only an introduction to Watir.
Second one shows how you can use watir for Sql Injection attacks.
I hope that these article
I do not understand what you need fully. But could you learn which
name your developer has given to this asp.net control. Asp.Net and
infragistic controls creates their names according to this name. Since
html enforces that every ID must be unique in a html page. In a grid.
When you give id to data
I am trying to learn more about ruby on rails and find this article in
the web. This is pretty much ruby specific. Symbols are used in watir
library very heavily. Look for this post and its comments. It may help
you to understand ruby symbols better.
http://glu.ttono.us/articles/2005/08/19/underst
Could you give us some example html infragristic creates. As I
remember, Infragristic controls creates a lot of html. Even simple
textbox controls have something like.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/m
Did you try samples which comes with one click installer, in mymachine they are
in the
folder.C:\ruby\samples\log4r-1.0.5\examplesC:\ruby\samples\log4r-1.0.5\examples\logs
As I know log4r is already installed with one click installer, you donot need
to download it from sourceforge. Try these ex
put textsearch.html to
1-25/25
puts
pagecontainstext_test.rb
def test_match_regexp_found2
$~ = $ie.contains_text(/\/25/)
assert_equal('/25', $&)
end
def test_match_regexp_found3
$~ = $ie.contains_text(/(\/25)/)
assert_equal('/25', $1)
end
thes
parantheses gives you what is matched. for example you have something like this.
(\d\d)-(\d) if this expression matches to 25-1
$1 gives you 25, $2 gives you 1. Since you have not parantheses in
your regular expression, ruby gives you nil. You find that string but
do not parse it correctly.
in your
I am writing an article about watir to Internet in Turkey Conference, inet-tr
http://cyberchair.inet-tr.org.tr/
I want to list features of watir, in this article. Below is the list
of features. If you see a feature i forget to add or feature I added
is wrong please inform me. I would be grateful.
try regular expressions?
\d-\d\\\d
\d matches digits.
assert($ie.contains_text(/\d-\d\\\d/))
this should match 1-1\1 to 9-9\9 but if you reports will have more
than one digit, you should use.
\d\d to match two digits.
Hope it will be usefull.
On 9/12/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
I think this question answered before. You can search archives. But I
added this to wiki FAQ. I also give wiki text here.
Q. What I'd like to do, is to have a configuration file (eg.
config.txt), which would have a number of key/value pairs, such as
"UserName=user", which would be read by a test s
I would like to look at it as my day time job is .Net developer. But I
took a 3 months contract with microsoft, as a consultant in Turkey.
My current company rents (is this correct use) me to microsoft.
Therefore I do not know, if I will have a time for it.
___
Also your developer override naming of these identifiers. But i do not
think he will want to do that.
these should be
Also your can developer override naming of these identifiers. But i do not
think he will want to do that.
protected void ctlDataGrid_RowDataBound(object sender,
GridViewR
What object do your developer use? If you use stand alone object inasp.net, you
can give an ID to it. But if you use an object inside ancontainer like
DataGrid,DataList, Repeater or GridView( Asp.Net 2.0).Asp.Net automatically
gives and ID to them since an ID in a html pagemust be unique. For e
I think this was discussed before, it is not about Watir but internet
explorer. Some people saw 30+ while others saw 40+. I think it is
about how much RAM and CPU internet explorer , therefore your tests
need. If that is true then, those who test image heavy web sites
wouldn't be able to launch a l
currentFolder = 'D:\\Projects\\Trial\\WatirTests'
Dir.chdir(currentFolder)
paths = Dir.entries(currentFolder)
paths.each{|f|
# I do not want to execute my subversion folder files and my
common functions
if (f =~ /.rb/ && f != 'CommonFunctions.rb')
# for debugging purp
c = ''
c =~ %r{name=(\w+\d+)}
puts $1
c =~ %r{name=([A-Za-z]+)([0-9]+)}
puts $1
puts $2
I hope this is what you need.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
23 matches
Mail list logo