What if you look at the HTML to determine the frame name?
Cheers,
Daniel.
On 16/11/06, Nie Guoqiang [EMAIL PROTECTED] wrote:
I get only there are 6 frames when executing ie.show_frames.
So I think it must be of the watir version that causes my problem.
I am very sorry, and thanks to you all
...
and use the text that you have instead of frame_name_here to specify
the frame as described earlier in the mail thread.
Cheers,
Daniel.
On 16/11/06, Daniel Browne [EMAIL PROTECTED] wrote:
What if you look at the HTML to determine the frame name?
Cheers,
Daniel.
On 16/11
1. First of all do:
ie.show_frames
List will give you a list of frames.
2. Then for each of the frame names returned in step 1 do:
ie.frame(the_name_of_a_frame).show_images
This will give you lists of images in each frame (you have to replace
the_name_of_a_frame with the
Hi,
Can you give a bit more detail on what exactly you mean by outlook
access? To you mean access to an Exchange server? Thanks.
Cheers,
Daniel.
On 12/10/06, Michael Ehrich [EMAIL PROTECTED] wrote:
hi,
i found some pps files about watir and they said outlook access is possible.
i
What you have done should work. Did you give it a try? Using irb
as shown below is often a good way to experiment with syntax to make
sure it does as you expect. Thanks.
Cheers,
Daniel.
irb(main):031:0 base_url = 'http://www.google.com/'
= http://www.google.com/;
irb(main):032:0 puts base_url
To match the text you have supplied, try the following regular expression:
/javascript:.*selectTerritory\('1',%20'select'\)/
You need to escape the parenthesis using backslashes. I hope this helps.
Cheers,
Daniel.
On 28/09/06, Adrian Lewis [EMAIL PROTECTED] wrote:
Hi,
I am having
Frank,
I was wondering if you could tell me exactly what the # operator
does in this case? I have had a look at the ruby documentation but
cannot find an explanation. Thanks.
Cheers,
Daniel.
On 29/06/06, Legarreta, Frank [EMAIL PROTECTED] wrote:
Thank you all so much!
:
On 7/6/06, Daniel Browne [EMAIL PROTECTED] wrote:
I was wondering if you could tell me exactly what the # operator
does in this case? I have had a look at the ruby documentation but
cannot find an explanation. Thanks.
The name for this feature is string interpolation. You might be able
What about somehting like:
if (browser.link(:url, /#{regExp1}.*#{regExp2}/).exists? ||
browser.link(:url, /#{regExp2}.*#{regExp1}/).exists?)
...
end
Cheers,
Daniel.
On 06/07/06, Rodrigo Julian Martin [EMAIL PROTECTED] wrote:
Thanks Ravi, it worked! But I'm having another problem right
I don't have experience with Ruby and SQL Server together, however I
imagine the people who do have such experience will be more willing to
respond if you tell them about what you have tried and the
errors/issues encountered. Thanks.
Cheers,
Daniel.
On 20/06/06, jet ibaÿf1ez [EMAIL
Or you can use something along the lines of:
ie.frame(:index, 1).show_frames
This will show all frames within the top level frame with index 1.
The frame name could obviously be used instead of frame index.
Cheers,
Daniel.
On 19/06/06, Chris McMahon [EMAIL PROTECTED] wrote:
Hi,
Thanks for sharing this info with us.
I have already completed some work in automating operations in
ClearQuest (IBM's defect tracking system) using Watir and I'm now
looking into extending this work to keep two different defect tracking
systems in sync. Yes it's a horrible position to be
.
On 6/14/06, Daniel Browne [EMAIL PROTECTED] wrote:
I take it has the ability to only
download new mail?
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
I think it's a good idea. I used to use WinRunner TSL (I much prefer
using Watir by the way!) and it provided similar functionality. What
was different was that there was a global timeout setting that was
used, and the timeout value added to the operation would be added on
to the global timeout
at an HTTP level, however people often like to
see how a web sites respond to simulated mouse clicks rather than the
HTTP requests behind them.
Does that make sense?
Cheers,
Daniel.
On 08/06/06, Bret Pettichord [EMAIL PROTECTED] wrote:
On 6/8/06, Daniel Browne [EMAIL PROTECTED] wrote:
What
There is always the index option (to click the 3rd Amend) too:
ie.link(:index, 3).click
Cheers,
Daniel.
On 07/06/06, Adrian Rutter [EMAIL PROTECTED] wrote:
I can click the fist link quite happily with this:
$ie.link(:text, 'Amend').click
Thanks
Aidy
If you knew of some text that was always present in the html of a
loaded page, but not present when one of the error pages is displayed
you could use:
ie.html.match(/some_text_that_is_always_present/)
I imagine there is a better way to do it though.
Cheers,
Daniel.
On 07/06/06, Rodrigo
What happens if you do:
ruby iostring_test.rb some_file.log
Or to redirect STDOUT and SDTERR to the file try:
ruby iostring_test.rb some_file.log 21
Cheers,
Daniel.
On 25/04/06, Paul Carvalho [EMAIL PROTECTED] wrote:
Hi there, I'm trying to capture the Test Unit output to a file
Hi,
Apologies for another popup question however I've hunted the mail
archives and cannot find a solution to this.
When I click a link in a web page, IE pops up a new window. This is
another IE window but the type that has no space to enter a URL etc.
It is not a modal window. Using
In fact I did see the thread with subject Pointer(?) to solving the
HTML Popup issue Was(Re: [Wet-users] Fwd: Yet another pop-up
question) but that was from last year and wondered if there is now a
solution.
Cheers,
Daniel.
On 11/04/06, Daniel Browne [EMAIL PROTECTED] wrote:
Hi,
Apologies
and:
http://fit.c2.com/wiki.cgi?RubyPlatform
On 11/04/06, Daniel Browne [EMAIL PROTECTED] wrote:
See also:
http://fitnesse.org/FitServers.RubyFit
Note I have never used it though.
Cheers,
Daniel.
On 11/04/06, Sean Gallagher [EMAIL PROTECTED] wrote:
Here is some code that I am
From the Watir user guide:
Popup Windows
--%--
JavaScript generated popups such as Alert boxes, Windows Security
popups, and other popups that are not contained in a web browser are
not accessible the same way HTML pages are.
Can you just use the contains_text or match (on the page or on the
actual html using the html method) with a regular expression and
extract text you want to be stored in the array? I'm pretty new to
ruby and Watir so it might not be suitable for what you are doing.
Cheers,
Daniel.
On 27/03/06,
I gather there is no way you can just use a reguler expression to
match the title? What is the form of it's title and how does it vary?
Cheers,
Daniel.
On 23/03/06, Mike Kolcun [EMAIL PROTECTED] wrote:
I've got a situation where I have a the main window of an application that
pops up a new
24 matches
Mail list logo