Hi Philip,
Which Firewatir version are you using?
We'll try to reproduce it here. Could you provide us more information about
the page you are accessing?
Regards,
Angrez
On 7/21/07, Philip Rhoades [EMAIL PROTECTED] wrote:
People,
The following script returns 1 most of the time but about 25%
HI Bret,
I tried subscribing to the group with subscription type as Email - Send
each message to me as it arrives but not able to subscribe.
Got error message There is a problem with your choice of subscription type
Is there problem with group settings?
Regards,
Angrez
On 7/12/07, Bret
Try
ie.button(:class, btn_login_up).click
- Angrez
On 7/6/07, Chitta Ranjan [EMAIL PROTECTED] wrote:
Hi,,
I want to click a button using any one of these attribute
class - btn_login_up
onmousedown-
Try this:
ie.element_by_xpath(//[EMAIL PROTECTED]'addproject']).click()
- Angrez
On 7/3/07, Zeljko [EMAIL PROTECTED] wrote:
I have a h4 headline that I have to click.
h4 id=addprojectCreate a new project/h4
This does not work.
ie.h4(:id, addproject).click
Is there a way to click it?
Try this:
ie.link(:href, bcd).click
- Angrez
On 7/2/07, Lavanya Lakshman [EMAIL PROTECTED] wrote:
Following is my sample script :
html
head
titleTitle of page/title
/head
body
This is my first homepage. bThis text is bold/b
a href=urlText to be displayed/a
a href=bcdText to be displayed/a
Hi,
We are working on it and probably this will be there in next release.
Regards,
Angrez
On 6/29/07, VIKASH KUMAR [EMAIL PROTECTED] wrote:
I am using firewatir version 1.0.2
I am able click on javascript OK button using the below code ::
$ff.button(:text,/Cancel/).click_no_wait
Hi Sourabh,
More information like HTML code that you are trying to access, watir code
that you have written would be really helpful to us in helping you.
Regards,
Angrez
On 6/27/07, sourabh jain [EMAIL PROTECTED] wrote:
does watir supports iframe. if yes then how can i click a line defined
Hi,
Try clicking the link which is parent of SPAN element.
ie.link
(:id,entryPanel_levelChooser_panel_stepChooser_tabbedStepChooser_panel_proxyListPanel_proxyTree_i_3_nodeLink).click
- Angrez
On 6/22/07, Ralph [EMAIL PROTECTED] wrote:
Hi,
We have a web client that uses wicket as framework.
catch WIN32OLERuntimeError this exception in the same way as you did for
Watir::Exception::NoMatchingWindowFoundException
- Angrez
On 6/22/07, mihai [EMAIL PROTECTED] wrote:
tnx it works;
i have another problem, please help
i have this error:
Hi,
Can you try this:
ie.link(:text, 'Main Road Nijmegen').click
- Angrez
On 6/22/07, Ralph [EMAIL PROTECTED] wrote:
That will work but that is not what I want... let me explain.
I want to click on item in a list, and this case it is number 3, so that
is why Tree_i_3_nodeLink has the 3 in
Hi,
Try this:
begin
$ie1=IE.attach(:title, /bla bla bla/)
rescue Watir::Exception::NoMatchingWindowFoundException
[ do what you want to do in case you don't find the matching window]
end
Hope this helps.
- Angrez
On 6/20/07, mihai [EMAIL PROTECTED] wrote:
i have a link in $ie wich
Hi,
The question you asked was related to Ruby and not to Watir. I think you
should start reading the book Programming Ruby. It will be there in your
installation directory i.e. where you have installed ruby.
- Angrez
On 6/14/07, sapna [EMAIL PROTECTED] wrote:
Thanks a lot Zeljko. Is there
Hi,
We are working on it. Will let you know the results soon.
Regards,
Angrez
On 6/9/07, jhun [EMAIL PROTECTED] wrote:
Can you please help me. I have this code:
lis = $browser.elements_by_xpath(//li);
lis.each do |li|
$logger.log(value: + li.id);
if (li.id == d.id[4..10])
Hi Vijay,
1. Will watir/firewatir work on Linux? (at this point, I am sure which
flavor of Linux the client uses. I believe, the client would be using 'Red
Hat Linux')
Firewatir will work on Firefox on any platform (Windows/Linux/MacOS). Watir
is only targeted for IE on Windows.
2. Is
Hi,
You can refer to following link for more details on how to format date.
http://www.ruby.ch/ProgrammingRuby/htmlC/ref_c_time.html#strftime
- Angrez
On 5/30/07, sapna [EMAIL PROTECTED] wrote:
Hi,
Can you tell me how to fetch today's date and decrement month or day or
year. This is
Hi,
yday() is method that is defined for object of Time class. But your method
invocation of yday() doesn't seems to be on object of time class.
following should work
require 'date'
positivedate=(Time.now) # Object of time class
day_of_the_year = positivedate.yday() # Invoke
Hi Gary,
Since you are starting a new thread for handling pop up. The text that you
are sending to console will not be available to you. Also the captureText
that you are writing won't be able to help you because the pop up will
already be closed by start_js_clicker.
If you look at the file
Hi,
type:
id:
name:
value:
disabled: false
src: http://blahmachine/blahapplication/blahicons/blah.gif
file date:04/23/2007
file size:1246
width:17
height: 17
alt:
And from IRB if I type:
irb(main):135:0 puts fr.images[1].attribute_value(file date)
nil
= nil
Hi,
Can you give this a try?
e = REXML::Document.new(ie.text).root.elements
e[/tokens/ShortUrl[starts-with(@url,
resetpassword.aspx?m=7fb83717-9606-4022-bd4e-67b6f6582ada].attributes[url]
As you already know value of 'm' in query string you can create a string a
give it a try.
- Angrez
Hi,
With Watir 1.4.1 you can use xpath to access such elements.
tr = ie.element_by_xpath(//[EMAIL PROTECTED]'12345'])
- Angrez
On 5/10/07, Andrew Kuzmin [EMAIL PROTECTED] wrote:
Hi All,
Is there any way to access an element by a custom attributes value ?
In my situation, for our web
Hi Chris,
I was able to click on the help link which opened in new window. Currently
you can connect to only new window not new tab. Make sure you have allowed
popups for that site. I got error that Firefox prevented from opening a pop
up from the site. When I allowed pop ups I was able to click
Hi,
The element you are trying to click is not an image element i.e. not of type
image. But its input type=image
which is different. So you should try using following code.
ie.button(:src, /search_top/i).click
If you use your code 'Watir' is correctly clicking the image which is having
the
/firewatir-1.0.2/
On 5/3/07, Chris McMahon [EMAIL PROTECTED] wrote:
On 5/3/07, Angrez Singh [EMAIL PROTECTED] wrote:
Hi Chris,
You might want to have a look at this for installing FireWatir or MAC OS
X.
http://crasch.livejournal.com/550521.html
According to the troubleshooting section
hi,
this is simplest code that you can have:
start_jsalert_clicker
$ie.button(:name,[some_name]).click
read_js_popup_contents
# This only clicks ok button. Change teh path accordingly.
def start_jsalert_clicker
Thread.new{ system(rubyw
with watir.or ru talking about autoit tool..
Regards
Shalini
On 4/26/07, Angrez Singh [EMAIL PROTECTED] wrote:
Hi,
Simply saying its not working won't be of any help :). Did you get any
errors, exceptions? Make sure that IE is in focus when you use the code. Is
autoit installed properly? Same code
] how to capture text from popup window
To: wtr-general@rubyforge.org
HI,
No im not getting any exception,error..
but it becomes silent ...like not doing any thing...
just command promt remains open..
nothing happens..
regards
shalini gupta
On 4/26/07, Angrez Singh [EMAIL
/26/07, Angrez Singh [EMAIL PROTECTED] wrote:
Hi,
Did you modified WindowHelper.rb file? You need to update
push_alert_button method to log the text of pop up to file c:\test.txt.
Regards,
Angrez
On 4/26/07, SHALINI GUPTA [EMAIL PROTECTED] wrote:
hi,
i have used ur code as..
Yes
Hi,
Few mistakes:
1. You are adding text to file called popup.txt and reading from test.txt
def push_alert_button
@autoit.WinWait Windows Internet Explorer,
text = @autoit.WinGetText Windows Internet Explorer
file = File.open(c:\\popup.txt, w)
file.puts text
Hi Russ,
Which watir version are you using?
Regards,
Angrez
On 4/26/07, Russ DeWolfe [EMAIL PROTECTED] wrote:
I get this when I try that solution:
NoMethodError: undefined method `attribute_value' for
#Watir::TableCell:0x2dd8e
f0
___
Wtr-general
Hi,
As far as I know, clicking some button on Pop up window happens in a
different process (different from current process in which your script is
running). Correct me if I am wrong here?
You can get the text using AutoIt3 and WinGetText method. The only thing you
need to find out is how you
Hi Vikash,
As of now you can't do that in Firewatir. You can only attach to windows
using an instance of Firefox. This is by design as we have to maintain all
the browser instances that are currently opened and close them accordingly.
Will try to come up with a solution which works like Watir
Hi Sadeesh,
Is it possible for you to post the sample output as in how it looks?
Certainly looking at the output one could be able to help in telling whether
you can use Watir for testing or not.
Regards,
Angrez
On 4/19/07, Sadeesh Vinoth [EMAIL PROTECTED] wrote:
Can anyone help me.
Hi,
Sorry my fault for not telling the correct way to get REXML. You can
download the Development [zip] which will download rexml_3.1.6.zip to your
machine. Unzip and run 'install.rb' file. Then try the code with comma
included.
Regards,
Angrez
On 3/30/07, rkkanneganti [EMAIL PROTECTED] wrote:
Hi,
Can you replace your functions.rb file in [ruby installation
dir]/blib/ruby/1.8/site_ruby/rexml/ with the one that is attached and try
the code again.
Regards,
Angrez
On 3/30/07, rkkanneganti [EMAIL PROTECTED] wrote:
hi angrez
following is the step by step of the code being executed
##
Hi,
looks like the bad luck is still continuing. I had copied your
functions.rbattachment. In my system the path was like this
c:\ruby\lib\ruby\1.8\rexml\
:) .. .it happens, can you just send the code or the test case you are
using. I'll try running it here on my machine.
Will solve this
I was a silly mistake,
typo ,:-)
It was a silly mistake.
- Angrez
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Hi,
I was a silly mistake,
tarted
# select element that has text Mark as Read
#element = ie.element_by_xpath(//lihttp://contains(.,'Mark as Read'))
ie.element_by_xpath(//li[contains(.,'Mark as Read')])
I gave you the correct code to select the element but you are not assigning
it to any
Hi,
try this:
ie.image(:src, some path).click()
- Angrez
On 3/30/07, ankur bajpai [EMAIL PROTECTED] wrote:
Hi
I am very new to Ruby-Watir and i am facing a problem in clicking a button
which has no input name
The HTML is like
tr bgcolor=#cctda
target=_selfhref=(some path)img src=(some
Hi,
I uses XPath to get the element. Actually if you see the HTML the Mark as
Read is an LI element for which I think there is no class in watir. One way
is to create you own class inheriting for Element class. Other way is to
find the element and click it.
Did you tried the code that I sent in
hi,
can you send me the line which is giving this error? I didn't got even a
single error on my machine using this script
Regards,
Angrez
On 3/29/07, rkkanneganti [EMAIL PROTECTED] wrote:
hi angrez
I made changes to the code as you said.. and i am getting this exception
wrong number of
Hi,
ie.element_by_xpath(//li[contains(.'Mark as
Read')])## New code provided by you
I think you are missing a comma (,) between dot (.) and Mark as Read or is
it a typo.
Regards,
Angrez
___
Wtr-general mailing list
Hi,
Please provide enough information while sending the error.
Can you just try installing latest version of REXML (http://
www.germane-software.com/software/*rexml*/)?
Regards,
Angrez
On 3/30/07, rkkanneganti [EMAIL PROTECTED] wrote:
hi angrez
when the comma is kept before Mark as Read
hi,
Can you just let me know the script that you are using and the watir
version?
- Angrez
On 3/28/07, rkkanneganti [EMAIL PROTECTED] wrote:
when i called the test case ie yahoo mail mark the first file, i am
getting the exception or error as
undefied method 'element' for nil:NilClass
Hi,
What are the differences/limitations of each of these other than Watir works
on IE and Selenium IDE works on Firefox?
Regards,
Angrez
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Hi,
I think the code usage is not correct.
element = ie.element_by_xpath(//lihttp://contains(.,'Mark as Read'))
its ie.element_by_xpath(//li[contains(.'Mark as Read')])
# Print properties of the element just to make sure you selected correct
element.
Is this comment on single line?
Hi,
Why you have uninstalled Ruby? Any reasons.
Regards,
Angrez
On 3/27/07, Simba [EMAIL PROTECTED] wrote:
I have download Development version of Watir( Watir-bonus-1.5.1.1158 )
But when i give gem install Watir in CMD prompt ,its Installing
Watir.1.4.1 instead of watir 1.5.1.1158 [It says
Hi Mathew,
The above code works on my machine. It certainly marks the message as read
or unread.
Can you try the code and let me know what happens?
- Angrez
'PS: It has not been tested against Yahoo beta mail.
On 3/27/07, Mathew Jacob [EMAIL PROTECTED] wrote:
Not able to select the button
PROTECTED] *On Behalf Of *Angrez Singh
*Sent:* Tuesday, March 27, 2007 7:08 PM
*To:* wtr-general@rubyforge.org
*Subject:* Re: [Wtr-general] Unable to select the button from button-menu
Hi Mathew,
The above code works on my machine. It certainly marks the message as read
or unread.
Can you try
* *
*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 27, 2007 7:33 PM
*To:* wtr-general@rubyforge.org
*Subject:* Re: [Wtr-general
Hi,
You can use xpath to get custom element. XPath works only with watir
versions 1.4.1
Regards,
Angrez
On 3/24/07, x y [EMAIL PROTECTED] wrote:
Hi,
I'm new to this tool and learning through. Currently I'm facing a problem
while starting the script: weare using the WinRunner and the
PROTECTED] *On Behalf Of *Angrez Singh
*Sent:* Friday, March 23, 2007 11:06 AM
*To:* wtr-general@rubyforge.org
*Subject:* Re: [Wtr-general] Unable to select the button from button-menu
Hi Mathew,
Just looked at the Yahoo mail app (not the beta one) and had a look at the
HTML. The options that you
-30516346,
Mobile:+91-9945849925*
--
*From:* Angrez Singh [mailto:[EMAIL PROTECTED]
*Sent:* Friday, March 23, 2007 4:57 PM
*To:* Mathew Jacob; wtr-general@rubyforge.org
*Subject:* Re: [Wtr-general] Unable to select the button from button-menu
Hi,
Sorry forgot to mention
Hi Mathew,
Just looked at the Yahoo mail app (not the beta one) and had a look at the
HTML. The options that you are trying to select like Mark as Read, Mark
as Unread are in li tags. So you need to access them using xpath and then
fire click event. Following code works for me for marking first
: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
*Regards,*
*Mathew*
*Ya**ho**o India, EGL, Bangalore – 71, Phone:+91-80-30516346,
Mobile:+91-9945849925*
--
*From:* Angrez Singh [mailto:[EMAIL PROTECTED]
*Sent:* Tuesday, March 20, 2007 5:54 PM
*To:* wtr-general@rubyforge.org
*Cc:* Mathew Jacob
*Subject:* Re: [Wtr
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
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 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,
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 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 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 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 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,
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 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 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,
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,
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 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 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 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 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 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,
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,
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,
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,
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 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 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 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,
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,
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,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
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 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
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 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
1 - 100 of 154 matches
Mail list logo