Re: [Wtr-general] hi, how to get TOOLTIP
hi, I can't give you the page or the link its confidential so sorry for that .. we don't have alt or title for that image that's the problem can you understand my prob and help me out.. to get the tooltip bye, Maloy ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] hi, how to get TOOLTIP
Hello ZeljkoFilipin, In our application, there is an image, which displays a tooltip when the mouse cursor is placed over it. Normally this tooltip would be present in either the 'alt' or the 'title' property of the image. But this image does not have the tooltip in either of the two properties. The only place where the tooltip appears in on the application screen. In this situation, is there any way to capture it through Watir? If you still want the html of our application or the control, we would give it. Thanks for your time, Maloy ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] hi, how to get TOOLTIP
Can you post just html for that image (and maybe a few tags before and after it)? You probably need something like this: ie.image(:index, 1).fire_event(onMouseOver) -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] Unable to select the button from button-menu
Hi angrez, HOW THE CODE WILL PICK THE MARK AS READ AND CLICKS IT.. // I think the code usage is not correct. element = ie.element_by_xpath(//lihttp://contains(.,'Mark as Read')) **its ie.element_by_xpath(//li[contains(.'Mark as Read')])** // PICKED THE CODE FROM THIS FORUM TO CHECK HOW THE ELEMENT WORKS. NO IDEA AS HOW THE GIVEN CODE WORKS. // Print properties of the element just to make sure you selected correct element. Is this comment on single line? // thanks ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] Unable to select the button from button-menu
Hi angrez, HOW THE CODE WILL PICK THE MARK AS READ AND CLICKS IT.. // I think the code usage is not correct. element = ie.element_by_xpath(//lihttp://contains(.,'Mark as Read')) its ie.element_by_xpath(//li[contains(.'Mark as Read')]) // PICKED THE CODE FROM THIS FORUM TO CHECK HOW THE ELEMENT WORKS. NO IDEA AS HOW THE GIVEN CODE WORKS. // Print properties of the element just to make sure you selected correct element. Is this comment on single line? // thanks ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
[Wtr-general] Error while submitting value using form
Hi , I m using watir 1.4.1 and Ruby 1.8.6_25 . I m new to watir and i m trying to write some simple test cases for my html application I have two forms and i m trying to set values for those using $ie.form(:name,Form3).text_field(:name , num_double2).set(99) and $ie.form(:name,Form4).text_field(:name , num_double3).set(89) When i try to do this sometimes it works but most of the times i keep getting error saying 1) Error: test_cxopvar(TC_CxOpVar): WIN32OLERuntimeError: unknown property or method `getAttributeNode' HRESULT error code:0x80070005 Access is denied. c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1164/./watir.rb:2934:in `method_m issing' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1164/./watir.rb:2934:in `name' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1164/./watir.rb:2983:in `initiali ze' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1164/./watir.rb:2978:in `each' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1164/./watir.rb:2978:in `initiali ze' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1164/./watir.rb:284:in `new' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1164/./watir.rb:284:in `form' C:/watir/examples/gen2/CxOpVar_test.rb:70:in `test_cxopvar' or 1) Error: test_cxopvar(TC_CxOpVar): WIN32OLERuntimeError: unknown property or method `scrollIntoView' HRESULT error code:0x80070005 Access is denied. c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1164/./watir.rb:4021:in `method_m issing' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1164/./watir.rb:4021:in `set' C:/watir/examples/gen2/CxOpVar_test.rb:70:in `test_cxopvar' or 1) Error: test_cxopvar(TC_CxOpVar): WIN32OLERuntimeError: unknown property or method: `value' HRESULT error code:0x80070005 Access is denied. c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1164/./watir.rb:4059:in `metho issing' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1164/./watir.rb:4059:in `doKey ss' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1164/./watir.rb:4055:in `each' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1164/./watir.rb:4055:in `doKey ss' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1164/./watir.rb:4027:in `set' C:/watir/examples/gen2/CxOpVar_test.rb:70:in `test_cxopvar' Please guide me on how should i make my testcase stable and avoid this error . Thanks, Say ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] Error while submitting value using form
first of all you are not using watir 1.4.1, what you are using is 1.5.1.1164. I had a lots of error with this version. I will advise you to stick with watir 1.5.1.100 and ruby 1.8.4 Message was edited by: sathees ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] Unable to select the button from button-menu
Hi, I uses XPath to get the element. Actually if you see the HTML the Mark as Read is an LI element for which I think there is no class in watir. One way is to create you own class inheriting for Element class. Other way is to find the element and click it. Did you tried the code that I sent in my earlier reply? Did you got the same error again? Regards, Angrez On 3/29/07, rkkanneganti [EMAIL PROTECTED] wrote: Hi angrez, HOW THE CODE WILL PICK THE MARK AS READ AND CLICKS IT.. // I think the code usage is not correct. element = ie.element_by_xpath(//lihttp://contains(.,'Mark as Read')) its ie.element_by_xpath(//li[contains(.'Mark as Read')]) // PICKED THE CODE FROM THIS FORUM TO CHECK HOW THE ELEMENT WORKS. NO IDEA AS HOW THE GIVEN CODE WORKS. // Print properties of the element just to make sure you selected correct element. Is this comment on single line? // thanks ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] Unable to select the button from button-menu
hi angrez I made changes to the code as you said.. and i am getting this exception wrong number of arguments (1 for 2) - after the element part has started. thanks ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] Unable to select the button from button-menu
hi, can you send me the line which is giving this error? I didn't got even a single error on my machine using this script Regards, Angrez On 3/29/07, rkkanneganti [EMAIL PROTECTED] wrote: hi angrez I made changes to the code as you said.. and i am getting this exception wrong number of arguments (1 for 2) - after the element part has started. thanks ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
[Wtr-general] HI All
Hi All, I am just started using watir. Thanks, Rahul ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
[Wtr-general] run a ruby program from a ruby script
How can we run a a ruby program from another ruby program. I am working on one program where in i have to run another ruby program from it. I am stuck here. I tryed result = `r1.rb` system(r1.rb) but no output... is their any other way out??? ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] Unable to select the button from button-menu
hi angrez i am resending you the code with the comments in the last 10 lines. As i am new to watir i am not able to catch the line where the exception is comming. require 'watir' require 'test/unit' include Watir class TC_mail_yahoo_check Test::Unit::TestCase puts ## Opening the Mail.Yahoo.com site sleep 1 ie = IE.new ie.goto(http://mail.yahoo.com;) ie.maximize() puts ## Login and Password Entered sleep 1 ie.text_field(:name, login).set(loginname) ie.text_field(:name, passwd).set(password) ie.button(:value, Sign In).click() puts ## Checking the mail box ie.button(:id, checkmailbutton).click() # select first message. puts ## Selecting the First Mail ie.radio(:id, folderviewmsg0checkbox).set() # click on mark button so as options can be displayed puts ## Clicking the Mark Button ie.button(:value, Mark).click() puts ## Element started -- This message is being displayed # select element that has text Mark as Read #element = ie.element_by_xpath(//lihttp://contains(.,'Mark as Read')) ## old code ie.element_by_xpath(//li[contains(.'Mark as Read')]) ## New code provided by you # Print properties of the element just to make sure you selected correct element. ## commented or not commented same exception comming element.value ## commented or not commented same exception comming element.tagName## commented or not commented same exception comming element.innerHTML ## commented or not commented same exception comming # fire click event. element.click() ## commented or not commented same exception comming puts ## Element ended--- THis message is not displayed end Note: The message Element started is displayed in the window, but without showing Element ended it is closing or ending the session. I am not sure which part of the code has to be kept or which has to be removed. thanks ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] run a ruby program from a ruby script
require r1.rb -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
[Wtr-general] Saving the state of your test using yaml
This is something I've started using and I figured others might find it useful. The main form of testing I have been doing is a 'smoke test'. This is a complex test that takes about 20 minutes to setup data to get the expected results at the end. The issue i ran into with this is that the system would on occasion fail, or I would need to fix certain sections by hand and continue the test. I had to figure out a way of 'saving' the state of the test and continuing, thus Yaml. This is a very basic setup, i tried to lay it out in a simple way. On to the code! # Setup the basics require 'watir' include Watir # This allows us to use the Ruby Yaml library require 'yaml' # The global IE just makes things easy for the test $ie = IE.new() class Google # A 'go' function, in my these are the gate keepers of every page def go() $ie.goto('http://www.google.com') wait_until(5){ $ie.text_field(:name,'q').exists? } end # for this test, the methods are named steps to make things easy def step_1(data) @data = data end def step_2() $ie.text_field(:name,'q').set(@data) end end # Setup our Google object google = Google.new() google.go() google.step_1('search text') # Convert the Google object to YAML yaml_string = google.to_yaml # Create a new object using the YAML and continue # Note THIS is the magic part. You could save the string to disk or do any number of things with it. google_new = YAML::load(yaml_string) google_new.step_2 ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] watir execution from webserver
Paul, I just tried that out, and it looks like tests can be run simultaneously. I basically used his google test and a renamed copy of his google test. I did not show any errors, and IE opened twice without issue. Adam -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Rogers Sent: Wednesday, March 28, 2007 4:36 PM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] watir execution from webserver I wasnt really following the thread, but have you prevented people from running the tests simultaeously? - Original Message - From: Adam Reed [EMAIL PROTECTED] Date: Wednesday, March 28, 2007 3:06 pm Subject: Re: [Wtr-general] watir execution from webserver Thanks David, those changes worked for me as well! Thanks also to BillAgee - this is going to be a lot of fun to play with. It's nice to have a centralized location like this to run scripts from so that colleaguesaren't required to install ruby, install (many) gems, etc. - Adam -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brown, David Sent: Wednesday, March 28, 2007 3:39 PM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] watir execution from webserver I had the same issue where the script would execute but couldn't find any of the other 'required' files in the directory. To solve this problem, I had to add some code to the runner\app\controllers\runner_controller.rb specifying the test suitedirectory that the test should execute in. Now it is working Great!Here are the changes.: Def index ... suite_dir = T:/my test suite session[:suite_dir] = suite_dir #store it in the session so that it can be used by the runsuite action. ... End Def runsuite ... #added the argument: -Cdirectory ---cd to directory, before executing your script cmd = ruby -C#{session[:suite_dir]} [EMAIL PROTECTED] -f -v verbose #{session[:console_filename]} ... end -David Brown -- Message: 5 Date: Wed, 28 Mar 2007 14:28:56 CDT From: John Lolis [EMAIL PROTECTED] areed, I have noticed that paths in ruby are relative to file that is being executed ( i think ). This has caused a couple of head scratching moments on my part while i wonder they files will no longer load using relative paths. I'm not sure this is related to your problem, hope it helps. ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] How to get report message after running everytestcase
You can try creating a method that logs to a file aswell as to the console. It'll look something like this def log(message) @file message puts message end -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Charley Baker Sent: Wednesday, March 28, 2007 11:46 AM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] How to get report message after running everytestcase There might be a way to redirect both to console and file, search google for redirect dos output. I know how to do it in unix, but not sure how to do it in dos. You might also want to look at ci_reporter (available on rubyforge), log4r or some other mechanism to log your test runs. -Charley On 3/27/07, Jason He [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Thanks for your reply. But there will no message output in the console. Could it output to both console and file? Regards, Jason _ From: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] [mailto: mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Charley Baker Sent: 2007年 3月27 日 22:50 To: wtr-general@rubyforge.org mailto:wtr-general@rubyforge.org Subject: Re: [Wtr-general] How to get report message after running everytest case You can redirect the output of your bat file to a file: mybat.bat results.txt -Charley On 3/27/07, Jason He mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Dear all, I write some the filename of test cases in a windows bat file, execute the bat file, and then report messages for each test case will output in the console. Now, in order to make statistics for these messages, could they also output to the log file by script? The following is the report message after running one test case Finished in 15.063 seconds. 1) Failure: test_b(TC_rt_r_login) [C:/watir1145/runtime/rt_r_login.rb:34]: false is not true. 5 tests, 4 assertions, 1 failures, 0 errors Regards, Jason ___ Wtr-general mailing list Wtr-general@rubyforge.org mailto:Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general http://rubyforge.org/mailman/listinfo/wtr-general ___ Wtr-general mailing list Wtr-general@rubyforge.org mailto:Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general http://rubyforge.org/mailman/listinfo/wtr-general ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
[Wtr-general] How to check presence of link by using begin - until method
Hi, I need to check presence of a link after some process begin ... ... end until (link appears) This is quite simple, but got struck Thanks in advance, - Heres a new way to find what you're looking for - Yahoo! Answers ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
[Wtr-general] IDEs for Watir
I'd like to get people's opinion/thoughts on what is the best IDE for Watir. What do you use for writing you Watir tests? I've looked a t a few, but none of them stand out as a clear winner. It doesn't have to be open-source, if a commercial tool is a good and viable solution. Some history: I am currently using Eclipse, but am looking for another solution as the workspace component in Eclipse is proving not to work for our project. We use Cruise for our CI and using Eclipse requires me to write code for Eclipse's workspace on top of our MS Solution. Discussing this with my developers, we've collectively decided that it introduces a smell to our project. (Unless there is a way to abolish the notion of workspace?) Also, we've looked at Steel and it shows promise, but the current version is not fully baked. Cheers, Jason ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] Reading from excel files (basic)
Thanks very much, managed to sort it now. ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] How to check presence of link by using begin - until method
Hello Watir user, I get an error when I try to execute the command ... Perhaps you could include a little more code in your email post? Also, can you please clarify what it is you are trying to do in the web application (i.e. as a user)? What triggers the link to appear? On 29/03/07, watir-user watir-user [EMAIL PROTECTED] wrote: Hi, I need to check presence of a link after some process begin ... ... end until (link appears) This is quite simple, but got struck Thanks in advance, ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
[Wtr-general] How to check presence of link by using begin - until method
Hi, In a web page after entering a specific value in a text field, some links appears. So i wanted to keep entering a value in a text field unless the links appears on a page. So how do i check the appearance of a link after specific value entered in a text field. I have used following code do this, but unable to proceed. begin $ie.text_field(:name,text1).set(google) $ie.button(:name,button1).click end until (link appears)? Thanks, - Heres a new way to find what you're looking for - Yahoo! Answers ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] How to check presence of link by using begin -
wait_until(time_in_seconds){ ie.element(:type,value).exists? } that? ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] How to check presence of link by using begin - until method
There are many ways of making a link 'appear' Does it get added by ajax? Is it in a hidden div ? Does it get created by javascript? depending upon how it gets created you may have to do a different approach. Does the value you enter matter, or is it length of string? the following MAY be waht you need until ( $ie.link(:id , 'some_link_id').exists? $ie.text_field(:name,text1).set(google) $ie.button(:name,button1).click end THis will be an endless loop, so maybe x=1 until ( $ie.link(:id , 'some_link_id').exists? $ie.text_field(:name,text1).set(google) $ie.button(:name,button1).click break if x 100 x+=1 end is more like it. But if its in a hidden div, it probably already exists, but is just not visible Paul -- sorry if the text below is duplicated ( my mail sender doent always show stuff ) --- In a web page after entering a specific value in a text field, some links appears. So i wanted to keep entering a value in a text field unless the links appears on a page. So how do i check the appearance of a link after specific value entered in a text field. I have used following code do this, but unable to proceed. begin $ie.text_field(:name,text1).set(google) $ie.button(:name,button1).click end until (link appears)? Hi, In a web page after entering a specific value in a text field, some links appears. So i wanted to keep entering a value in a text field unless the links appears on a page. So how do i check the appearance of a link after specific value entered in a text field. I have used following code do this, but unable to proceed. begin $ie.text_field(:name,text1).set(google) $ie.button(:name,button1).click end until (link appears)? Thanks, - Heres a new way to find what you're looking for - Yahoo! Answers ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] Need help figuring out the element
I have figured it out! Maybe All I needed is a break from this hehe. ie.button(:src, /btn_submitorder.gif/).click this worked. I do not know what I was doing wrong yesterday and why the hell it wasn't working. Thanks everyone. ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] Need help figuring out the element
ie.button(:src, /btn_submitorder/).click There are a few ways to do it, this is one. hth, Charley On 3/29/07, Ruben [EMAIL PROTECTED] wrote: div id=wrap_free div class=signup_block div class=signup_verisign div class=signup_left/div div class=signup_righta href=http://www.guba.com/home_all;img src=/art/btn_keepshopping.gif border=0 //a input type=image src=/art/btn_submitorder.gif width=90 height=19 alt=Submit Order//div /div /div /form !--Begin - Google Analytics code -- script src=https://ssl.google-analytics.com/urchin.js; type=text/javascript /script script type=text/javascript _uacct = UA-886951-1; urchinTracker(); /script !--End - Google Analytics code -- script type=text/javascript src=/js/imgRoll.js/script /body /html I need to click on btn_submitorder.gif. Thanks, I'll know to do this in the future :) ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] IDEs for Watir
I use eclipse with the ruby plugin. Curious to find out the reasons why Eclipse isn't working for you, my quick guess would be the load path? If that's the case, then just use the workspace but don't create projects for each directory, just import the file directories directly so you can run it from Eclipse and command line without mucking around with the load path. I'm also using Cruise Control for the CI runs of our tests and haven't had to add anything specific. Otherwise, you could use scite. There's also arachno, freeride and komodo's activestate. I haven't really played around with the other ides, but there are some comparisons on the web. Scite i use occasionally to edit files since it's included in the Ruby one click installer. hth, Charley On 3/29/07, Jason [EMAIL PROTECTED] wrote: I'd like to get people's opinion/thoughts on what is the best IDE for Watir. What do you use for writing you Watir tests? I've looked a t a few, but none of them stand out as a clear winner. It doesn't have to be open-source, if a commercial tool is a good and viable solution. Some history: I am currently using Eclipse, but am looking for another solution as the workspace component in Eclipse is proving not to work for our project. We use Cruise for our CI and using Eclipse requires me to write code for Eclipse's workspace on top of our MS Solution. Discussing this with my developers, we've collectively decided that it introduces a smell to our project. (Unless there is a way to abolish the notion of workspace?) Also, we've looked at Steel and it shows promise, but the current version is not fully baked. Cheers, Jason ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] IDEs for Watir
Jason, I started off using Mondrian ( http://www.mondrian-ide.com/ ) and at first really liked the structure if gave me. I came from Visual Studio .Net so I was very used to the 'Heavy IDE' format. The problem is I started to have growing pains with with it. I noticed that it was slowing down my work, forcing artificial constraints on me and, on very rare occasion crashing (unacceptable for an IDE in my opinion). I switched to a very organized file structure, and scite. I run the program using a batch file so i get the standard console window. The batch file also includes a 'pause' command so that at the end of the program it doesn't close the console. I miss multi file find, search and replace - but i can just find a better editor for that. I personally enjoy the freedom of no overhead, just me and 1 million scite windows open. my 2c ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] IDEs for Watir
Steel actually looks rather interesting although their website could stand a better designer. I'd take a look at it if I was using VS for other work, instead the other code that I look at and tests that I write are in java, so Eclipse is a more natural fit. -c On 3/29/07, John Lolis [EMAIL PROTECTED] wrote: Jason, I started off using Mondrian ( http://www.mondrian-ide.com/ ) and at first really liked the structure if gave me. I came from Visual Studio .Net so I was very used to the 'Heavy IDE' format. The problem is I started to have growing pains with with it. I noticed that it was slowing down my work, forcing artificial constraints on me and, on very rare occasion crashing (unacceptable for an IDE in my opinion). I switched to a very organized file structure, and scite. I run the program using a batch file so i get the standard console window. The batch file also includes a 'pause' command so that at the end of the program it doesn't close the console. I miss multi file find, search and replace - but i can just find a better editor for that. I personally enjoy the freedom of no overhead, just me and 1 million scite windows open. my 2c ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] Unable to select the button from button-menu
Hi, ie.element_by_xpath(//li[contains(.'Mark as Read')])## New code provided by you I think you are missing a comma (,) between dot (.) and Mark as Read or is it a typo. Regards, Angrez ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] Error while submitting value using form
Hi Sathees, Thanks for the prompt response. But can you tell me please which watir zip should i download to get the version 1.5.1.100 Thanks, Sayali On 3/29/07, sathees [EMAIL PROTECTED] wrote: first of all you are not using watir 1.4.1, what you are using is 1.5.1.1164. I had a lots of error with this version. I will advise you to stick with watir 1.5.1.100 and ruby 1.8.4 Message was edited by: sathees ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
[Wtr-general] Double click .
Hi All, I want help for double click to entity which is added in telerik grid. Waiting for reply. Thanks in Advanced. -Rahul ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] Unable to select the button from button-menu
hi angrez when the comma is kept before Mark as Read i am getting the following error undefined method `include?' for nil:NilClass Thanks ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] Unable to select the button from button-menu
Hi, Please provide enough information while sending the error. Can you just try installing latest version of REXML (http:// www.germane-software.com/software/*rexml*/)? Regards, Angrez On 3/30/07, rkkanneganti [EMAIL PROTECTED] wrote: hi angrez when the comma is kept before Mark as Read i am getting the following error undefined method `include?' for nil:NilClass Thanks ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] Unable to select the button from button-menu
hi angrez puts ## Element started # select element that has text Mark as Read #element = ie.element_by_xpath(//lihttp://contains(.,'Mark as Read')) ie.element_by_xpath(//li[contains(.,'Mark as Read')]) - if comma(,) is included exception (undefined method `include?' for nil:NilClass) is comming -- if comma(,) is not included exception ( wrong number of arguments (1 for 2)) is comming # Print properties of the element just to make sure you selected correct element. element.value element.tagName element.innerHTML sorry for asking the dump question..downloaded the Rexml file with tgz extension.but how to install it.. :) my system is not able to recognize the file. thanks ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general