[wtr-general] Help: File Size defining with Cucumber Watir.

2010-12-18 Thread Irfan Ahmed
Hi,
I am working for automation with Cucumber and watir in a software company.
I have a problem while working  windows component for uploading I need to do
the following:

*Given /^I have selected a logo "([^"]*)" of size (\d+) MB$/ do |arg1, arg2|
*
*  browser.file_field(:name, "file").set(arg1)*
*end*
*
*
But, I am having problem to get to the file size to pass this test. I need
to compare the file size with the given size.

Anybody, please help me as soon as possible.

-- 
Thanks,
Irfan Ahmed Rizvi (Sagar)

cell Numbers:
+880 1676  246  991
+880 1723  712  888

Tasawr Interactive 

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


[wtr-general] Re: Automating Windows and Their Controls With Ruby

2010-12-18 Thread Arto Vuori
Appears promising! I'm about to extend my watir test suite to interact
with non-ie windows. I'll give your lib a try.

--Arto

On 18 joulu, 01:14, Jarmo  wrote:
> I'm pretty sure that some of you already have noticed the library i've made
> to automate windows and their controls. I've now written a short blog post
> about it.
>
> http://www.itreallymatters.net/post/2352350743/automating-windows-and...
>
> If that thing seems to work well then what do you think if we'd replace
> AutoIt and win32-api in Watir with this eventually? I'd be happy to do that.
>
> Jarmo

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] Automating Windows and Their Controls With Ruby

2010-12-18 Thread karim rayani
Great work,


On Fri, Dec 17, 2010 at 3:14 PM, Jarmo  wrote:

> I'm pretty sure that some of you already have noticed the library i've made
> to automate windows and their controls. I've now written a short blog post
> about it.
>
>
> http://www.itreallymatters.net/post/2352350743/automating-windows-and-their-controls-with-ruby
>
> If that thing seems to work well then what do you think if we'd replace
> AutoIt and win32-api in Watir with this eventually? I'd be happy to do that.
>
> Jarmo
>
> --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> watir-general@googlegroups.com
> http://groups.google.com/group/watir-general
> watir-general+unsubscr...@googlegroups.com
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com