Re: [Wtr-general] WindowHelper

2006-02-10 Thread Atilla Ozgur
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

Re: [Wtr-general] Question on clicking on link

2006-01-29 Thread Atilla Ozgur
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.link(:url,

Re: [Wtr-general] Automate a third-party plugin toolbar in IE?

2006-01-26 Thread Atilla Ozgur
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 validate

Re: [Wtr-general] close all IE windows

2006-01-24 Thread Atilla Ozgur
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]

Re: [Wtr-general] Read In from external file

2006-01-10 Thread Atilla Ozgur
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[2]

Re: [Wtr-general] (no subject)

2005-12-28 Thread Atilla Ozgur
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 navigation

[Wtr-general] Conference Inet-tr

2005-10-22 Thread Atilla Ozgur
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

Re: [Wtr-general] Selecting a row in an Infragistics Ultragrid

2005-10-10 Thread Atilla Ozgur
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

[Wtr-general] Understanding ruby symbols, difference between :id and id

2005-10-09 Thread Atilla Ozgur
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.

Re: [Wtr-general] Selecting a row in an Infragistics Ultragrid

2005-10-08 Thread Atilla Ozgur
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. div div input/ /div /div ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] How to use the log4r.rb

2005-10-02 Thread Atilla Ozgur
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

Re: [Wtr-general] check what's the content of this certain text

2005-09-14 Thread Atilla Ozgur
put textsearch.html to span 1-25/25 /span 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)

[Wtr-general] watir features

2005-09-12 Thread Atilla Ozgur
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.

Re: [Wtr-general] Key / value pairs.

2005-08-29 Thread Atilla Ozgur
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

Re: [Wtr-general] id

2005-07-21 Thread Atilla Ozgur
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,

Re: [Wtr-general] max number of concurrent threads/ie browser spawned

2005-07-20 Thread Atilla Ozgur
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

Re: [Wtr-general] Extract/Parse String?

2005-07-06 Thread Atilla Ozgur
c = 'FRAMESET border=0 frameSpacing=0 rows=26,* frameBorder=0 onload=onLoad(); cols=* onunload=onUnload()FRAME border=0 name=sidebar_header marginWidth=0 marginHeight=0