[wtr-general] Error while running Watir

2009-03-04 Thread amit
Hello, I had successfully install watir 1.6.2. Now when i try to run an application i get an error which says This application has failed to start because msvcr80-ruby18.dll was not found.Re-installing the application may fix the problem But when i re-installed it i get the same

[wtr-general] Re: Error while running Watir

2009-03-04 Thread amit
Hello, The problem which had occurred has been resolved. Thanks to all those posts regarding the same. What i had done is.. 1:Open the command prompt. 2:gem uninstall win32-api 3:gem install win32-api 4:Various option appeared which are Select which gem to install for your platform

[wtr-general] Re: Error while running Watir

2009-03-04 Thread ray
I have tried like you said, seems not work.:( My OS is win2003_X64 server. Any one have occurred this? On 3月4日, 下午5时10分, amit bemyfriend.a...@gmail.com wrote: Hello, The problem which had occurred has been resolved. Thanks to all those posts regarding the same. What i had done is..

[wtr-general] Re: Can we check Modal dialog's properties by using Watir

2009-03-04 Thread Prince3105
Hi any idea?? On Mar 3, 10:58 am, Prince3105 prince3...@gmail.com wrote: Hi Experts, Just i want to check the modalDialog's properties like enabled, readonly... I have searched enough but cant get a solution. If is it possible of validating the properties of a ModalDialog, please post

[wtr-general] clicking on a link, with certain parameters changing every time

2009-03-04 Thread Rasika
Hi All, The web page I am accessing has all links as 'href', no name, no id. Most of the links I can access by text But there is a specific link, where text as well as certain parameters in href also change right now I can access it with index, but that is also subject to change. below is

[wtr-general] does watir supports silverlight?

2009-03-04 Thread POS
Hi I am trying to automate silverlight applications. currently am working with Testpartner tool. Testpartner doesnt supports SilverLight. Does Watir supports Silverlight? So can somebody help me with necessary information regarding this? Thanks in advance

[wtr-general] Re: popup handling

2009-03-04 Thread bwaybandit
what browser are you using? On Mar 3, 6:45 am, Vikas Tulashyam vtulash...@gmail.com wrote: Hi friends, I am getting an error while handling the popup. I have attached the code and following is the error message�� :/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/contrib/

[wtr-general] Re: Does Watir work with ruby 1.9.1

2009-03-04 Thread German
Hi, I was trying the same and got errors too. I add more details below. There problems are caused by required libs that were yet not migrated to Ruby 1.9. Here is what i got after i installed a fresh Ruby (1.9.1), then RubyGems (1.3.1), then Watir (1.6.2):

[wtr-general] Re: clicking on a link, with certain parameters changing every time

2009-03-04 Thread bwaybandit
you need to use ruby string functions to get to this. in this case for example you could (assuming your url is in a variable called foo), use foo.slice(foo.length-3,3). this would return 4,5. you can split this off a comma delimiter and get back [4] and [5]. - test.split',' this will not work

[wtr-general] Re: popup handling

2009-03-04 Thread bwaybandit
k never mind the browser. require 'watir/contrib/enabled_popup' that statement needs to move into your class where you are doing your popup stuff. those global requires kill ya. On Mar 3, 6:45 am, Vikas Tulashyam vtulash...@gmail.com wrote: Hi friends, I am getting an error while handling

[wtr-general] Comparing Tag Text when a BR Exists

2009-03-04 Thread Moochie
html P #text - 123 fake street BR #text - Crookston, MN 56716 From Excell text = 123 fake street Crookston, MN 56716 $ie.p(:text=text,:index=index).exists? puts Pass else puts Failed - Makes it here. end So I had the function insert the text into excel using: to see

[wtr-general] Re: enabled_popup internal error

2009-03-04 Thread Jim Matthews
From your first post, I am not sure how you are trying to use ie.enabled_popup. I assume you are trying to something like what is described on the wiki: http://wiki.openqa.org/display/WTR/JavaScript+Pop+Ups I do not know which example you are following. If you take this one for example,

[wtr-general] Re: Comparing Tag Text when a BR Exists

2009-03-04 Thread Darin Duphorn
I've also tried to ignore the BR by using Regexp and wildcards #Excel Value 123 fake street* Crookston, MN 56716 #I'm trying to replace * in excel with a wild card to ingnore the BR tag regxmyvar = Regexp.new text.gsub(*,/\.*/) - Does this look correct? puts regxmyvar ?-mix:123 fake

[wtr-general] Re: Comparing Tag Text when a BR Exists

2009-03-04 Thread Darin Duphorn
I figured it out. regxmyvar = Regexp.new text.gsub(*,.*) -Original Message- From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On Behalf Of Darin Duphorn Sent: Wednesday, March 04, 2009 9:38 AM To: watir-general@googlegroups.com Subject: [wtr-general] Re:

[wtr-general] Re: Does Watir work with ruby 1.9.1

2009-03-04 Thread Thomas Preymesser
2009/2/20 Karthikeyan K mailkar...@gmail.com: Since Ruby 1.9.1 is out, I tried installing and it. Now I have problem with Watir is it is throwing error on loading libraries (syntax error). So my question is, is watir comapatible with Ruby 1.9.1? in general you can look for 1.9 compatibility

[wtr-general] Sleep function

2009-03-04 Thread maximore
Hi I am curious how the Sleep function works. let assume on a 500Mhz processor computer .. how is the delay generated . Let say if I want a delay of 5min or 5sec --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[wtr-general] Re: Watir users: What is your role at work?

2009-03-04 Thread Lisa Crispin
Hi George, I'm a tester, I have learned enough Ruby to maintain and write new Watir scripts, and I know enough Java to sometimes be able to look at a traceback and figure out what the problem might be! It's a great question, I'm curious to know now too. Most Watir people I know have solid

[wtr-general] Re: enabled_popup internal error

2009-03-04 Thread andrew . dahl
I was basing my code on example 4. Use click_no_wait on a button I know will cause a popup, and then call enabled_popup. The call from enabled_popup never returns. I can post the entire exception trace if that helps. On Mar 4, 8:26 am, Jim Matthews jim_m...@swbell.net wrote: From your first

[wtr-general] Re: Watir users: What is your role at work?

2009-03-04 Thread JArkelen
Hi, I'm a test automater en performance tester and use Watir for our functional regression tests. On Mar 4, 6:14 pm, Lisa Crispin lisa.cris...@gmail.com wrote: Hi George, I'm a tester, I have learned enough Ruby to maintain and write new Watir scripts, and I know enough Java to sometimes be

[wtr-general] Defa

2009-03-04 Thread venky
Hi I am using class Index_builderTest::Unit::TestCase ... end when the execution is finished i am getting a failure like this 1) Failure: default_test(class_name) [test_case_name.rb:45]: No tests were specified. i tried my best to find this but i could't figure out. can

[wtr-general] Re: Defa

2009-03-04 Thread Andy Sipe
The default Test::Unit behavior is to fail a test when there are no tests in a class. It does this by injecting a test case called 'default_test'. What you are seeing is that default behavior. -andy On Wed, Mar 4, 2009 at 3:33 PM, venky venkatesh...@gmail.com wrote: Hi I am using class

[wtr-general] Re: Watir users: What is your role at work?

2009-03-04 Thread Zhimin
I am a developer. We use rWebUnit (extension of Watir) and iTest2 IDE for our acceptance testing. We classified test scripts into two parts: * high level test cases: written (and reviewed) by Business Analysts Testers (who do not have programming skills) * web page classes and support

[wtr-general] Re: Watir users: What is your role at work?

2009-03-04 Thread Charley Baker
I'm a test developer, with a background in testing as well as development. Test scripts and automation testing should be run as development projects - scm, code reviews, ideally paired programming, branch cuts, working with the production code developers, running, creating and sharing tests.

[wtr-general] Re: Watir users: What is your role at work?

2009-03-04 Thread Zhimin
Lisa, Thanks for your comments. You mentioned Java developers, I am a one (likes programming in Ruby better though). From personal experiences and observations, I found programmers tend to not to write as easy-to-read test scripts as testers because of programming habits. For example, Java

[wtr-general] Re: clicking on a link, with certain parameters changing every time

2009-03-04 Thread Rasika
Thanks for rresponses I used ie.link(index,2).text to fetch the values value.split to use them in next step. But another issue, Index of link always changes, and there is no other attribute to identify this link. How can I make sure I am clicking on correct link every time? On Mar 5, 2:53 am,

[wtr-general] Unable to Load mysql.so file

2009-03-04 Thread piyush_pahuja
I want to connect my Ruby code with mysql. I am working with Windows OS. I have installed dbi and mysql gem. But require 'mysql' is not working fine. It is giving error :- Invalid access to memory location. - c:/ruby/lib/ruby/gems/1.8/gems/ mysql-2.7.3-x86-mswin32/ext/mysql.so (LoadError) from