[wtr-general] Re: Selecting values in 2 ndDropdown Issue in Watir-WebDriver

2013-03-12 Thread Dan
I would suggest something like this.  I suspect you're running into a 
race/timing issue where the make select list exists, but it hasn't been 
populated with the expected values yet.

Watir::Wait.until { b.select_list(:id, "MainContent_drpMake").include?(
"ACURA") }
b.select_list(:id, "MainContent_drpMake").select("ACURA")

Dan

On Saturday, March 9, 2013 2:55:12 AM UTC-5, abr.n...@gmail.com wrote:
>
> Design of the Apps:
>
> First Dropdown:  (All Loads Dynamically)
>
> ---
>  name="ctl00$MainContent$drpVehicleType">
> - SELECT -
> AUTO
> HD
> MARINE
> 
>
> Second Dropdown:
> ---
>
> -SELECT-
> ACURA
> ALFA ROMEO
> ALLIS CHALMERS LIFT 
> TRUCK
> ALLIS CHALMERS 
> TRACTOR
> AMERICAN MOTORS
>
> Code used for execution:
> ---
> b.select_list(:id, "MainContent_drpVehicleType").select("AUTO")
>
>
> b.select_list(:id, "MainContent_drpMake").select("ACURA")
> What my Problem is able to select "AUTO" from first dropdown
> and not able to select "ACURA"  from second dropdown
>  
> Error in Execution:(Wat in see in Command Prompt)
> ==
>  
>
> C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-webdriver-0.6.2/lib/watir-webdriver/el
> ements/select.rb:218:in `no_value_found': "ACURA" not found in select list 
> (Wati
> r::Exception::NoValueFoundException)
> from 
> C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-webdriver-0.6.2/lib/watir
> -webdriver/elements/select.rb:152:in `rescue in select_by_string'
> from 
> C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-webdriver-0.6.2/lib/watir
> -webdriver/elements/select.rb:149:in `select_by_string'
> from 
> C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-webdriver-0.6.2/lib/watir
> -webdriver/elements/select.rb:131:in `select_by'
> from 
> C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-webdriver-0.6.2/lib/watir
> -webdriver/elements/select.rb:64:in `select'
> from C:/Ruby193/menu.rb:23:in `'
>  
>  
>
> Kindly Anyone fix this issue
>
> Thanks in Advance:
> Ragu
>
>  
>

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [wtr-general] Need code snipet

2013-03-12 Thread Vimal Raju


On Monday, March 11, 2013 3:38:53 PM UTC+5:30, Željko Filipin wrote:
>
> On Mon, Mar 11, 2013 at 2:29 AM, Vimal Raju 
> > wrote:
>
>> When I tried the below code I’m getting the error “LoadError: cannot load 
>> such file -- ffi_c”. 
>>
> I found out the reason why it is throwing this  error when I'm executing 
require "watir-webdriver" in ruby.

Just now I checked with ruby version 1.9.3, it(require "watir-webdriver") 
is working fine.  I will check the same in my office PC and let you know If 
I face any issues.

FYI. Ruby 2.0.0 is throwing the error LoadError: cannot load such file -- 
ffi_c" when executing "require "watir-webdriver"" .

Thanks,
Vimal


-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [wtr-general] Can we use Watir for cloud based web applications testing?

2013-03-12 Thread Amit Kumar
Željko,

Thanks. It Helps.

On Tue, Mar 12, 2013 at 4:56 PM, Željko Filipin wrote:

> On Tue, Mar 12, 2013 at 12:23 PM, Amit Kumar  wrote:
>
>> Actually I want to use Watir cloud based application.
>
>
> Watir drives browsers. If your application is web application that you
> access from a browser, Watir does not care if the application is on your
> computer or in the cloud.
>
> Željko
>
> --
> --
> 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
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to watir-general+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Thanks and Regards,
Amit

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [wtr-general] Can we use Watir for cloud based web applications testing?

2013-03-12 Thread Željko Filipin
On Tue, Mar 12, 2013 at 12:23 PM, Amit Kumar  wrote:

> Actually I want to use Watir cloud based application.


Watir drives browsers. If your application is web application that you
access from a browser, Watir does not care if the application is on your
computer or in the cloud.

Željko

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [wtr-general] Can we use Watir for cloud based web applications testing?

2013-03-12 Thread Amit Kumar
Željko,

I am talking about cloud computing. Actually I want to use Watir cloud
based application.

http://en.wikipedia.org/wiki/Cloud_computing

Hope this helps. Please let me know if you want to know anything else?


On Tue, Mar 12, 2013 at 4:46 PM, Željko Filipin wrote:

> On Tue, Mar 12, 2013 at 12:13 PM, Amit Kumar  wrote:
> > I meant cloud based application, which will be run on cloud.
> > Actually, I do not have that knowledge about cloud computing.
>
> What do you mean by "cloud"?
>
> Do you have a problem to solve, or are you just curious?
>
> Željko
>
> --
> --
> 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
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to watir-general+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Thanks and Regards,
Amit

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [wtr-general] Can we use Watir for cloud based web applications testing?

2013-03-12 Thread Željko Filipin
On Tue, Mar 12, 2013 at 12:13 PM, Amit Kumar  wrote:
> I meant cloud based application, which will be run on cloud.
> Actually, I do not have that knowledge about cloud computing.

What do you mean by "cloud"?

Do you have a problem to solve, or are you just curious?

Željko

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [wtr-general] Can we use Watir for cloud based web applications testing?

2013-03-12 Thread Amit Kumar
Željko,

I meant cloud based application, which will be run on cloud.
Actually, I do not have that knowledge about cloud computing.

On Tue, Mar 12, 2013 at 4:24 PM, Željko Filipin wrote:

> On Tue, Mar 12, 2013 at 11:43 AM, Amit Kumar  wrote:
>
>> Could you please elaborate on this, please?
>
>
> Sure. What do you mean by "cloud based web applications testing"?
>
> Željko
>
> --
> --
> 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
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to watir-general+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Thanks and Regards,
Amit

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [wtr-general] Can we use Watir for cloud based web applications testing?

2013-03-12 Thread Željko Filipin
On Tue, Mar 12, 2013 at 11:43 AM, Amit Kumar  wrote:

> Could you please elaborate on this, please?


Sure. What do you mean by "cloud based web applications testing"?

Željko

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [wtr-general] Can we use Watir for cloud based web applications testing?

2013-03-12 Thread Amit Kumar
Hi Željko,

Could you please elaborate on this, please?


On Tue, Mar 12, 2013 at 3:56 PM, Željko Filipin wrote:

> On Tue, Mar 12, 2013 at 11:14 AM, Amit Kumar  wrote:
>
>> Can we use Watir for cloud based web applications testing?
>
>
> "An Example Would Be Handy Right About Now"[1].
>
> Željko
> --
> [1] http://www.exampler.com/blog/2007/08/07/marketing-mania-continues/
>
> --
> --
> 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
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to watir-general+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Thanks and Regards,
Amit

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [wtr-general] Can we use Watir for cloud based web applications testing?

2013-03-12 Thread Željko Filipin
On Tue, Mar 12, 2013 at 11:14 AM, Amit Kumar  wrote:

> Can we use Watir for cloud based web applications testing?


"An Example Would Be Handy Right About Now"[1].

Željko
--
[1] http://www.exampler.com/blog/2007/08/07/marketing-mania-continues/

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[wtr-general] Can we use Watir for cloud based web applications testing?

2013-03-12 Thread Amit Kumar
Hi All:

I have a query. Can we use Watir for cloud based web applications testing?

Thanks in Advance !!

-- 
Thanks and Regards,
Amit

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [wtr-general] How to do scrubbing with HTML5 video?

2013-03-12 Thread Željko Filipin
On Mon, Mar 11, 2013 at 12:02 AM,  wrote:

> However when I use the API drag_and_drop_by the playhead is only moved at
> most 1 second at a time no matter what value of the right_by I use.


I was able to reproduce it. I could move the slider left and right but only
a second or so. I would suggest that you report is as a bug here:

https://github.com/watir/watir-webdriver/issues

Željko

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.