$HIDE_IE=true
--:)
Man should be hard to himself, but tolerant to others.
--~--~-~--~~~---~--~~
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
Befo
I think the html code you provided is too little and not reasonable.
If you want to capture so little data on this page, you can use regular
expression.
Wesley
Man should be hard to himself, but tolerant to others.
--~--~-~--~~~---~--~~
You received this message b
def get_new_win()
# get a handle if one exists
aa = Win32API.new("user32", "GetForegroundWindow",[] , 'L')
hwnd = aa.call
if (hwnd) # yes there is a popup
return Watir::IE.attach(:hwnd, hwnd)
else
return nil
end
end
ie1=W
1. Create rb file 1: test1.rb
class Test1
def get_s(str)
puts str
end
end
test1=Test1.new
test1.get_s("test1 rb")
2. Create rb file 2: test2.rb
require 'watir'
class Test2
def test2(str)
puts str
end
end
test2=Test2.new
test2.test2("In test2")
3. Create rb file 3:
Sound great, I will have a try of virtualbox.
Hi, Paul,
which VM is the best in your opinion?
Thanks.
Wesley
Man should be hard to himself, but tolerant to others.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Wat
Would you try
wait_until {frm_strip.button(:id, "btnAddDeals").enabled?}
Wesley
Man should be hard to himself, but tolerant to others.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to
Hi, Bret,
When we use parent, we can go to one level parent node, but if I would like
to go to the root node directly, how to make it?
Thanks.
Wesley
Man should be hard to himself, but tolerant to others.
--~--~-~--~~~---~--~~
You received this message because you
When you ask this kind of problem, would you please provide us with the
detailed html information, or url, or pictures? That will be easy for your
question and you can study it with target.
Wesley
Man should be hard to himself, but tolerant to others.
--~--~-~--~~~---
Hi, Apple,
Thanks very much, I will try your comment later in my machine.
In Chinese operation system, we can only upload the attachment by the method
of autoit?
Thanks.
Wesley
Man should be hard to himself, but tolerant to others.
--~--~-~--~~~---~--~~
You receive
Hi, Wiston,
Your script won't work, it just open the choose file dialog and then hang.
Would you please retest the script again?
Thanks.
Wesley
Man should be hard to himself, but tolerant to others.
--~--~-~--~~~---~--~~
You received this message because you are
1. Put something into the document frame field:
ie.frame(:id, "").document.body.focus
ie.send_keys("str")
2. Put the html out in the document frame field:
puts ie.frame(:id, "").document.body.innerHtml (or innerText)
3. elements in frame
ie.frame(:name, //).link(:id,//).click
If you have any other
You just need use focus, such as:
ie.frame(:id, //).document.body.focus
ie.send_keys(...)
Wesley
Man should be hard to himself, but tolerant to others.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General"
That's great!, I think it is quite useful.
Thanks.
Wesley Chen.
If you think I can help you, please tell me, I will try my best.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
e the
page passed. Do you think so?
Thanks.
Wesley Chen.
If you think I an help you, please tell me, I will try my best.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this
ment.body.innerHtml to put the content in the
frame out, How can I make it use other method?
Any suggestion would appreciated.
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General&
Hi, Tony,
I get the checkbox unchecked in Tool | Internet options, and I turn to my
site, it works.
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to
How to convert the data to the format we want?
When I want to change 1234.789 to 1234.78, I can use: sprintf("%.2f",
1234.789)
But if I want to change 1234.789 to 1,234.78, how can I make it?
Any suggestion would be appreciated.
Thanks.
W
the FF, when I use Watir::Browser.attach(:title,
/ /), what do I need to require?
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send emai
I think it is not hard to cope with your problem.
Would you please provide us with the code or the html page?
Thanks.
Wesley Chen.
On Mon, Nov 10, 2008 at 5:31 PM, Keith Johnston <[EMAIL PROTECTED]>wrote:
> makes the cell (with the document na
efined. Then,
I require 'watir' and include Watir, use watir_until, it said that, no such
file to load: safariwatir
What's the problem? Do I have to uninstall the watir and rubygem and then
install again?
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You
I got it work following Tony's help.
Example:
Watir::Waiter.wait_until { ff.text.include?("china")}
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" gro
Hi, Keith,
In fact, somebody has met the problem as you referred, please go to
http://groups.google.com/group/watir-general/browse_thread/thread/59fac3f95c6bb799/ec4b133621759c8c?lnk=gst&q=fire_event#ec4b133621759c8c
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
Yes, require 'time' is not required in Watir.
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@goo
test, load test?
Documents and articles are also 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 wat
It works for click the close div in the Pop up dialog, I think you can also
click something other elements if you rewrite the Li method.
ie.image(:src,/yellow_thumb/).click
ie.div(:class, "lv_Button lv_Close").click
Thanks.
Wesley Chen.
--~--~-~--~~~---~--
eate WIN32OLE object from `AutoItX3.Control'
(WIN32OLERuntimeError)
HRESULT error code:0x8007007e
I am sure the code can work in few days ago, Have I made something wrong? I
just uninstall watir 1.5, watir 1.6.1 and keep watir 1.6.2 in m
Thanks Tony, it works!
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, pleas
You may try:
require 'watir'
puts Date::today.succ.strftime("%d-%b-%Y")
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this grou
ie.frame is a win32ole object, table can't be its method, so you can't
locate the object in frame with ie.frame( ).table
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir Gen
Sorry, I have made a mistake, ignore what I said.
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@google
Thanks John,
The code works quite well.
I think we can change the code, make it more beautiful and adapt to our
project.
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General"
urn false
end
end
upload_file($ie, "c:\\123.txt")
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 wa
Hi, Margam,
Please try code below:
ie.div(:id, "RichTextEditor_surface").focus
ie.send_keys("hello")
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General"
Of course you can!
You can run the test step by step, add exception handle.
Such as the code below.
require 'watir'
require 'watir/testcase'
class Test1 http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
We can't see the effect when we click the ▼ through your html.
Would you please provide us html page more detailed that, it shows what
happens when we click the arrow?
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received this message because you are subsc
You have to: workspace.text_field(:id,"NUM_prcsdProductId").set(*
pproduct_no.to_s*)
Because the pproduct you created is just a matchdata, not a string, you have
to change the format manual.
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received th
en tell from
if ie.text_field( ).value.eql?("hello")
do something, next step
else
do something other, next step
end
Expect it could help.
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Try ie.frame(:id,...).frame(:id, ...).table(:index,...).click
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 wat
In face, you absolutely can search quite great solutions for the problem in
the group.
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, sen
me").set("[EMAIL PROTECTED]")
ie.text_field(:id,"password").set("11")
ie.image(:src,/images\/log-in.gif/).click
@@autoit.WinWait "Security Information", ""
@@autoit.Send("!y")
Any suggestion would be appreciated.
Thanks.
Wesley
I tried both your suggestion, but it doesn't work.
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@g
wo method below can work:
ie.cell(:id,/td0/).click
ie.element_by_xpath("//td[contains(@onclick,'workoutNum')]/").click
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" g
).set(filepath)
end
ie=Watir::IE.attach(...)
upload_file(ie,"c:\\Calendar_Day_Add+1.jpg")
upload_file(ie, "c:\\TC_TRAIN_3156.xls",2)
Thanks.
Wesley Chen.
On Thu, Dec 4, 2008 at 10:49 PM, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I try to find all over
le,/javascript/)
ie.link(:text,/click/i).click_no_wait
popup_clicker(ie,"OK")
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, s
require 'watir'
require 'rubygems'
require 'watir/testcase' # First, you have to require 'watir/testcase'
class Test1 http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/wat
Try the comment below:
ie.frame(:id,//).document.body.focus
ie.send_keys("hello")
Thanks.
Wesley Chen.
On Thu, Dec 11, 2008 at 10:32 AM, Vijay <[EMAIL PROTECTED]> wrote:
> Developer toolbar', it focuses on the tag in the below 'html
>
--~--~-~--~~-
:), Welcome.
Thanks.
Wesley Chen.
On Thu, Dec 11, 2008 at 5:04 PM, Vijay <[EMAIL PROTECTED]> wrote:
>
> Wesley,
>
> Thank you so much for your reply. Your code worked like a gem and
> solved the problem.
>
> Thanks,
> Vijay.
>
> On Dec 11, 11:50 am, &qu
Thanks.
Wesley Chen.
On Sat, Dec 27, 2008 at 10:40 PM, aidy lewis wrote:
>
> Hi,
>
> I am not currently at home, so I am on a Vista machine.
>
> Has anyone seen a persistant 'about:blank' ie window on Vista?
>
> require 'watir'
> Watir::Browse
ie=Watir::IE.attach(:title,//)
ie.goto("www.gmail.com")
Thanks.
Wesley Chen.
On Mon, Dec 29, 2008 at 9:52 AM, wesley chen wrote:
>
> Thanks.
> Wesley Chen.
>
>
>
> On Sat, Dec 27, 2008 at 10:40 PM, aidy lewis wrote:
>
>>
>> Hi,
>>
>&
Would you please provide us with the source code?
Thanks.
Wesley Chen.
On Sat, Jan 3, 2009 at 7:32 AM, dmitry...@gmail.com wrote:
>
> Also I should mention that this table is dynamic, so a user can upload
> and delete images etc. from it on the front end.
>
> On Jan 2, 5
I think text_field doesn't support multiple attributes in this release.
Thanks.
Wesley Chen.
On Fri, Jan 9, 2009 at 3:32 AM, Moochie wrote:
>
>
> $ie.text_field(:id=>'diagnosis_date',:index=>index)
>
> Creates a error
>
> send:{index=2, :id+>diagn
n Watir::IE.attach(:hwnd, hwnd)
else
return nil
end
end
if (ie2=new_window)
ie2.button( ).click
end
Thanks.
Wesley Chen.
On Fri, Jan 9, 2009 at 2:42 PM, asheesh misra wrote:
> ipt code opens a new browser window (withou
--~--~-~--~~~---~-
ndowsButton_hwnd(hwnd, "#{button}")
w=nil
end
end
Expect the code above can help some of you guys.
Thanks.
Wesley Chen.
On Fri, Jan 9, 2009 at 2:44 PM, Wilson Xu wrote:
> Hi guy,whether it can work or not?
>
>
> On Fri, Jan 9, 2009 at 2:36 PM, wrote:
>
Would you please provide all your code? I think your code is not good
enough.
And I don't know what you ask me in this issue.
Expect I can help you.
end
Thanks.
Wesley Chen.
On Fri, Jan 9, 2009 at 6:27 PM, asheesh misra wrote:
> Hi Wesley,
>
> Very many thanks for th
ie2
Thanks.
Wesley Chen.
On Fri, Jan 9, 2009 at 10:15 PM, wesley chen wrote:
> Would you please provide all your code? I think your code is not good
> enough.
> And I don't know what you ask me in this issue.
>
> Expect I can help you.
>
> end
>
>
> Thanks.
&
Really warm heart man! Support you.
Thanks.
Wesley Chen.
On Sat, Jan 10, 2009 at 10:04 PM, gem dandy wrote:
>
> Hello H2006,
>
> If you can't identify the element with the IE Developer toolbar
> or Firebug (my favorite), Give Webmetrics a try. It's basically
> a Wat
$ie.maximizeor
$firefox.maximize
Thanks.
Wesley Chen.
On Mon, Jan 12, 2009 at 12:22 AM, Dhanalaxmi wrote:
>
> Hi All
>
> Using following
> ie.getIE.parent.FullScreen = true
>
> internet explorer window can be made full screen.
> How should i achi
Watir Script?
Open a browser --> Input the URL --> click "Yes" on Security Pop up --->
Input account information ---> click "Yes" again on the Security Pop up.
Appreciated to your help.
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You rec
rch')]/").click
Thanks.
Wesley Chen.
On Mon, Jan 12, 2009 at 3:29 PM, asheesh misra wrote:
> Hi,
>
> Here is the code that I am trying:
> #--- Ruby code starts here
> require 'watir'
> require 'date'
> require 'time'
&g
If you write the code as above, you can never print out the text.The
click_no_wait method is waiting for a pop up, if no pop up, it will wait all
the time.
Thanks.
Wesley Chen.
On Mon, Jan 12, 2009 at 3:30 PM, mbaruah wrote:
>
> In my ruby(1.8.6)/watir code I am currently making
Both below comment can locate the image button, too.
ie.button(:xpath,"//[contains(@onclick,'ocationCode')]").click
ie.button(:xpath,"//button[contains(@onclick,'ocationCode')]").click
Thanks.
Wesley Chen.
On Mon, Jan 12, 2009 at 4:09 PM, wesley chen
Excellent! When I follow your advise and change the setting, both the two
security pop ups are avoided, :),
Really appreciate to you.
Thanks.
Wesley Chen.
On Tue, Jan 13, 2009 at 1:52 AM, Michael Hwee wrote:
> Wesley,
> Just set the configuration to get rid of it.
>
> Goto: Inte
We can't use "set", "exists?" and many other methods after comment
:element_by_xpath
Thanks.
Wesley Chen.
On Wed, Jan 14, 2009 at 12:46 AM, TCBlues wrote:
>
> Thanks for your answer.
>
> In the case the object is a textField or a listField
Thanks very much. I study from you again, :)
Thanks.
Wesley Chen.
On Wed, Jan 14, 2009 at 11:59 AM, Richard Lawrence wrote:
>
> You don't get back the specific object type from element_by_xpath, so
> some methods don't work. But this works:
>
> b = Watir::IE.new
> b
require 'watir'
ie=Watir::IE.start(your address)
ie.image(:id,/btnLogin_imgButton/).click
Thanks.
Wesley Chen.
On Thu, Jan 15, 2009 at 8:04 PM, Oded wrote:
>
> Hello all,
> I'm fairly new to Watir, I'm trying to click on a certain image button
> with no su
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 wrote:
>
>
> Try click_no_wait()
>
>
>
> - Original Message
> From: "zeng0...@gmail.com"
mousedown") or...
ie.image(:id,/btnLogin_imgButton/).click
Thanks.
Wesley Chen.
On Fri, Jan 16, 2009 at 3:29 AM, Oded wrote:
>
> I've tried this previously to posting the thread,
> this gives the same result as the thing I posted, resulting in no
> error nor action.
>
>
, "Skip for now >>").click
> which did not work. I believe the character is actually ».
>
> Solutions?
>
> Thanks,
> Jeremy
>
> >
>
--
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received this message because you are
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/table.rb:99:in `[]'
>
>
> This will work the though
>
> browser.table(:id, /Search_ItemDetail_SpoolGrid/)[15][3].text
>
> Aidy
>
> >
>
--
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
Yo
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 wrote:
>
> Thanks guys for the comments guys, I already got it to work. Turned
>
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
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,
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
wrote:
>
> Hey Wesley, Sure thing. Will put up the solution here tonight. :) Just
> wanted to make sure I explain it clear as it
You're welcome.
Thanks.
Wesley Chen.
On Thu, Jan 22, 2009 at 3:34 PM, ST wrote:
>
> This code worked! Thanks so much for your help and quick replies,
> Wesley!
>
> On Jan 21, 6:30 pm, wesley chen wrote:
> > Try code below:
> > require 'watir'
>
Maybe, Netbeans may be a good choice. I use it and find it really
convenient.
Thanks.
Wesley Chen.
On Thu, Feb 5, 2009 at 1:10 AM, Bret Pettichord wrote:
>
> I used to use eclipse this way, and have had similar troubles and now
> just run my tests from the command line. I still us
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
Is anybody familiar 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
columns, so we'll use the transpose method to
# convert it to an array of rows
@data = @data.transpose
end
def close
@connection.Close
end
end
db = SqlServer.new('localhost', 'user_id', 'user_p
Hi, Aidy,
Thank you for your reply. I tried yours but failed.
1. Would you please provide an example about how to use the methods you
provide?
2. Before run the methods you provide, do I need pay extra attention on
something?
Expect to yours.
Thanks.
Wesley Chen.
On Thu, Feb 12, 2009 at 12:25
Try
require File.dirname(__FILE__)+'/../***.rb
Thanks.
Wesley Chen.
On Fri, Feb 13, 2009 at 12:46 PM, malar wrote:
>
> Hi,
> I have to include a ruby program inside another ruby program.
> i used the following command,
>
> require ' logintest.rb
You may try this:
levelone_dropdown = 'Accounts'
$browser.element_by_xpath("//dl/dt[contains(text
(),'#{levelone_dropdown}')]").click
Thanks.
Wesley Chen.
On Fri, Feb 13, 2009 at 12:52 PM, Jason wrote:
>
> I seem to get myself stuck every Friday evening w
Would you please provide more detail html information?
Thanks.
Wesley Chen.
On Fri, Feb 13, 2009 at 7:32 PM, jam 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
> id
the
browser window by regular expression with chinese in it?
Appreciated to any 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
Why don't you try $ie.radio(...).checked?
Thanks.
Wesley Chen.
On Tue, Feb 17, 2009 at 2:44 PM, jam wrote:
>
> Hi,
>
> how to check whether radio button is set or not. I tried with set?.
> does't work. How to d
Is it OK object.disabled?
Thanks.
Wesley Chen.
On Wed, Feb 18, 2009 at 2:22 PM, Prince3105 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.enable
I will unsubscribe you right now.
Thanks.
Wesley Chen.
On Fri, Feb 20, 2009 at 1:31 PM, Parul Upadhyay 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 50-
Sorry, I can't find the email of: parul.upadh...@infogain.com in the group.
Thanks.
Wesley Chen.
On Fri, Feb 20, 2009 at 1:38 PM, Dharmendra wrote:
> Hi Parul,For this you need to send a mail to
> watir-general-unsubscr...@googlegroups.com
> for this you will get a confirm
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 wrote:
> All,
>
> Is there a new way of hiding the browser with Watir? It seems that
> ie.visible = false no longer works. Thanks alot.
&
goes well.
Thanks.
Wesley Chen.
On Tue, Feb 17, 2009 at 4:32 AM, Ben 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 lin
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
, 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.
Than
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
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 wrote:
>
> Hi Friends,
> I am not able to use the maximize method of IE class. Pleas
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-
If you want to sleep 5 mins, please try the code below:
require 'watir'
t=Time.now
while (Time.now-t)<1
sleep 300
end
puts "OK"
Thanks.
Wesley Chen.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to th
Try the code below
$ie.links.collect { |link|
puts link.href
}
Thanks.
Wesley Chen.
On Thu, Mar 5, 2009 at 8:07 PM, TCBlues wrote:
>
> Hallo,
> I have this on the html:
>
> How is possible to get access to this tag? I need to get the href.
>
> It's not possible thro
I tried you methods, they are all OK.
Thanks.
Wesley Chen.
On Fri, Mar 6, 2009 at 10:05 PM, suresh babu wrote:
>
>
>
>
>
>
>
>
>
>
>
>
>
> Iam trying to click on add button using Ruby
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
"
Hi, LFldnl,
Thank you very much, that's exactly what I want.
Thanks.
Wesley Chen.
2009/3/10 LFIdnl
> ["2", "3", [2, 3, "2"]]
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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.
W
201 - 300 of 333 matches
Mail list logo