Hi Chris,
I tried your script. I seems like you are accessing wrong element.
#DOESN'T FIND THIS BUTTON
ff.button(:id,'st-login-to-edit-button-link')
This is actually a link .
So the following should be used to access this element
ff.link(:id, 'st-login-to-edit-button-link')
Using this I was
Hello,
I have a test case to run with Internet Option language setting. Can I use
autoit to do the Internet Option language setting first and then run web
application test in Watir?
Here is the test cases I want to do:
1. Open IE window
2. Click on Tools | Internet Options
3. Cl
The first time it's called, the @marketocracy_divs variable is
uninitialized (set to nil). However, when the bug arises, the
@marketocracy_divs variable still retains the values it had from a
previous call. I suspected I got the "Access is denied" error message
because I was t
Hi...
Seems like this script should work, but I'm getting
FireWatir::Exception::UnknownObjectException: Unable to locate object,
using id and
for both the buttons. I put the sleeps in in case it was a
page-rendering issue, but I don't think that it is.
(BTW, feel free to add yourself, log in
When running the attached script, while executing line 238, I would
get the following error:
1) Error:
test_300_buywizard(MT_mtaco):
WIN32OLERuntimeError: failed to get IEnum Interface
HRESULT error code:0x80070005
Access is denied.
marketocracy_login2.rb:61:in `each'
marketoc
i'm not sure why you'd worry about garbage collection. if you want to,
there's a ruby gc library where you can explicity clean it up.
-c
On 5/3/07, Venkata <[EMAIL PROTECTED]> wrote:
Thanks and it worked. i did not notice that i put caps.
thansk for answering all these issues. How to clean th
In addition to the other suggestions, SpySmith is a useful tool for
getting this sort of information.
http://qualityforge.com/spysmith/
> On 5/3/07, Ken <[EMAIL PROTECTED]> wrote:
> > I just got started with this and am trying to write a simple script
> > to get
> my feet wet. I was following
In fact, do a string search in watir.rb for "show_"-- there are lots
of good methods for mucking around in the DOM.
-C
On 5/3/07, Paul Rogers <[EMAIL PROTECTED]> wrote:
>
>
> oops, you can also do this too
>
> give focus to the element you are interested in ( for a text field, just
> click in it
Thanks and it worked. i did not notice that i put caps.
thansk for answering all these issues. How to clean the Garbage collection
through our script.
Thanks you very much.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/m
oops, you can also do this too
give focus to the element you are interested in ( for a text field, just click
in it , for a link you have to tab to it )
then do
ie.show_active
Paul
- Original Message -
From: Paul Rogers
To: wtr-general@rubyforge.org
Sent: Thursday, May 03, 200
you can also use the show_all_objects method, like this
in irb
require 'watir'
ie=Watir::IE.attach(:title , 'the title of your browser window')
ie.show_all_objects
and then you can use flash and to_s
ie.text_field(:index,1).flash
ie.text_field(:index,1).to_s
- Original Message -
Fro
The Developer Toolbar is great
http://www.microsoft.com/downloads/details.aspx?familyid=E59C3964-672D-4511-BB3E-2D5E1DB91038&displaylang=en
Also, Watir has nice "show_all_*" methods we like to use from IRB.
Using the "flash" method from IRB is also recommended.
And eventually, you even get pretty
I'm not familiar with any ODBC library. You should use DBI if you want to go
this route which in turn has an ODBC driver.
http://www.kitebird.com/articles/ruby-dbi.html
-Charley
On 5/3/07, Venkata <[EMAIL PROTECTED]> wrote:
helo all,
I am trying to connect to SQL server through ODBC.
Ste
I'm starting to sound like a broken record and was just thinking about
updating the user guide for this. Use the ie developer toolbar to find
controls and identify them, while being familiar with the html source and
some basic knowledge around the dom is important, this will also help:
http://www
I just got started with this and am trying to write a simple script to get my
feet wet. I was following the googlesearch.rb case that is provided. My
question is how do you find the name of the object that you want to perform an
action with? For example:
ie.text_field(:name, "q").set("pickax
I think it should be
require 'odbc'
not
require 'ODBC'
PS also should be
include Watir
I don't know what the "Driver" is.
On 5/3/07, Venkata <[EMAIL PROTECTED]> wrote:
> helo all,
>
>I am trying to connect to SQL server through ODBC.
>
> Steps
> 1) I alreday have ODBC available.
> 2) Cre
helo all,
I am trying to connect to SQL server through ODBC.
Steps
1) I alreday have ODBC available.
2) Created a DSN and tested with Test connection there.
3) verified C:\IRBmain> Require 'ODBC' > true.
4) I created a scripts according to the examples.
require 'watir'
require 'ODBC'
incl
This is straight ruby and dbi, take a look at this link:
http://www.kitebird.com/articles/ruby-dbi.html
-c
On 5/3/07, Venkata <[EMAIL PROTECTED]> wrote:
Charley,
Do you have an example Test script executing SQL from water - ruby.
please can you attach that.
I need as soon as possible.
Th
Charley,
Do you have an example Test script executing SQL from water - ruby. please
can you attach that.
I need as soon as possible.
Thanks,
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
On 5/3/07, Angrez Singh <[EMAIL PROTECTED]> wrote:
> Hi Chris,
>
> Did you tried the XPI at
> http://alephzarro.com/blog/2007/03/12/jssh-for-firefox-on-linux-because-firewatir-loves-it
> Its an XPI for linux but seems to work on Mac OS also (according the link i
> sent you in last mail)
Yay! That
Hi Chris,
Did you tried the XPI at
http://alephzarro.com/blog/2007/03/12/jssh-for-firefox-on-linux-because-firewatir-loves-it
Its an XPI for linux but seems to work on Mac OS also (according the link i
sent you in last mail)
Regards,
Angrez
On 5/3/07, Chris McMahon <[EMAIL PROTECTED]> wrote:
On 5/3/07, Angrez Singh <[EMAIL PROTECTED]> wrote:
> Hi Chris,
>
> You might want to have a look at this for installing FireWatir or MAC OS X.
> http://crasch.livejournal.com/550521.html
>
> According to the troubleshooting section of this article, the error you are
> getting is because of incorrec
Hi,
Please edit responses to refer to the original header and not the digest
header. I missed the fact that the src attribute is pointing to textarea,
it's not a text control. Try using IE developer toolbar to find the control
and some sort of identifiable attribute - name, id, index. Then use t
Hi,
FireWatir is not fully compatible with the latest watir versions.
down_load_time method is not defined for Firewatir. You can refer to the
Rdoc for the documentation.
Regards,
Angrez
On 5/3/07, swarna latha <[EMAIL PROTECTED]> wrote:
Hi,
I have successfully installed the Firewatir 1.0.2 g
Hi,
I have successfully installed the Firewatir 1.0.2 gem and Jssh XPI following
the Installation Guide for FireWatir. Now, I have some scripts that run fine
with IE - Watir. After doing elementary changes like Initializing the browser -
firefox ($ff = FireWatir::Firefox:new), the same script f
Hi Charley,
Thanks for the info but it still doesn't work, I now get the following error:
c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:3388:in `method_missing': focus
(WIN32OLERuntimeError)OLE error code:800A083E in htmlfile Can't move
focus to the control because it is invisible, not ena
Thank you very much!
Downloading the latest development build solved this issue and it now works
fine.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Thanks Zeljko,
I'll give it a try
On 5/3/07, Ċ½eljko Filipin <[EMAIL PROTECTED]> wrote:
Hi Tunde,
Text you enter at text field is not included in ie.contains_text. To see
what is entered in text field you can use this.
ie.text_field(:name,/tb_FirstName/).value
Zeljko
--
ZeljkoFilipin.com
28 matches
Mail list logo