Hi,
I volunteer for adding a unit test for this feature. Just drop me a mail stating what all should be in the unit test.
Regards,
Angrez
On Fri, 15 Jul 2005 Bret Pettichord wrote :
I have an app with a date text field. After entering the text, the app does some date checking. For example,
hi,
this is because there is no method called 'wait_for_browser()' defined to Watir::IE class . Instead you can user IE.wait() for waiting till the browser loads the page. By the way it is unnecessary to call the method because watir internally calls this method on every event that causes a new
Hi,
Try this..
var1 = 'ghi'
var1 = 'ghi'
new_string = abcdef#{var1}jklmnop
I think you forgot to put the # before the braces and also double quoted string is must for this kind of substitution.
Regards,
Angrez
On Wed, 27 Jul 2005 Torres,Ben(HQP) wrote :
Right now, I am doing this:
var1 =
Hi,
Try this..
var1 = 'ghi'
new_string = abcdef#{var1}jklmnop
I think you forgot to put the # before the braces and also double quoted string is must for this kind of substitution.
Regards,
Angrez
On Wed, 27 Jul 2005 Torres,Ben(HQP) wrote :
Right now, I am doing this:
var1 = 'ghi'
Hi,
I have downloaded Watir 1.4 and got the following error while trying to access 'to_s' method of 'P' element.
My script accesses the 'P' element using the 'id' attribute. The code looks like this:
1. element = $ie.p(:id,pElement)
2. puts element.type
3. puts element.to_s
The
Pettichord wrote :
At 09:04 AM 8/23/2005, Angrez Singh wrote:
We have been working on Watir to add XPath support for elements that can't (easily) be accessed using the attributes that are provided by Watir, but can be structurally addressed. A test version of that is ready which we have been testing
Persistent System Pvt Ltd
___Wtr-general mailing listWtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general-- Angrez Singh ([EMAIL PROTECTED])Member of Technical Staff
Persistent Systems Pvt. Ltd (http://www.persistentsys.com/
tp://rubyforge.org/mailman/listinfo/wtr-general
-- Angrez Singh ([EMAIL PROTECTED])Member of Technical StaffPersistent Systems Pvt. Ltd (http://www.persistentsys.com/
)Ph - +91 (20) 25653458 (o)
___
Wtr-general mailing list
Wtr-general@rubyforge.org
ht
Hi,
Try using isSet?() method. This will return true if radiobutton is checked and false if it is not
Regards,
AngrezOn 9/15/05, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:I tried checked and selected, but I guess there's no existing method for those :)
Hi Joe,
INPUT id=file tabindex=1 maxLength=128
value=[enter or browse a filename] type=file size=80
name=file
The element in which you want to fill the text is not of text_field type. Its type is file. So what you need to do is:
ie.table(:index,
Hi Padraig,
Sorry for so much delay...
On 10/4/05, Padraig O'Leary [EMAIL PROTECTED] wrote:
Hi,
I extended Watir Ver. 1.4.1 with the
Xpath extension. However I'm having problems with the Xpath extension.
It has problems identifying nodes using the text they contain. For
example a node with:
Hi Mike,
What I think is the code that you are using for clicking the link will always return you the Home Link.
Your HTML code is like this:
tr
td class=false height=20a
href="" n=)
img height=8 width=8 src="" border=0 alt=Expand Root Node/aHome Node/td
/tr
tr
td class=selected align=left
Hi,
While using watir to compose a mail(Yahoo mail), I came across a text area with style set to display:none:
textarea name=Body id=bodyfield style=display:none/textarea
According to CSS tutorials at w3schools:
http://www.w3schools.com/css/pr_class_display.asp
The value none means that
a) either you have found a bug in IE or
may be or may be not because I am seeing that element on Firefox too.
b) You have one more text area with the same name id which is visible.so just scroll down and then check if there is another textarea with the
same name and id which is visible.
there is
Hi Tom,I think an XPath _expression_ will make your life easy. As you said that the id's are generated dynamically, but there should be something that binds the checkboxes together (may be the item name etc.) So you can write an XPath query to select the checkboxes on the basis of item name.
So
Hi,Your problem is how to access an element for which there is no class in WATiR. You can use XPATH extension of WATiR which will be availabe in v1.5 or you can always download the tar ball from HEAD. By using XPATH extension you can get any element by using an XPATH _expression_.
For elements
Hi,So when I try ie.element_by_xpath(//area[contains(@href , '
PieChart.html')]/).click() it throws 'Undefined method click for nil class' exceptionThis means that it hasn't returned you the element. I did tried the same xpath on the HTML code snippet provided by you in the mail and it did
Hi,You have to call the function push_alert_button before clicking the button that invokes a _javascript_ pop up. So I think this should work: require 'watir'
require 'watir/WindowHelper'
.
.code for opening up page
.
helper = WindowHelper.new
helper.push_alert_button()
Hi Roy,Yes, you just need to change the files in the installation directory. Also read the document Support for XPath in Watir.doc under the doc section in CVS. You also need to replace two files in the REXML directory found under [ruby installation directory]/lib/ruby/1.8/rexml . The two files
Hi Bernd, (1): Does it only work on Windows? Or could it be installed and run on Linux?
Yes, it works only on Windows
(2): What browsers does it support?Currently only IE, though efforts are going on to support more browsers as well. Regards,Angrez
___
Hi,I think XPath extenstion to WATiR would be helpful in this case. Please download the tar ball from HEAD and read the supporting document in the 'docs' directory.Regards,Angrez
On 1/20/06, Andrew McFarlane [EMAIL PROTECTED] wrote:
I am testing an application whose UI controls are often difficult
Hi Sergio,The XPath extension internally uses REXML only to find the elements in IE DOM. Regards,AngrezOn 1/20/06, Sergio Pinon
[EMAIL PROTECTED] wrote:Not sure if you guys realize it but there is an xml library available in Ruby called REXML and from there you can use it in your WATIR scripts. I
Hi,
I don't understand. You're
saying that WATIR uses REXML to allow Xpath expressions against the IE DOM?Correct.- Angrez
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Hi,
How about using XPath for getting the td cell ?
ie.td(:xpath, //td[contains(., 'Contents')/)
This will return you the td element which has text contents. Now you
can click on this td
Please get the tarball from HEAD to use this option. Also read the
document in docs section.
Hope this
Hi Brian,Just a thought, how about using regular expressions for matching name of such controls, whose value changes upon the way they are embedded inside the other controls? In that way you don't have to change the
watir.rb file.Regards,Angrez
___
Hi Bill,While location the select list element WATiR codes use select-one or select-multiple for matching the type of the select list. Also the type
attribute of select list is readonly as per DOM specification:http://www.w3.org/TR/2000/WD-DOM-Level-1-2929/level-one-html.html#ID-94282980
So
Hi Brown,Anyway, when I run my test script I get the following error message
c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1273:in `initialize': LoadLibrary:c:\ruby\lib\ruby\site_ruby\1.8\watir\IEDialog\Release\IEDialog.dll(RuntimeError)from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1273:in `new'
from
Hi Brown, I've
done as suggested and moved Watir from C:\Program Files\Watir to C:\Watir
butI still get the same errors.
Am I
correct in thinking that the xpath stuff actually resides in the Ruby
installation and that the xpath_tests.rb is attempting to useNope XPath uses only REXML part of
$ie.maximize-AngrezOn 2/22/06, Kiran Kumar.. [EMAIL PROTECTED] wrote:
Hi,Thanx for the same. What is the command to maximize the browserwindow.Please let me know..RegardsKiran..--- Zeljko Filipin [EMAIL PROTECTED]
wrote: ie.link(:text, /inbox/).click For more information, visit
Hi Chris,I installed 'watir' from the tar ball. Steps I followed:1. Manually copied 'watir.rb' 'watir' folder to [ruby installation directory]/lib/ruby/site_ruby/1.8/ 2. Manually copied 'doc', 'examples', 'unittests' folders to [watir installation directory]
I was able to run the core tests
Hi,I think using XPath extension will be able to address this issue in a more simpler way than iterating over all the tables. Please refer to:
http://rubyforge.org/pipermail/wtr-general/2005-August/003182.htmlYou can download the latest tar ball from HEAD to use this extension. There is also a
Hi Chris,
web_pagesruby
trial.rbC:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1922:in `elements_by_xpath':
undefined method `elements' for nil:NilClass
(NoMethodError) from
C:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1912:in
`element_by_xpath' from
trial.rb:5Did you get an 'error.xml' file in the
Hi Chris,
What version of Ruby are you
running?I am using Ruby 1.8.2 and latest watir tar ball. Also REXML version is 3.1.2.1. You can check this by using following command:
ruby -vrrexml/rexml -e 'p REXML::Version, PLATFORM'But still I have no clue of what is going wrong?Regards,Angrez
just
tried v 1.8.4 of Ruby and get the following
c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1755: [BUG]
Segmentation faultruby 1.8.4 (2005-12-24) [i386-mswin32]
abnormal
program termination
-Original Message-From:
Angrez Singh
[mailto:[EMAIL PROTECTED]]
Sent: Friday, March 03, 2006
Hi Bret,I have committed the code for 'FireWatir' in branch named 'firefox'. Now we can run WATiR scripts against 'Firefox' browser. Anyone who wants to have a quick preview can download the code from this branch. For using the version follow the instructions provided in the 'installation doc'
Hi,
I'm wondering what versions of Firefox this is designed to
work with?\Sorry I forgot to mention the versions. I have tried it on Firefox 1.5
1.5.0.1. I am not sure if it works versions less than this.Regards,Angrez
___
Wtr-general mailing list
Hi,Try the following XPath:ie.button(:xpath, //button[contains(.,'Delete')])What I think wrong with you xpath is that you are trying to access button which has attribute called 'value' whose value is 'Delete'. But there is no button with attribute 'value'.
Try the above XPath let me know if it's
Hi Bret,Could you please add a page to our new wiki about the Firefox release with answers to questions like this?
ok..Regards,Angrez
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Hi,Unlike firefox extensions, this xpi package doesn't open up as file dialog for me. On trying to install as xpi(.zip) file, it just opens up the file contents and starts displaying the binary data... I don't think the problem is at my end as i am perfectly able to install and use other .xpi
Hi Zeljko,You are not doing anything wrong here. The current version for Firefox is in sync with what is available on the tar ball. So the 'watir.rb' in Firefox extension is refactored version of 'watir.rb' file that is available on the HEAD. So I think that is the source of error.
So, what you
Hi,Did you install the XPI that is included in the package? Regards,AngrezOn 3/15/06, Zeljko Filipin
[EMAIL PROTECTED] wrote:Of course, when I start unit tests, I get this error message.
C:\watir\mozilla_unittestsmozilla_all_tests.rbC:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1263:in `initialize':
Hi,Yes, I can see DOM Inspector
1.8.0.1 at extensions.telnet localhost 9997 worked for me two days ago, but then Firewatir did not work because I had watir 1.4.1.DOM Inspector has nothing to do with JSSh extension. I don't know why its not working if it has been working before. Try installing it
Hi,I had run mozilla_all_tests.rb yesterday night I got no failures:$ruby mozilla_all_tests.rb Loaded suite mozilla_all_testsStarted.Starting win setFileDialog in new process. Setting text
Hi,Trytest = browser.document.body.all;This is how its currently implemented.For getting HTML source use:browser.text()Regards,AngrezOn 3/30/06,
Rodrigo Julian Martin [EMAIL PROTECTED] wrote:
Hi all!
I'm trying to get all the objects in a web page using
the following code:
Hi Bret,My understanding had been that we were supposed to install Rexml
3.1.3 and then hand copy these over. Correct.
I recently updated Watir so that it modified the load_path obviating the need for the hand-copying.Sounds great..
But now it seems that this hand copying is unnecessary. Your
Hi,Try using Log4r ( http://log4r.sourceforge.net/ )Regards,AngrezOn 4/11/06, Martin Lopez
[EMAIL PROTECTED] wrote:
I
want to know how can I write in a log file.
I
need save some exceptions or errors and checks to see them
after.
Thanks,
ALF
GORDON
Hi Marco,Could you please send the HTML source so that we can have more detalied look into it?Regards,AngrezOn 6/5/06, Marco Neri
[EMAIL PROTECTED] wrote:
I'm using watir 1.5.1.1017
rexml 3.1.4 ( I have not copied any files out of
this distrubution )
I'm trying to use anxpath query in a
Hi Bret,Can't XPath functionality be used to access elements using multiple attributes? This is already there.
ie.div(:class = MenuItem, :text = Pulverize).clickThis translates to:ie.div(:xpath, //[EMAIL PROTECTED] = 'MenuItem' and @text = 'Pulverize']).clickI think XPath provides much more
Hi Beth,As such currently there is no tar ball or gem that exists for FireWatir. You need to install SVN client from sourceforge.net. (
http://sourceforge.net/project/showfiles.php?group_id=138498package_id=151948) and then import the source code for watir
Hi,Please don't post the question again with different subject. Just a thought.Regards,AngrezOn 6/16/06, Amitha Shetty
[EMAIL PROTECTED] wrote:Hi, How do I access caption generated through third party libraries?
I see a screen withcheckboxes(in a tree strucuture) and labels beside the
Hi Manish,Its a great news that you were able to run FireWatir on Linux. As far as I know you can run FireWatir on any platform by removing the code that access Win32 objects, or that uses Win32 API for clicking on the dialogs. I was able to run it on MAC here by including this code only when
Hi Andrew,Currently I don't have the breakdown for this; I will make some measurements and will post the breakdown soon. Socket communication may not be slow but the number of calls made via JSSh seems to be the main cause of the slowness. The logic for selecting an element makes number of calls
Hi,I have done the testing using watir that is installed using the click installer. I haven't tried installing watir using gems (which installs watir in gems directory). You can use the one click installer and then do the same steps you'll be able to run FireWatir.
Regards,AngrezOn 9/8/06, [EMAIL
Hi Jason,I think its a bug in the watir 1.4.1 code where the function 'innerText' is called instead of function 'text' while setting or getting the text of the element. Please check the following URL for more details.
Hi Sanjay,Have a look at this link which tells how you can use excel object in Ruby.http://www.rubycentral.com/book/win32.html- Angrez
On 9/15/06, Sanjay kumar Rai [EMAIL PROTECTED] wrote:
Hi,
We are using watir in our project, and we want to do the Parameterization for few things in
Hi Bret,I agree that the bug was related to 'to_s' method but this method internally calls 'text' method which was the source of error that I have logged.Thanks for pointing to the URL on 'openqa'.Regards,
AngrezOn 9/15/06, Bret Pettichord [EMAIL PROTECTED] wrote:
Angrez,I'm pretty sure that the
Hi Alan,Could you send me the HTML source so that I can have more detailed look into it?Regards,AngrezOn 9/16/06, Alan Ark
[EMAIL PROTECTED] wrote:
Hi folks.
I am having a problem getting element_by_xpath to work
cleanly.
Windoze XP pro
Ruby 1.8.5 – One click installer.
Hi Alan,The way you are using XPath query is not the correct way. You can take the help of this tutorial to write correct XPath _expression_:http://www.w3schools.com/xpath/default.asp
In your case the correct XPath _expression_ would be:element = ie.element_by_xpath(//[EMAIL PROTECTED]'q'])First
PROTECTED] [mailto:[EMAIL PROTECTED]] *On Behalf Of *Angrez Singh
*Sent:* Monday, September 18, 2006 10:38 PM *To:* wtr-general@rubyforge.org *Subject:* Re: [Wtr-general] Problem with element_by_xpath? Hi Alan,
The way you are using XPath query is not the correct way. You can take the help
Hi,Using latest version of watir you can access span element using:$ie.span(:class, TblHdrTxt)for accessing TH you can use xpath query for getting the element.Regards,
AngrezOn 9/22/06, Luke [EMAIL PROTECTED] wrote:
Sorry for asking but I can't deal with it, I've got a table on page and I want to
Hi,
Its an image button try this:
ie.button(:id, grdCompCodes__ctl2_imgSelect).click
- Angrez
On 10/5/06, Eva [EMAIL PROTECTED] wrote:
Typically image have this tag... img id=Banner1_imgProductName key=LogoWhite.gif
src="" alt= border=0 / brbrHere is the html code for the triangle image I'm
Hi,
I think you can select the element using class attribute. Else you can use
xpath for selecting the element using any attribute that uniquely identifies
that element on the page. This all is available in watir releases greater
than 1.4.1.
Regards,
Angrez
On 11/23/06, Garry West [EMAIL
Hi Nathan,
You can get the code for Firewatir for
http://www.code.google.com/p/firewatir/trunk using any sub version client.
It works with Firefox 1.5 and above versions. The execution speed which was
the problem earlier has been resolved. Now execution speed has improved a
lot. Comparable to
Hi Nathan,
Could you please let me know what difficulty you faced while installing gem
and JSSh xpi. I have used the Firewatir code and I currently own the project
at Google. I have tested its installation on 3 - 4 machines and didn't have
any problems either with XPI or with the Firewatir gem.
Hi Nathan,
Get the latest code from the following location.
http://firewatir.googlecode.com/svn/trunk/Installation/
It contains installation doc, XPI and Firewatir gem.
Let me know the problems you have faced. Its still in development and this
will help me in generating the help document or
Hi George,
The error that you are facing is because Firefox is not opening a new
window; instead its opening a new tab. Or Firefox is blocking the pop up.
Run the test alone and you'll be able to find out the cause.
Will document this thing so that people do this before running the test
cases.
Hi,
You can use elements_by_xpath to get all the elements that map to a given
xpath query. element_by_xpath will return you only the first element that
map to the xpath query.
Regards,
Angrez
On 12/15/06, Vamsee Krishna M [EMAIL PROTECTED] wrote:
Hi,
I am using water nightly
Hi,
Croczilla site is up again. Following is Alex Fritze reply to the mail:
The server zope instance shut itself down and I didn't notice until today,
since I'm away on holiday in Mexico at the moment :-)
It's fixed now.
Regards,
Angrez
On 12/19/06, Dave Hoover [EMAIL PROTECTED] wrote:
Hi San,
If you don't have any onkeyup and onkeydown events in your text box you can
use 'value' property of text box to set the value.
For e.g.:
ie.text_field(:id, some_id).value = long string
Regards,
Angrez
On 12/26/06, san [EMAIL PROTECTED] wrote:
I Want To Fill A Text Box In IE By
Hi,
I too face the same problem with Watir 1.4.1 while running the unit tests;
if the installation directory contains a space in the folder name the upload
simply doesn't work. I don't know if it is solved or not.
The only way is to remove the space from your folder name. Or try a path
with no
Hi san,
Which watir version are using? It works for me on watir-1.5.1.1100. I
tried the following:
ie.file_field(:name, file1).click_no_wait
ie.file_field(:name, file1).set(c:\\Program Files\\input.txt)
Regards,
Angrez
On 12/29/06, Angrez Singh [EMAIL PROTECTED] wrote:
Hi san,
Can you try
Hi san,
Can you try adding double quotes to the file path like this:
ie.file_field(:id, onetidIOFile).set(\c:\new folder\abc.jpg\)
This should work.
Regards,
Angrez
On 12/29/06, san [EMAIL PROTECTED] wrote:
Ok, It Was Not The Double Quotes That Was Causing Problem :) Its The Space
In The
Hi san,
Try the following with watir 1.4
ie.file_field(:name, file1).set(\c:\\Program Files\\input.txt\)
Try appending double quotes to the name of the file.
Regards,
Angrez
On 1/3/07, san [EMAIL PROTECTED] wrote:
I'm with watir 1.4 May Be Thats The Reason That ie.file_field(:name,
Hi Ajitesh,
If you have HTML like this:
table
tr
td bgcolor=red
text
/td
/tr
/table
Then you can directly use the method attribute_value to get the value for
bgcolor like this:
ie.table(:index, 1)[1][1].attribute_value(bgcolor)
Regards,
Angrez
Hi John,
You can manually install AutoIt dll using regsvr32 command.
Regards,
Angrez
On 1/10/07, John Lolis [EMAIL PROTECTED] wrote:
Having some problems using file_field in a modal window. Like the subject
says i do have 1.8.2 installed (just installed it) and Watir 1.5.1.1127(from
the
Hi Bret,
I would like to add something here.
1. In the file 'winClicker.rb' and method 'clickJSDialog_NewProcess()'
myapp = [EMAIL PROTECTED]/clickJSDialog.rb #{button}
winsystem( start #{myapp})
Now this thing will not work if user has configured to open the files with
'.rb' extension
Hi,
Yeah we have been working on improving the performance of FireWatir for last
few months. The performance has been improved significantly and it runs
faster than IE on windows. FireWatir has been tested just on Windows with
different Firefox versions like 1.5, 1.5.0.4, 1.5.0.7 , 2.0 and
Hi Bret,
I'll go ahead with using rubyw and will make the changes to code.
Regards,
Angrez
On 1/11/07, Bret Pettichord [EMAIL PROTECTED] wrote:
Angrez Singh wrote:
I would like to add something here.
1. In the file 'winClicker.rb' and method 'clickJSDialog_NewProcess()'
myapp
Hi Sarita,
You can use
rand(int)
where integer specifies the range. For eg: rand(100) will generate random
numbers between 0 to 100.
For more info:
http://www.rubycentral.com/ref/ref_m_kernel.html#rand
Regards,
Angerz
On 1/12/07, sarita [EMAIL PROTECTED] wrote:
Is there any function
Hi Bach,
Could you please let me know the scripts or the statements that failed?
Regards,
Angrez
On 1/11/07, Bach Le [EMAIL PROTECTED] wrote:
Hi Angrez,
I did not have any problems installing FireWatir. I followed the
installation guide at http://code.google.com/p/firewatir/ and it
Hi Sarita,
chars = (a..z).to_a + (A..Z).to_a
random_string =
1.upto(5) { |i| random_string chars[rand(chars.length - 1)] }
puts random_string
This will generate random string of 5 chars in length. To generate large
string change 5 to whatever length you want. The generated string will
contain
Hi Sarita,
Its really simple to understand. I created an array of upper and lower case
alphabets. Now random number generator takes only interger. So I generate
random numbers between 0 to the lenght of the array created above and then
choose the character at that index in the array and push it
Hi Bach,
Did you tried the latest gem that is there on the code.google.com. It has
support for frames. The syntax that you are using is correct. Could you let
me what errors you get or it simply doesn't work?
Also try using the latest gem from code.google.com.
Regards,
Angrez
On 1/12/07,
Hi,
We have released FireWatir version 1.0.1
For new features and future enhancements please go through release notes at
http://code.google.com/p/firewatir/wiki/ReleaseNotes .
Main features of this release are:
1. Main concern was speed. It has been improved significantly and now it's
to prevent popups - I'll try and find out
Paul
- Original Message -
*From:* Angrez Singh [EMAIL PROTECTED]
*To:* wtr-general@rubyforge.org ; [EMAIL PROTECTED]
*Sent:* Wednesday, January 17, 2007 6:15 AM
*Subject:* [Wtr-general] FireWatir version 1.0.1 released
Hi,
We have
Hi Bach,
The method for finding the element initially worked for Absolute path but
while implementing it for forms i got into trouble. So its like this:
Whatever HTML you see in Firefox browser will be used for identifying the
element. In case you want it to work both with WATiR and FireWatir
Hi Jason,
Currently Watir and FireWatir are two different projects. You need to
download two separate packages in case you want your test cases to run both
on IE and Firefox.
As FireWatir is written using Watir code base 1.4.1, so there would be very
few changes that are required to your test
Hi Steven,
I'll look into this and let you know.
Regards,
Angrez
On 2/5/07, steven [EMAIL PROTECTED] wrote:
The following code only seems to work if $browser = ie.new, and not
firefox.new (i.e. with Firewatir). Am I missing something or is this a
known issue?
while not
Hi Steven,
Could you please log this issue in the Firewatir issue tracker at
http://code.google.com/p/firewatir/
Regards,
Angrez
On 2/5/07, Angrez Singh [EMAIL PROTECTED] wrote:
Hi Steven,
I'll look into this and let you know.
Regards,
Angrez
On 2/5/07, steven [EMAIL PROTECTED] wrote
Hi Steven,
I checked it again. :text attribute is supported by link element. You can
access link element using :text. Please refer to the unit tests for more
details.
If it still doesn't work out, you can post the HTML and FireWatir code here.
Regards,
Angrez
On 2/6/07, Paul Carvalho [EMAIL
Hi Suman,
I could reach the textarea successfully but am still getting the same
error -
Ok
The error you are getting is related to frames ... could you just check it
once again?
W, [05-Feb-2007 10:52:14#3200] WARN -- : runtime error in wait
W, [05-Feb-2007 10:52:18#3200] WARN -- :
Hi Steven,
while not ($browser.link(:text,Withdraw).exists?)
sleep 1
$browser.reload()
end
1.) Is there a better way for me to do this?
I am not sure why you are getting the text of old screen.
2.) Since Firewatir uses .reload and Watir uses .refresh, how
Hi Steven,
I am not sure either... Do you have a PayPal account?
No, I don't have a PayPal account.
Regards,
Angrez
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Hi Christopher,
I appreciate your efforts to test FireWatir on Mac.
I am still not able to get why it is not working, if you are able to connect
to JSSh?
Do you get any errors on JavaScript console of Firefox because as per
testing with Dave Hoover the xpi was not getting installed properly on
Hi,
This question has been asked couple of times in this list. You can search
the archives for the answers/code snippets etc.
Bret:
I think we should add this to FAQ page. Shall I update the FAQ page?
Regards,
Angrez
On 3/2/07, swarna latha [EMAIL PROTECTED] wrote:
How can I achieve this?
Hi Charley,
I'll add this to FAQ along with the code snippet.
Regards,
Angrez
On 3/2/07, Charley Baker [EMAIL PROTECTED] wrote:
Hey Angrez,
I'd be more than happy if you were to add this to the FAQ.
-Charley
On 3/2/07, Angrez Singh [EMAIL PROTECTED] wrote:
Hi,
This question has
Hi,
Can you be more specific like what kind of object is it? Whats the HTML of
the page? etc etc.
The information you provided is not sufficient enough for anyone to be able
to help you.
Regards,
Angrez
On 3/16/07, Mathew Jacob [EMAIL PROTECTED] wrote:
There is one object in browser page.
Hi,
The text method has been corrected. It will be available in the next
release.
Regards,
Angrez
On 3/19/07, Paul Rogers [EMAIL PROTECTED] wrote:
Firewatir is using an incorrect method for text. I sent the fix on, but I
guess there has been no new release since. I cant rememeber what I had
:125px class=dropdown
*Regards,*
*Mathew*
* *
* *
*Ya**ho**o India, EGL, Bangalore – 71, Phone:+91-80-30516346,
Mobile:+91-9945849925*
--
*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Angrez Singh
*Sent:* Friday, March 16, 2007 6:23 PM
,
Mathew
* *
*Ya**ho**o India, EGL, Bangalore – 71, Phone:+91-80-30516346,
Mobile:+91-9945849925*
--
*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Angrez Singh
*Sent:* Tuesday, March 20, 2007 5:08 PM
*To:* wtr-general@rubyforge.org
*Subject
1 - 100 of 154 matches
Mail list logo