string_a =~ /#{string_b}/
Thanks.
Wesley Chen.
On Sun, Jun 21, 2009 at 2:36 PM, ryan li sunraise2...@gmail.com wrote:
a=how
howabc =~ /how/#will return 0
my question is how to make regular expressoin /how/ to a variable, such as
howabc =~ /puts a/
thanks in advance
I am sure you can fix the problem by yourself.
index =1 means the first element
if index =2, means the second element in the HTML
Thanks.
Wesley Chen.
On Tue, Jun 16, 2009 at 3:37 PM, Rahul Ahuja mightyah...@gmail.com wrote:
Thanks Wesley,
But the solutions shared by you doesn't seems
puts ie.cell(:id,...).text
Thanks.
Wesley Chen.
On Mon, Jun 15, 2009 at 2:48 PM, Rahul Ahuja mightyah...@gmail.com wrote:
I want to compare value of textfield appeared on webpage with
expected
output.
for example:
One my web application; i have a submit button. Wheneven I click
assert $ie.link(:text, ***).value.eql?($ie.link(:text, ***2))
Thanks.
Wesley Chen.
On Mon, Jun 15, 2009 at 7:27 PM, Vishal bvkon...@gmail.com wrote:
Hi,
I have to 2 web pages, I need to compare values of Link text
between two pages.
Please suggest how to do this.
Thanks
Vishal
Sorry, please try:
assert $ie.link(:text, ***1).value.eql?($ie.link(:text, ***2).value)
Thanks.
Wesley Chen.
On Mon, Jun 15, 2009 at 9:58 PM, Wesley Chen cjq@gmail.com wrote:
assert $ie.link(:text, ***).value.eql?($ie.link(:text, ***2
the :index =2 in the code above.
Expect it could help.
Thanks.
Wesley Chen.
On Mon, Jun 15, 2009 at 8:12 PM, Rahul Ahuja mightyah...@gmail.com wrote:
Hi,
I am facing a similar issue at some other page in the application.
Here is the sample HTML code for your ready reference:
The text I am
MSN: cjq_...@sina.com
Thanks.
Wesley Chen.
On Mon, Jun 15, 2009 at 1:22 PM, jane.liu jane.li...@hotmail.com wrote:
it remain prompt me:
new_appriasal.rb:27: undefined method `set' for #Watir::SelectList:
0x2e39c14 (NoMethodError
suggestion would be quite appreciated.
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read
the Windows Task Manager
In my system, wwo new process will be added, then one is closed, another
will keep alive
But in my other workmate's machine, two process are both closed.
So, any suggestion about this kind of problem?
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You
Thank you, guys, I think it is better if I use excel to do that, although it
is more complex.
Thanks.
Wesley Chen.
On Fri, Jun 12, 2009 at 8:38 PM, Felipe Knorr Kuhn fkn...@gmail.com wrote:
Hello,
I use the following in my scripts:
require yaml
@urls = YAML.load_file(urls.txt)
@url
I think you have to do that:
$:.unshift File.join(File.dirname(__FILE__))
require 'test01'
In some editor, such as Netbeans, if you require file name directly, it
always find in the Lib folder.
Thanks.
Wesley Chen.
On Sat, Jun 13, 2009 at 7:23 AM, Chuck van der Linden sqa...@gmail.comwrote
Hi, Guys,
I would like to read from a file, when I read a line, I would like to delete
this line in the file, until all the file is read.
Any suggestion would be quite appreciated.
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received this message because you
The file format is txt format.
Thanks.
Wesley Chen.
On Fri, Jun 12, 2009 at 12:12 PM, Wesley Chen cjq@gmail.com wrote:
Hi, Guys,
I would like to read from a file, when I read a line, I would like to
delete this line in the file, until all the file is read.
Any suggestion would
again
If there are thousands of links in the file,
I think it really waste the system's space.
Any other better method to do that?
Thanks.
Wesley Chen.
On Fri, Jun 12, 2009 at 12:12 PM, Wesley Chen cjq@gmail.com wrote:
The file format is txt format.
Thanks.
Wesley Chen.
On Fri, Jun
Now, I can make it by :
ie.frame( ).link( ).document.getAttribute(xxx)
Anything goes well.
For the link, element_by_xpath is not necessary.
ie.link( ).document.getAttribute(***)
Anything wrong, please tell me.
Thanks.
Wesley Chen.
On Mon, Jun 8, 2009 at 8:47 PM, jason jason.franklin.sto
the *!-- server01 -- *, how can I make it? how
can I get *!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;?*
Any suggestion would be quite appreciated.
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received
Thank you, Jason, it works. I just think may be a method like *
ie.document.body.getHead* or something else.
Have you got any other suggestion about another question? :)
Thanks.
Wesley Chen.
2009/6/8 jason jason.franklin.sto...@gmail.com
how about...
ie.html.match(/head.+?\/head/)[0
Hi, Jason,
Thank you very much, it works. But really complex.
Thanks.
Wesley Chen.
2009/6/8 Jonny Xu jonn...@hotmail.com
Hi Wesley,
Hope this is what you want.
http://www.rhinocerus.net/forum/lang-ruby/562943-html-method-watir-dont-return-real-html.html
Best Regards,
Jonny
Mailfactory works great, it can send the attachments freely.
http://mailfactory.rubyforge.org/
Thanks.
Wesley Chen.
On Sun, Jun 7, 2009 at 5:56 PM, tknv rreedd...@gmail.com wrote:
Hello et.,al.
I think this blog is help attach file.
Example use Gmail:SMTP.
http://gusortiz.wordpress.com
)
Thanks.
Wesley Chen.
On Mon, Jun 8, 2009 at 8:20 PM, jason jason.franklin.sto...@gmail.comwrote:
try somthing like
ie.frame(:index, 1).form(:name, q).getAttribute(autocomplete)
Jason
On 8 Jun., 14:07, Wesley Chen cjq@gmail.com wrote:
Hi, guys,
By the following code, I can get
required (Net::SMTPUnknownError)*
So, how can make it I can send the email by the ruby code?
Any suggestion would be quite appreciated.
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir
.
Thanks.
Wesley Chen.
On Sat, Jun 6, 2009 at 12:51 AM, Felipe Knorr Kuhn fkn...@gmail.com wrote:
Did you try the following?
SMTPhttp://www.ruby-doc.org/stdlib/libdoc/net/smtp/rdoc/classes/Net/SMTP.htmlAuthentication
The
Net::SMTPhttp://www.ruby-doc.org/stdlib/libdoc/net/smtp/rdoc/classes/Net
But do you know how to send an attachment in the email?
Thanks.
Wesley Chen.
On Sat, Jun 6, 2009 at 1:12 AM, Wesley Chen cjq@gmail.com wrote:
Hi, Felipe,
Thank you very much, it is really helpful, :).
There is a great contributor below.
http://notepad.onghu.com/2007/3/26/sending-email
would be quite appreciated.
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read
:), Nice to hear that.
People in the group are always warm-hearted, so please keep in grateful in
our life.
Thanks.
Wesley Chen.
On Fri, Jun 5, 2009 at 4:35 AM, Santhosh Paul santhoshp...@gmail.comwrote:
Hi All
I wanted to fetch some ruby scripts like $browser.link(:href,/
submit
are interested in it.
Thanks.
Wesley Chen.
On Sat, May 30, 2009 at 3:32 PM, Venkat venkateshla...@gmail.com wrote:
I wrote a code to click on button
ie.button(:id, action_button).click
But I am getting following errors:
C:\Documents and Settings\\Desktopruby two-minute.rb
C:/Ruby/lib/ruby/gems
Please don't try on Gmail.
It is too complex and it can't represent the common cases, so it is useless.
Thanks.
Wesley Chen.
On Tue, May 26, 2009 at 1:51 PM, tknv rreedd...@gmail.com wrote:
hi et,.al.
I'd like to open gmail message for test sending password is collect or
not.
That's why
appreciated.
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines
that?
Thanks.
Wesley Chen.
On Mon, May 25, 2009 at 7:00 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
On Mon, May 25, 2009 at 12:56 PM, Wesley Chen cjq@gmail.com wrote:
str1=$ie.goto('www.google.com')
exec(str1)
Why are you doing that? Why not just this?
$ie.goto
Hi, Alex,
Thank you very much, it works great!
Thanks.
Wesley Chen.
On Mon, May 25, 2009 at 9:40 PM, Alex Collins a.j.collins...@gmail.comwrote:
Wesley,
Replace exec() with eval() - this will run (evaluate) the Ruby code you
provide as an argument to it, in the current context.
Best
It is not enough if you just provide the JS.
Generally, if you would like to click the calendar, we have to do:
1. Identity what the calendar is, a frame? or just a table;
2. If it is a frame, you have to:
$ie.frame( ).table( )[3][4].click
Thanks.
Wesley Chen
Please don't put your eyes on the rare cases, but on the most important
part.
When we can do our most automation test in Watir, we think it is perfect. Do
you think so?
Thanks.
Wesley Chen.
On Tue, May 12, 2009 at 8:18 PM, SushilKarwa sushil.ka...@gmail.com wrote:
Thanks for your help. I
Would you please put your html here?
Thanks.
Wesley Chen.
On Mon, May 11, 2009 at 4:38 PM, Shweta nagman...@gmail.com wrote:
Hi
I have a scenario where i need to click on every link in table then i
need to verify in next page.
I was using the below code:
myTable=ie.table(:index, 10
.
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines
Thank you, Jarmo,
I have the same thought as you. After all, spelling 'options' is much easier
than 'getAllContents'
For now, I think I have to stil use the old select_list methods, :),
Thanks.
Wesley Chen.
On Tue, Apr 28, 2009 at 6:26 PM, Jarmo Pertman jarm...@gmail.com wrote:
For some
?
Thanks.
Wesley Chen.
On Tue, Apr 28, 2009 at 5:16 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
On Tue, Apr 28, 2009 at 07:55, Wesley Chen cjq@gmail.com wrote:
How to use the select list methods on page:
http://wiki.openqa.org/display/WTR/Selection+Boxes
Any limitations
saying?
Thanks.
Wesley Chen.
On Tue, Apr 28, 2009 at 6:18 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
http://www.ruby-doc.org/core/classes/Module.html
Instance methods appear as methods in a class when the module is included,
module methods do not.
module A
def self.m1
That maybe a frame, but I think it is not housed well enough.
Thanks.
Wesley Chen.
On Tue, Apr 28, 2009 at 12:33 AM, Chris christopher.mcma...@gmail.comwrote:
ate it if you let me know.
--~--~-~--~~~---~--~~
You received this message because you
Hey, guys,
How to use the select list methods on page:
http://wtr.rubyforge.org/rdoc/classes/Watir/SelectList.html
Any limitations to use the great methods?
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received this message because you are subscribed
said that, Watir maybe a potential tool for performance testing,
would you work on it, make Watir fit for performance testing or create
another Frame in Ruby for performance testing?
Thanks.
Wesley Chen.
On Sat, Apr 25, 2009 at 1:55 AM, Bret Pettichord b...@pettichord.comwrote:
Some notes on my
code 2
in your eclipse ruby project;
Add multiple-line comment
=begin
your code 1
your code 2
=end
Sometimes, the mess code turns up.
So, I turn to use Netbeans, as long as now, anything looks good.
Thanks.
Wesley Chen.
On Thu, Apr 23, 2009 at 2:18 AM, Lisa Crispin lisa.cris...@gmail.comwrote
the file name of thread.rb to other.rb, anything comes back.
Really weird.
Expect some experts can give me a hand, why it turns up.
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General
I have used netbeans for a long time, of course I know the environment
deployment of it, :)
Thanks.
Wesley Chen.
On Wed, Apr 22, 2009 at 12:13 AM, Jim Matthews jim_m...@swbell.net wrote:
Wesley,
Have you set the run environment to use your externally installed
Ruby instead of JRuby
I have met a problem.
There is a checkbox, when I click it, it pops up a dialog with OK button
on it.
How can I click the OK button on it?
Is there any set_no_wait method and then click OK?
Any suggestion would be quite appreciated.
Thanks.
Wesley Chen.
On Tue, Feb 17, 2009 at 1:51 AM, Bret
Thanks, I make few changes and get it down. :)
Now, we can use click_no_wait, select_no_wait, set_no_wait.
module Watir
class Element
#select_no_wait - selects a drop-down element spawning a new
process.
#this is needed to close potential pop-ups that select drop-down can
)
win32-file-stat (1.3.2)
win32-process (0.5.9)
win32-sapi (0.1.4)
win32-sound (0.4.1)
windows-api (0.2.4)
windows-pr (0.9.4)
wxruby (1.9.9)
xml-simple (1.0.11)
Thanks.
Wesley Chen.
On Sat, Apr 11, 2009 at 8:40 AM, George george.sand...@gmail.com wrote:
actionmailer (2.3.2)
actionpack (2.3.2
(12:23:24, 17:23:22)
Thanks.
Wesley Chen.
On Wed, Apr 8, 2009 at 8:19 PM, Prince3105 prince3...@gmail.com wrote:
start_time = Time.parse(start_time)
end_time = Time.parse(end_time)
total_time = end_time - start_time
--~--~-~--~~~---~--~~
You
Hi, Chuck,
:), to be honest, in my current code, I have the same approach as you have
used before.
In the approach, I can abandon the verify or assert completely. I think it
is not good enough.
Maybe I have to spend some time on Watircraft. Maybe I can make my frame
easier, :).
Thanks.
Wesley
script?
It is said that, python, jython by frame Grinder may be good.
Which script would be perfect to choose for the performance test?
Can you guys show your opinion and some documents/articles links?
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received
), arra includes arrb)
test(arra.eql?(arrb), arra equals to arrb)
When the boolean is not true, I would like to get the info why they don't
match/equal/include.
Any suggestion would be quite appreciated.
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received
.
Wesley Chen.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines:
http
You may try:
ff.show_frames
Thanks.
Wesley Chen.
On Thu, Apr 2, 2009 at 10:44 PM, jason jason.franklin.sto...@gmail.comwrote:
I have looked and looked through the docs and I simply cannot find an
answer to this.
after calling
doc = firefox.goto(some_url)
I would like know what frames
You may try
ie.checkbox( ).isSet?
Thanks.
Wesley Chen.
On Fri, Apr 3, 2009 at 1:03 AM, satish spanchumar...@gmail.com wrote:
I have a checkbox, I have to perform check every time whether it is
checked or not.
Can some one help me with code.
Thank you,
Satish
Hi, Jarmo,
Thank you very much, it is really useful.
Thanks.
Wesley Chen.
On Wed, Apr 1, 2009 at 3:34 PM, Jarmo Pertman jarm...@gmail.com wrote:
require 'rubyscript2exe'
require RUBYSCRIPT2EXE.exedir + '/something'
--~--~-~--~~~---~--~~
You received
Thank you very much, Zeljko.
Thanks.
Wesley Chen.
On Sun, Mar 29, 2009 at 4:40 AM, Charley Baker charley.ba...@gmail.comwrote:
I liked it a lot, read it this morning. It's a great intro to how to
contribute to Watir or any github project from scratch. :)
-c
On Sat, Mar 28, 2009 at 2:18
Suppose there are two browsers, one is ie1, another is ie2, the separate
browser.
You may achieve it by:
ie2.do_something
ie2.close
ie1.refresh
ie1.wait
ie1.do_something.
Thanks.
Wesley Chen.
2009/3/24 Darin Duphorn dduph...@redbrickhealth.com
Brett,
Within this synchronization
begin
rescue =e
puts e.message
puts e.backtrace
end
Thanks.
Wesley Chen.
On Wed, Mar 25, 2009 at 4:04 AM, watirRookie ukj...@hotmail.com wrote:
hello,
I am fairly new to watir and ruby in general. I am trying to automate
some web testing that requires to check
How many text fields are on the www.google.com page?
I think :index =2 should be after :name =q
Thanks.
Wesley Chen.
On Mon, Mar 23, 2009 at 1:20 PM, Isabel joybe...@gmail.com wrote:
Hi,
I tried to use the code below to set a value in the text box of the
google search page.
require 'watir
May be It is not a form.
Thanks.
Wesley Chen.
On Thu, Mar 19, 2009 at 2:35 PM, alexey s. radiact...@gmail.com wrote:
next code:
p ff.form(:id, /delete_access34074/).exist?
html = ff.html
p html.scan(/id=\delete_access34074\/)
And I execute this:
$ ruby test.rb
false
[id
For this form, where is the name f? And the id delete_access41599 is
rand?
Thanks.
Wesley Chen.
2009/3/19 alexey s. radiact...@gmail.com
where is the id delete_access34074?
It's other page and form:
form action=user.pl method=post id=delete_access41599
input type=submit value=Отвязать
Sorry, should be clearSelection
Thanks.
Wesley Chen.
On Thu, Mar 19, 2009 at 7:52 PM, nagmani vm nagman...@gmail.com wrote:
This code is not working am getting error like this:
undefined method `clear' for #Watir::SelectList:0x415b4f0
(NoMethodError)
On Thu, Mar 19, 2009 at 5:16 PM
When you have questions, please ask on the group so that everybody can see
it.
Few months ago, I am the same kind of new guy as you in Watir, :), but I
still have to study a lot.
I will try my best to help you.
Thanks.
Wesley Chen.
On Thu, Mar 19, 2009 at 7:59 PM, nagmani vm nagman
When you would like to ask a question, please search in the group at first.
In fact, there are many existing good though in the group about your
question.
When you compile the script again and again, meet different kind of problems
and then solve them, you may study more.
Thanks.
Wesley Chen
Two steps to make the .rb file to .exe file.
1. go to your command line, run
gem install rubyscript2exe
2. Go to your main.rb file directory, run
rubyscript2exe main.rb
It will make the main.rb into main.exe
Thanks.
Wesley Chen.
On Sat, Feb 28, 2009 at 12:50 AM, Jarmo Pertman jarm
be executed?
Any suggestion would be quite appreciated.
Thanks.
Wesley Chen.
On Wed, Mar 18, 2009 at 8:22 PM, wesley chen cjq@gmail.com wrote:
Two steps to make the .rb file to .exe file.
1. go to your command line, run
gem install rubyscript2exe
2. Go to your main.rb file directory, run
a long way for me to complete it, but cheer up!
Thanks.
Wesley Chen.
On Mon, Mar 16, 2009 at 5:35 PM, Natasha Ranney itsn...@yahoo.co.uk wrote:
Hi All,
I have been into testing for about 6 years. My testing experience has
mostly been into testing on unix platforms and C-Api testing.
My current
Try: ie.cell(:xpath, //td[contains(text(), 'Sales')]/).click
Thanks.
Wesley Chen.
On Mon, Mar 16, 2009 at 8:56 PM, Shylaja shylaja.ra...@gmail.com wrote:
ie.cell(:xpath, //td[contains(., 'Sales')]/).click()
--~--~-~--~~~---~--~~
You received this message
You may know all the ie windows attributes by:
Watir::IE.each { |ie|
puts ie.title
puts ie.url
}
You can locate the special ie window by:
ie=Watir::IE.find(:title,/ie_title_name/) # ie=Watir::IE.find(:url,
/ie_url/)
ie.goto(...)
Thanks.
Wesley Chen.
On Mon, Mar 16, 2009 at 9:54 PM, Al Snow
Thanks.
class.instance_methods
module.instance_methods make it.
Thanks.
Wesley Chen.
On Thu, Mar 12, 2009 at 5:32 PM, wesley chen cjq@gmail.com wrote:
Hi, Zeljko,
Sorry, I have not demonstrated clearly enough.
Suppose I have written a module or a class, in the module or class, I have
Hi, Zeljko,
Sorry, I have not demonstrated clearly enough.
Suppose I have written a module or a class, in the module or class, I have
written many methods. I would like to print all my methods out.
How can I make it?
Any suggestion would be appreciated.
Thanks.
Wesley Chen.
On Thu, Mar 12
:), you're right.
Thanks.
Wesley Chen.
On Thu, Mar 12, 2009 at 4:49 PM, Jarmo Pertman jarm...@gmail.com wrote:
Why did you use all of this while loop and Time.now and stuff, when
sleep 5*60 was the only line needed to sleep for 5 minutes?
Jarmo
On Mar 5, 3:15 am, wesley chen cjq
Hi, Guys,
How to print the methods in the class or module out?
Any suggestion would be appreciated.
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this group
Why don't you search in the group? There are hundreds of articles and
answers in the group. I am sure you can find what you want in it.
Thanks.
Wesley Chen.
On Wed, Mar 11, 2009 at 5:17 PM, nagmani vm nagman...@gmail.com wrote:
Hi
Can you pls let me know how to upload a file in RUby watir
Suppose I have an array arr1 like: [2, 3, [2, 3, 2]]
When I use: p arr1,
I will get: [2, 3, [2, 3, 2]]
I would like to save the [2, 3, [2, 3, 2]] as a string
[2, 3, [2, 3, 2]], how to make it?
Appreciated to any suggestion.
Thanks.
Wesley Chen
When I practice on excel methods, I can make the columns a:d to autoFit by:
@@worksheet.columns(a:d).AutoFit
Is there any method shrink to fit?
Can anybody provide the documents or url talking about MS excel methods?
Appreciate to any suggestion.
Thanks.
Wesley Chen
Hi, Tiffany,
Thank you very much.
Thanks.
Wesley Chen.
On Wed, Mar 11, 2009 at 3:14 AM, George george.sand...@gmail.com wrote:
Thanks for the link, Tiffany! A lot of good stuff here.
On Mar 10, 9:01 am, Tiffany Fodor tcfo...@comcast.net wrote:
Hey Wesley!
I've never seen anything
I tried you methods, they are all OK.
Thanks.
Wesley Chen.
On Fri, Mar 6, 2009 at 10:05 PM, suresh babu ksb25...@gmail.com wrote:
div class=clear/div
div class=buttonholder
div class=btnleft/div
input name=addbutton value=Add onclick=AddButton
If you install Ruby in your c:\, please run command:
regsvr32 C:\ruby\lib\ruby\gems\1.8\gems\watir-1.6.2\lib\watir\AutoItX3.dll
Thanks.
Wesley Chen.
On Tue, Mar 3, 2009 at 5:23 PM, Vikas Tulashyam vtulash...@gmail.comwrote:
Hi Friends,
I am not able to use the maximize method of IE class
Hi, Prince, please try the code below:
require 'watir'
def date_validation( source, count, operation)
start_date = source
date = Date.strptime(start_date, '%d-%b-%Y')
if operation == a or operation==A
date += count
elsif operation == d or operation==D
date-= count
, 2.1.1)
activesupport (2.2.2, 2.1.1)
with dependent attributes
then select the old version
After that, I won't need restart my system and uninstall ruby, I find:
require 'watir'
$ie=Watir::IE.new
can work.
You may have a try.
If you failed, you can do as the previous letter.
Thanks.
Wesley Chen
Sorry, we can also remove the old version of
actionmailer (2.2.2, 2.1.1)
actionpack (2.2.2, 2.1.1)
activerecord (2.2.2, 2.1.1)
activeresource (2.2.2, 2.1.1)
activesupport (2.2.2, 2.1.1)
We can remove all the 2.1.1 version
because the 2.2.2 dependent with each other with 2.2.2
Thanks.
Wesley Chen
well.
Thanks.
Wesley Chen.
On Tue, Feb 17, 2009 at 4:32 AM, Ben benoit.lem...@gmail.com wrote:
Hi Jaz,
No... I didn't contact Daniel Berger yet because I wanted to do some
more tests. I added more debug info to the involved gems and I found
that the problem occurs at line 35 of windows
There are many kinds of pop up window. Which kind would you like to forbid?
You can search on the net about how to avoid the pop up by setting in
Internet - Option.
You many make a summary about it. That would be helpful to all of us.
Thanks.
Wesley Chen.
On Mon, Feb 23, 2009 at 10:27 PM
Add $HIDE_IE=true
before your IE process has been created.
Thanks.
Wesley Chen.
On Sat, Feb 21, 2009 at 1:59 AM, Jason Shelton jas.shel...@hotmail.comwrote:
All,
Is there a new way of hiding the browser with Watir? It seems that
ie.visible = false no longer works. Thanks alot
I will unsubscribe you right now.
Thanks.
Wesley Chen.
On Fri, Feb 20, 2009 at 1:31 PM, Parul Upadhyay parul.upadh...@infogain.com
wrote:
Hi friends,
I need ur help regarding my account with watir.
I want to unsubscribe my mail Id as I get around 50-60 mails per day and
even more than
Is it OK object.disabled?
Thanks.
Wesley Chen.
On Wed, Feb 18, 2009 at 2:22 PM, Prince3105 prince3...@gmail.com wrote:
Hi Experts,
I am a newbie to watir, in my application i have a scenario to check
whether the table cells are enabled or not, after committing.
I used obj.enabled
Why don't you try $ie.radio(...).checked?
Thanks.
Wesley Chen.
On Tue, Feb 17, 2009 at 2:44 PM, jam ruby.wa...@gmail.com wrote:
Hi,
how to check whether radio button is set or not. I tried with set?.
does't work. How to do this?
Thanks,
Jam
Would you please provide more detail html information?
Thanks.
Wesley Chen.
On Fri, Feb 13, 2009 at 7:32 PM, jam ruby.wa...@gmail.com wrote:
Hi,
Iam having a menu which is getting identified as a link. when I click
it iam getting a sub menu. where the submenu items are getting
identified
Try
require File.dirname(__FILE__)+'/../***.rb
Thanks.
Wesley Chen.
On Fri, Feb 13, 2009 at 12:46 PM, malar malar.je...@gmail.com wrote:
Hi,
I have to include a ruby program inside another ruby program.
i used the following command,
require ' logintest.rb'
But i am getting
with the functions?
Really appreciate to your help.
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please
('localhost', 'user_id', 'user_password')
db.open('DB_name')
db.query(SELECT * from table_name;)
p db.data
=begin
puts field_names = db.fields
cust = db.data
puts cust.size
puts cust[0].inspect
=end
db.close
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received
try:
@ie.text_field(:name = 'ngids', :index= 2).set('ATP00594978')
Thanks.
Wesley Chen.
On Mon, Feb 9, 2009 at 2:04 PM, Venugopal Devarakonda
venugopal.devarako...@gmail.com wrote:
Hi:
The attached the snap shot of my webpage which has 2 blocks both identical
in terms of class names
Try code below:
require 'watir'
$ie=Watir::IE.start(http://www.lijit.com/users/seatanaka;)
$ie.form(:id,/pvssearchbox_form/).text_field(:name,'q').set(wahine)
$ie.button(:value,/Search/).click
Thanks.
Wesley Chen.
On Thu, Jan 22, 2009 at 5:20 AM, ST stan...@lijit.com wrote:
http
Thanks, when we put our opinion here, we may study more from others
suggestion.
Thanks.
Wesley Chen.
On Thu, Jan 22, 2009 at 12:46 AM, dmitry...@gmail.com
dmitry...@gmail.comwrote:
Hey Wesley, Sure thing. Will put up the solution here tonight. :) Just
wanted to make sure I explain it clear
You're welcome.
Thanks.
Wesley Chen.
On Thu, Jan 22, 2009 at 3:34 PM, ST tanaka.sh...@gmail.com wrote:
This code worked! Thanks so much for your help and quick replies,
Wesley!
On Jan 21, 6:30 pm, wesley chen cjq@gmail.com wrote:
Try code below:
require 'watir'
$ie=Watir
Please try the code below.
require 'watir'
$ie=Watir::IE.attach(:title,//)
$ie.text_field(:name,'q').flash
$ie.text_field(:name,'q').set(Google search)
$ie.button(:value,/Search/).click
Thanks.
Wesley Chen.
On Wed, Jan 21, 2009 at 7:47 AM, ST stan...@lijit.com wrote:
div id=pvssearchbox
Why don't you put your solution here and let more people learn from you?
Why do you let others consult to you privately?
Thanks.
Wesley Chen.
On Tue, Jan 20, 2009 at 2:26 AM, dmitry...@gmail.com dmitry...@gmail.comwrote:
Thanks guys for the comments guys, I already got it to work. Turned
(:text, Skip for now ).click
which did not work. I believe the character is actually raquo.
Solutions?
Thanks,
Jeremy
--
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General
/table.rb:99:in `[]'
This will work the though
browser.table(:id, /Search_ItemDetail_SpoolGrid/)[15][3].text
Aidy
--
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General
What's the detail information about your div? When the div is clicked, what
will happen?
Thanks.
Wesley Chen.
On Fri, Jan 16, 2009 at 9:14 AM, Michael Hwee michael_h...@yahoo.comwrote:
Try click_no_wait()
- Original Message
From: zeng0...@gmail.com zeng0...@gmail.com
101 - 200 of 236 matches
Mail list logo