Agreed
On Fri, Nov 19, 2010 at 4:45 AM, Chuck van der Linden wrote:
> Let me add my voice to Dave's here. You need to take this problem to
> the devs, and explain your need to have some way to reliably identify
> elements on the page. It needs to be something that doesn't get
> changed if they
You could read it into a variable from a parameter file then for
example use,
Watir::Browser.default = browserType
On Nov 15, 8:59 pm, Gazi wrote:
> Hi,
>
> I am having some watir tests like below
>
> require 'rubygems'
> require 'watir-webdriver'
> require 'test/unit/assertions'
> #require
Hi all,
This is google_search.rb:
--
require "rubygems"
require "firewatir"
require "test/unit"
class Google
def initialize
Watir::Brows
Hi all,
I may be repeating this question regarding pop-ups, but all my
searches were in vain, hence apologies.
I am using watir-webdriver on a linux box and in one of my make
payment flows I am getting a security warning with 'Cancel' and
'Continue' options. How do I click Continue in this instan
Hi,
I've just updated the Watir install at our Indian site to 1.6.7 and
started seeing the messages about Watir::Waiter being deprecated.
I've been able to convert the following format lines from
Watir::Waiter.wait_until {$browser.link(:id,checkNode).exists?}
to
$browser.link(:id,checkNod
Let me add my voice to Dave's here. You need to take this problem to
the devs, and explain your need to have some way to reliably identify
elements on the page. It needs to be something that doesn't get
changed if they re-design the page. ID values work great if they are
unique within the page (
You can write Ruby scripts in any text editor you like. Scite is
preferred over regular Notepad because it has a syntax highlighting.
But that feature is available for almost any other text editor too
like Notepad++, Notepad2, Netbeans, Eclipse and so on. There are many
different editors and IDE-s
Hi,
I'm testing page created with MS sql reports. I have a dropdwon zoom
with vaules 10,50,100,150,200,500
[10,50,100,150,200,500].each do |zoom|
$ie.select_list(:id,
"ctl00_ContentMain_ReportViewer1_ctl01_ctl05_ctl00").set(zoom)
end
thi si control from web page:
fist is zoomed on 10 and
On Thu, Nov 18, 2010 at 5:01 PM, Dave McNulla wrote:
> No, it's genuine. Maybe I get too excited about stupid things, people
> think I'm mocking it. ;-)
I thought you were concerned about test data being public (and potentially
confidential). :)
Željko
--
Before posting, please read http://wa
No, it's genuine. Maybe I get too excited about stupid things, people
think I'm mocking it. ;-)
Dave
On Nov 18, 7:49 am, Željko Filipin
wrote:
> On Thu, Nov 18, 2010 at 4:47 PM, Dave McNulla wrote:
> > Able to use google.docs spreadsheets? That's cool, a world-wide
> > central repository for t
Brilliant. its working. Yeah the ! mark is working as well.
Thanks alot for the quick patch release.
Kind regards,
Usman Hussain
On Nov 18, 3:25 pm, Jari Bakken wrote:
> On Thu, Nov 18, 2010 at 3:10 PM, Usman Hussain
> wrote:
> > yeah it is a funny one, Its also the same if i am searching for
On Thu, Nov 18, 2010 at 4:47 PM, Dave McNulla wrote:
> Able to use google.docs spreadsheets? That's cool, a world-wide
> central repository for test data.I like it.
Is this sarcasm? :)
Željko
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
w
Able to use google.docs spreadsheets? That's cool, a world-wide
central repository for test data.I like it.
Dave
On Nov 18, 1:04 am, Željko Filipin
wrote:
> On Wed, Nov 17, 2010 at 11:10 PM, Dan wrote:
> > Hello! This may be a silly question, but does excel actually need to
> > be installed on
I would advise the team that you are working on about the
"testability" of your product. Which is more inconvenient, adding the
capability to automate, or running manual tests FOR THE REST OF YOUR
LIFE! If you can get the developers to write at least the occasional
test, they will want to help you
On Thu, Nov 18, 2010 at 3:10 PM, Usman Hussain wrote:
> yeah it is a funny one, Its also the same if i am searching for text
> which has ! within the text as well.
>
> same error message.
>
I've fixed the single quote issue and released 0.1.3. I tried with an
exlamantion point as well but couldn'
I took a look at Danijel's app (via Skype screen sharing), he executed this
from IRB:
$ie.select_list(:id,
"ctl00_ContentMain_ReportViewer1_ctl01_ctl03_ctl00").set("10%")
The page zoomed to 10%, but IRB was stuck, it never returned the prompt. My
guess is that Watir is waiting for IE to say it is
I am recording the next podcast with Dave McNulla[1] this Saturday, November
20th, 2pm UTC.
If you have a question or two for Dave, post it here.
Dave, do not answer to questions here, but on the podcast. :)
[1] http://twitter.com/#!/dmcnulla
Željko
--
watir.com - community manager
watirpodcast
yeah it is a funny one, Its also the same if i am searching for text
which has ! within the text as well.
same error message.
Kind regards,
usman hussain
On Nov 18, 1:58 pm, Jari Bakken wrote:
> On Thu, Nov 18, 2010 at 2:56 PM, Usman Hussain
> wrote:
> > Hi Guys,
>
> > really quick question,
On Thu, Nov 18, 2010 at 2:56 PM, Usman Hussain wrote:
> Hi Guys,
>
> really quick question,
> Im using watir-webdriver on a MAC.
>
> my code is:
> @browser.link(:text, "Mystic Meg's Wheel of Destiny").should exist
>
> But im getting an error saying: The expression is not a legal
> expression.
>
>
The final part of Watir podcast on Janova:
http://watirpodcast.com/39-jeff-lusenhop-on-janova-3-3/
Željko
--
watir.com - community manager
watirpodcast.com - host
testingpodcast.com - audio podcasts on software testing. all of them
--
Before posting, please read http://watir.com/support. In sho
Hi Guys,
really quick question,
Im using watir-webdriver on a MAC.
my code is:
@browser.link(:text, "Mystic Meg's Wheel of Destiny").should exist
But im getting an error saying: The expression is not a legal
expression.
I think it is because of the ' symbol. But im unsure of what to do to
get i
Hi Chuck,
Thanks for your eye opening mail, I will change my scripting way.
Once again Thanks for your valuable input about ruby scripting.
~Chethan
--- On Wed, 17/11/10, Chuck van der Linden wrote:
From: Chuck van der Linden
Subject: [wtr-general] Re: Unable to call ruby script multiple tim
i got some success using index. thanks guys. will update more :)
On Thu, Nov 18, 2010 at 4:24 PM, Željko Filipin <
zeljko.fili...@wa-research.ch> wrote:
> http://wiki.openqa.org/display/WTR/Index
>
> Zeljko
>
> On Thursday, November 18, 2010, Hrishikesh Bose
> wrote:
> > how can i use index?
> >
http://wiki.openqa.org/display/WTR/Index
Zeljko
On Thursday, November 18, 2010, Hrishikesh Bose
wrote:
> how can i use index?
>
> On Thu, Nov 18, 2010 at 3:35 PM, Hrishikesh Bose
> wrote:
>
> i tried - other attribute which i got is tab index which is 0 for each input
> field. Don't have name
how can i use index?
On Thu, Nov 18, 2010 at 3:35 PM, Hrishikesh Bose
wrote:
> i tried - other attribute which i got is tab index which is 0 for each
> input field. Don't have name field.
>
>
>
>
> On Thu, Nov 18, 2010 at 3:30 PM, Prajakta Jadhav <
> jadhav.praja...@gmail.com> wrote:
>
>> Try usi
i tried - other attribute which i got is tab index which is 0 for each input
field. Don't have name field.
On Thu, Nov 18, 2010 at 3:30 PM, Prajakta Jadhav
wrote:
> Try using some other element property like name or value instead of id. You
> could find their values using developer's tool bar.
2010/11/18 Hrishikesh Bose
> so the first time i select the text field i get
> Once the page is reloaded i get
You should figure out what is common between them. In this case I would use:
browser.text_field(:id => /c_/).set "name"
Or, as Prajakta said, use another attribute.
Željko
--
Befo
Try using some other element property like name or value instead of id. You
could find their values using developer's tool bar.
2010/11/18 Hrishikesh Bose
> may be i am new to the Watir.
>
> The problem i am facing is as following.
>
>
> . i need to automate a use case which is like a new windo
may be i am new to the Watir.
The problem i am facing is as following.
. i need to automate a use case which is like a new window. i provide name
and password and click save to create a new user.
Now the Name and Password are text fields. I can get the ids using developer
tool bar. but the next
On Thu, Nov 18, 2010 at 10:32 AM, Hrishikesh Bose
wrote:
> so got this questions on whether we can use WATIR to automate AJAX web
pages.
You should be able to do it. Most of us automate web applications with a lot
of javascript. Let us know if you have a problem with someting.
Željko
--
watir.co
hello guys - i just tried to find out on how i can automate an AJAX webpage
using WATIR. didnt found something good. so got this questions on whether we
can use WATIR to automate AJAX web pages.
need help.
thanks in advance
hrishikesh
--
Before posting, please read http://watir.com/support. In
On Thu, Nov 18, 2010 at 8:21 AM, Amit Kulkarni
wrote:
> On delete action popup is there which onclick it shows a pop up box along
with two buttons i.e. Ok and Cancel
Maybe something from here could help you:
http://wiki.openqa.org/display/WTR/Pop+Ups
http://wiki.openqa.org/display/WTR/JavaScript
On Wed, Nov 17, 2010 at 11:10 PM, Dan wrote:
> Hello! This may be a silly question, but does excel actually need to
> be installed on the machine to be able to read from an excel file with
> the Excel interface class? Chances are the machines that will be
> running my scripts won't have Excel in
I do not remember a scite editor being installed when I installed
Ruby 1.9.2 either, but did get it with 1.8.6 and 1.8.7. It was a
convenient "starter" IDE for me, but it's not necessary. I would
advise learning ruby/watir in IRB - it's so interactive and easy to
try over and over until you get it
34 matches
Mail list logo