Hi Ste,
Earlier the wait method would get stuck when there is a popup during
page laoding.
Now it exits from the waut method and waits for you to handle the
popup.
Refer to this to handle popups - (doesnt use autoit for this)
http://groups.google.com/group/watir-general/browse_thread/thread/c2ee
hi,guy,
try in this way:
textF.each do |tf|
...
end
On Sep 2, 1:22 am, manar alalfi wrote:
> Hello,
>
> I want to print the name attribute of a text field in a page
>
> #collect Text fields elaments
> textF = ie.text_fields.collect {|tf | puts tf}
>
> # iterate to check for none_null_ name text
Hi All,
Sorry to ask question out of focus here, but I was just curious to know if
there is something called "flashwatir" available?
If so, can recognize all flash objects using it?
Please provide some info on it..
Regards,
Niharika
On Wed, Sep 2, 2009 at 8:06 AM, Wesley Chen wrote:
> Hi, Gu
Hello,
I want to print the name attribute of a text field in a page
#collect Text fields elaments
textF = ie.text_fields.collect {|tf | puts tf}
# iterate to check for none_null_ name text field
for tf in textF do
if ie.text_field(:name, tf.name).value != 'null'
puts tf.name.to_s
Also, you can get around the special character (so you dont have to
look each one up) by using a regex and the regular text:
browser.text.include?(/Previous/)
browser.span(:text,/Previous/).click
On Sep 1, 6:52 am, GJHmf wrote:
> How annoying; I thought I had tried and failed on that very solu
How annoying; I thought I had tried and failed on that very solution,
now it works. My hands are up, it must have been a typo of some sort
on my part.
Once again, thanks Željko.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goog
On Tue, Sep 1, 2009 at 2:57 PM, GJHmf wrote:
> if there's any possible way of verifying '«' and '»'
> characters in literal text on a page
browser.text.include?("\253 Previous")
Željko
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
While the .span suggestion is a short term solution in my test
environment for a disabled :class, for future reference I would still
like to know if there's any possible way of verifying '«' and '»'
characters in literal text on a page; as if I can verify a link exists
with that text, I can check
Thanks for these Željko,
Both work great in locating and verifying the special character is
there with .span.
Oddly having never used .span before, I'll be using the :class
suggestion to verify the link I have is disabled. Knowing I can't
currently verify literal link text '\253 Previous' (as i
Thanks for these Željko,
Both work great in locating and verifying the special character is
there with .span.
Oddly having never used .span before, I'll be using the :class
suggestion to verify the link I have is disabled. Knowing I can't
currently verify literal link text '\253 Previous' (as i
Hi,
We have a scenario wherein we need to drag and drop a slider in order
to define a filter for a specific range (time/price).
Please find attached the screen-shot for the sliders.
Steps to reach the concerned screen:-
1. Goto www.makemytrip.com
2. Select one-way trip, fill in details and clic
On Tue, Sep 1, 2009 at 12:44 PM, GJHmf wrote:
> « Previous
If you ask politely, Ruby will tell you how it sees «:
irb> b.span(:class, "disabled prev_page").text
=> "\253 Previous"
And this works.
b.span(:text, "\253 Previous").click
Let me know if you want to know more about IRB (tool that I
On Tue, Sep 1, 2009 at 12:44 PM, GJHmf wrote:
> « Previous
Try this:
browser.span(:class, "disabled prev_page").click
Željko
--
http://watirpodcast.com/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir Gener
Hi,
I'm testing a page that has pagination, that has the usual '«
Previous' and 'Next »' links on it. My issue is that I'm having
trouble selecting/verifying a link that contains a special character.
An example HTML line in question is as follows, but I want to select/
verify the link using its
14 matches
Mail list logo