The dot character in a regex (.) is a wildcard so you need to escape
it. Try this:
browser.span(:text, /butterfly\.m4v/).click
Regards,
John
On Nov 18, 3:35 pm, QAguy qablogm...@gmail.com wrote:
I cannot add an id as I don't have control over code decisions
unfortunately. So I am forced to
Angrez et al
It is unlikely that we would want to get all cookies, but get cookies
for a particular uri.
browser.get_cookies('www.google.com')
How about
remove_cookies(:domain = 'domain')
remove_cookies(:all)
add_cookie is good.
Aidy
2009/11/19 Angrez Singh ang...@gmail.com:
Bret proposed
How about this
browser.get_cookies(:domain = 'domain')
browser.get_cookies(:all)
browser.remove_cookies(:domain = 'domain')
remove_cookies(:all)
?
Aidy
2009/11/19 aidy lewis aidy.le...@googlemail.com:
Angrez et al
It is unlikely that we would want to get all cookies, but get cookies
for
Happy Birthday!
On Nov 19, 2:53 am, Paul Rogers paul.rog...@shaw.ca wrote:
If Im correct, watirs first public appearance was 5 years ago ( plus a few
days as I forgot to send the email).
Bret was teaching a class on test automation at StarWest, and I helped out.
This was the first
Hi Team,
Watir Rocks...
Congrats team.
Water is must for real world. Watir is must automation world!
Regards,
P.Raveendran
http://raveendran.wordpress.com
On Thu, Nov 19, 2009 at 5:31 PM, jnxgn s...@jnxgn.cn wrote:
Happy Birthday!
On Nov 19, 2:53 am, Paul Rogers paul.rog...@shaw.ca
That will probably not fix it as the regex dot will match the literal dot,
so it should still work as-is.
On Thu, Nov 19, 2009 at 03:52, John Kolokotronis johnj...@gmail.com wrote:
The dot character in a regex (.) is a wildcard so you need to escape
it. Try this:
browser.span(:text,
I suggest that this conversation move to the watir-development list.
We need need to ensure that Jari and the developers for other Watir
implementations are in the loop, and I'm not sure that they watch
everything here.
Bret
On Nov 19, 6:11 am, Tony ynot...@gmail.com wrote:
Hi Aidy,
Could
Unfortunately that didn't work either. I did this:
browser.span(:text, /butterfly\.m4v/).click and got this:
Unable to locate Span element with text of (?-mix:butterfly\.m4v)
I'm not sure what the ?-mix: part of that is. Anything else you can
recommend?
QAguy
On Nov 19, 3:52 am, John
Hi Steve!
I've noticed that when I copy multiple lines of code into irb, all but
the last are processed and then I have to hit enter to process the
last line of code.
Have you verified that you can issue just the click for 'DDD' on it's
own in irb? Is it possible that some javascript has been
Thanks for the ideas, Tiffany. Actually, I just tried going back to
IE6 and that strategy worked. A set of 9 scripts ran cleanly. I see
that I'm three releases behind on watir. I may need to upgrade to
1.6.5 and see how that works with IE7 and/or IE8.
On Nov 19, 11:43 am, Tiffany Fodor
Hi!
Since you're already using a regex, could you do this:
browser.span(:text, /butterfly/).click
or do you have multiple spans with 'butterfly' in the text? If so,
could you specify the one you want using it's index?
browser.span(:text = /butterfly/, :index = 3).click
Also, it might help
I been through all the main websites with regards to watir commands,
but I need some documention or something to verify data on a web page
and return that value, do I have to include rspec.is there any
good guides to watir apart from the 5 min quick example.
Hi!
I think you need to decide what type of framework you want and that
will dictate how you perform validations. From some of your previous
posts, it looks like you've started with Cucumber. Are you sticking
with Cucumber, or looking for a different framework? You can find
examples of
Hi, I have the following on my page...
80687E.01.73.6D.40.50.CE.D5 Recorded: 10/29/09 Delete
80677E.01.73.6D.40.4F.CE.CE Recorded: 10/29/09 Delete
80657E.01.73.6D.40.4E.CE.C7 Recorded: 10/29/09 Delete
All the Delete's
Hi!
If the text below is contained in a table, you can do this:
my_table = browser.table(:id, 'table_id')
my_table.rows.each do |row|
if row.text.include?('7E.01.73.6D.40.50.CE.D5')
On Nov 19, 2:53 pm, xguarder shams...@gmail.com wrote:
Hi, I have the following on my page...
8068
Oops - sorry about that! I forgot that tab takes you out of the text
edit box.
Here's the code I was trying to give you:
If the text below is contained in a table, you can do this:
my_table = browser.table(:id, 'table_id')
my_table.rows.each do |row|
if
you don't really need to loop there, you should just be able to do
my_table.row(:text, /7E\.01\.73\.6D\.40\.50\.CE\.D5/).link(:text,
'Delete').click
On Thu, Nov 19, 2009 at 17:12, Tiffany Fodor tcfo...@comcast.net wrote:
Oops - sorry about that! I forgot that tab takes you out of the text
Can someone give me the link to where I can download the watirRecorder+
+...as on the homepage it is not there.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this group, send email
Happy Birthday Watir!
Thanks the team and contributors for bringing us the joy of testing!
Regards,
Zhimin Zhan
http://itest2.com - Watir IDE
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To
Thanks so much to the above 2. Looks like that is working for me now!
Simpler than I thought too.
On Nov 19, 5:22 pm, Ethan notet...@gmail.com wrote:
you don't really need to loop there, you should just be able to do
my_table.row(:text, /7E\.01\.73\.6D\.40\.50\.CE\.D5/).link(:text,
Haven't you asked about this before?
This group doesn't support WatirRecorder. I'm not sure why it's not
available to download on OpenQA, but if you really need it, I'd
suggest asking the folks on the Watir Recorder community board:
http://clearspace.openqa.org/community/watir_recorder
Not to hijack the thread, but why use WatirRecorder? Isn't it just as
easy to write the code?
On Nov 19, 3:05 pm, Tiffany Fodor tcfo...@comcast.net wrote:
Haven't you asked about this before?
This group doesn't support WatirRecorder. I'm not sure why it's not
available to download on
Hi George!
I agree with you and I wouldn't advocate using a recording tool. IMO,
record-and-play doesn't really buy you much in time savings, and
creates more fragile tests.
I think some people are used to the 'out of the box' test automation
tools that include a recorder.
-Tiffany
On Nov
23 matches
Mail list logo