Hi All,
Pleas can you help me finding out the last word in the sentence displayed on
the web page. Have look at the HTML snippet.
Regards
Sapna
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Hi
How can i read static data from the application.i had a test case that a static
message like file successfully added came how can i read the data.
my intention is i need to validate that and proceeds to next testcase.
i would appricate if any can help in this
Regards
murali
Hi Murali,
Try
ie.text.include? file successfully added
Zeljko
--
ZeljkoFilipin.com
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
thnx
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Hi
Exist method is avaliable in WATIR. if it is there how it will be used.
Regards
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Hi,
maybe you can use
assert(ie.contains_text(file successfully added), Message if failed)
Regards,
Carsten Neumann
Carsten Neumann
Auszubildender
encoway GmbH
Buschhöhe 2
28357 Bremen
Tel +049 (0)421 24677-0
Fax +49 (0)421 24677-10
email: [EMAIL PROTECTED]
Web: www.encoway.de
Hi Murali,
Try this
b.link(:text, Images).exist?
= true
or this
b.link(:text, Images).exists?
= true
Zeljko
--
ZeljkoFilipin.com
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
I had a similar problem and contains_text did work for me.
ie.contains_text(file successfully added)
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Thnx for ur concern
i tried this method using IF condition . iam faild to get the answer.
actually
if Active Categories should be 9 only this comes i need to click on the
cancel button
if not it should create a category.
can u plz tel me how it vil be use with IF statment
if (ie.link(:text, Hello).exists?)
puts the text link exists
else
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Thanx Madam
If u have any docs related to WATIR plz send to my mail id [EMAIL PROTECTED]
Reagrds
Murali
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
On 7/9/07, murali [EMAIL PROTECTED] wrote:
If u have any docs related to WATIR
Take a look at WATIR User Guide at
http://wtr.rubyforge.org/watir_user_guide.html.
Zeljko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
I have made a watiJ web testing script which involves sending Enter key for
submitting some data.
this script worked fine on windowsXp, but doesn't work the machine with windows
2003.
Now we are thinking about writing the same script in watiR. Have anyone tried
sending keys on windows 2003
i have this html code: input type=hidden
how can i find out with watir if it is hidden or not?
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
On 7/9/07, mihai [EMAIL PROTECTED] wrote:
i have this html code: input type=hidden
how can i find out with watir if it is hidden or not?
Hi Mihai,
Well, it's type is hidden. How could it be not hidden?
Zeljko
--
ZeljkoFilipin.com
___
Wtr-general
From what I've seen, send keys works just fine in Windows Server 2003.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Excellent!!!
That did the trick.
Thanks loads!!!
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Lavanya Lakshman wrote:
I would appreciate if you could give more inputs on the features?
I added the IE.find command to support error recovery.
You also may want to look at Aslak Hellesoy's post on how he captured
screens when watir tests failed.
Bret
When I click a button on the web page, it displays a dialog.
Title: Web Page Dialog
Controls:
* one select list
* one text field
* two buttons (OK, Cancel)
How do I access the dialog box?
How do I select an item from the list? Do I use the
Watir::IE.select_list.getAllItems() call?
How do
---BeginMessage---
this sounds like a modal dialog box
Ive never used them, but there should be unit tests and its been mentioned on
the list many times, so you should be able to search the archives for sample
code
Paul
- Original Message -
From: Matt Berney [EMAIL PROTECTED]
Date:
no...i want something like : ie.button(..).exist? but ie.button().hidden?
i want to tell me if the control is hidden or not because that button and other
control appear if i press the Show Advanced option button and hides if i press
the Hide Advanced option and i want to test if the show..
there is a .hidden? method available in the user contrib section on the wiki I
think. Or the email archives. Some submitted it, so it does exist.
- Original Message -
From: mihai [EMAIL PROTECTED]
Date: Monday, July 9, 2007 2:34 pm
Subject: Re: [Wtr-general] hidden control..
To:
Tiffany Fodor wrote:
I just added that line to the rest of the require/include statements at the
beginning of my script and it did the trick.
It is a common practice to put the require and include statements
together, but I don't recommend it. I intend to remove all examples of
this from
What version of Ruby should we recommend?
After a recent discussion we agreed that the rdoc (readme.rb) should read:
Best is to use Ruby 1.8.2-14 or later.
However, if you are using the Watir::IE#modal_dialog method, you must
use Ruby 1.8.2-14 and not a more recent version.
Watir (in
Hi every one,
iam facing problem with the data driven. have glance of my code and
let me know where i did mistake.
excel= WIN32OLE::new('excel.Application')
workbook=excel.Workbooks.Open('D:\Documents and Settings\mmopur\Desktop\IPE
Aut\test.xls')
worksheet=workbook.Worksheets(1)
25 matches
Mail list logo