[wtr-general] Data driven testing using watir-classic v 3.0.0

2013-02-14 Thread umeshkhannan
I am beginner for testing as well as for watir.  Can anyone help me by 
sending  the steps for data driven testing using excel sheet for setting 
different parameters for same process.  example (login process) 




Thanks in advance 
 regards 
  M. Umeshkhanna 


 

-- 
-- 
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] Data driven testing using watir-classic v 3.0.0

2013-02-14 Thread Željko Filipin
On Thu, Feb 14, 2013 at 7:03 AM,  wrote:

> Can anyone help me by sending  the steps for data driven testing using
> excel sheet


Is there a reason you want to use excel?

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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] Serious memory leaks on IE9 and IE10 for watir-webdriver

2013-02-14 Thread Željko Filipin
I suggest that you provide as little ruby code and relevant html that still
reproduce the problem and report it as a bug:

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

Do you get the same error if you run the tests in another browser?

Željko
--
https://leanpub.com/watirbook


On Thu, Feb 14, 2013 at 7:37 AM, Alex Shtayer  wrote:

> After some test cases executed (only 5-10 minutes of execution which is
> not enough for any memory overflow from any point of view) I am getting
>
>   No connection could be made because the target machine actively
> refused it
> . - connect(2) (Errno::ECONNREFUSED)
>   C:/Ruby192/lib/ruby/1.9.1/net/http.rb:644:in `initialize'
>   C:/Ruby192/lib/ruby/1.9.1/net/http.rb:644:in `open'
>   C:/Ruby192/lib/ruby/1.9.1/net/http.rb:644:in `block in connect'
>   C:/Ruby192/lib/ruby/1.9.1/timeout.rb:44:in `timeout'
>   C:/Ruby192/lib/ruby/1.9.1/timeout.rb:87:in `timeout'
>   C:/Ruby192/lib/ruby/1.9.1/net/http.rb:644:in `connect'
>   C:/Ruby192/lib/ruby/1.9.1/net/http.rb:637:in `do_start'
>   C:/Ruby192/lib/ruby/1.9.1/net/http.rb:626:in `start'
>   C:/Ruby192/lib/ruby/1.9.1/net/http.rb:1168:in `request'
>
> exception
>
> In task manager I can see that 1.5 Gb of RAM is already consumed
>
> No matter what test suite and what functionality I am testing
>
> I reviewed all the threads and even issue tracking system (there is some
> kind of this defect, but no update here), so mostly sure that I do
> not duplicate posts.
>
> Is there any way to fix that except closing IE after each action? (it will
> be very time consuming to re-implement everything). Everything works fine
> with watir, but not on watir-webdriver
>
> I really appreciate any help here!
>
> --
> --
> 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.
>
>
>

-- 
-- 
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] Re: Data driven testing using watir-classic v 3.0.0

2013-02-14 Thread umeshkhannan
No i just want to loop the same step but with different parameters/data. 
 Its not necessary for the excel.  If this is possible without excel i am 
glad with that.

On Thursday, February 14, 2013 11:33:40 AM UTC+5:30, umeshk...@gmail.com 
wrote:
>
> I am beginner for testing as well as for watir.  Can anyone help me by 
> sending  the steps for data driven testing using excel sheet for setting 
> different parameters for same process.  example (login process) 
>
>
>
>
> Thanks in advance 
>  regards 
>   M. Umeshkhanna 
>
>
>  
>

-- 
-- 
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] Re: Data driven testing using watir-classic v 3.0.0

2013-02-14 Thread Željko Filipin
On Thu, Feb 14, 2013 at 10:46 AM,  wrote:

> No i just want to loop the same step but with different parameters/data.
>  Its not necessary for the excel.  If this is possible without excel i am
> glad with that.


Please provide example code.

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




[wtr-general] Re: Data driven testing using watir-classic v 3.0.0

2013-02-14 Thread umeshkhannan
10.times do
ie.link(:text,"Quick Message").click
ie.text_field(:name,"edit_row[quick_msg]").set"Test message from sara for 
testing "
ie.select_list(:class,"select-display-100").select_value"Green"
ie.select_list(:name,"alert_device_options").select_value"28,1"
ie.checkbox(:class,"checkall").set
ie.div(:class => "button", :text => /Send Quick Message/ ).a.click
end 

 code it runs but i want to change the message to a different one each time 
it runs.  i want it to fetch the new message as it runs each time. 

On Thursday, February 14, 2013 11:33:40 AM UTC+5:30, umeshk...@gmail.com 
wrote:
>
> I am beginner for testing as well as for watir.  Can anyone help me by 
> sending  the steps for data driven testing using excel sheet for setting 
> different parameters for same process.  example (login process) 
>
>
>
>
> Thanks in advance 
>  regards 
>   M. Umeshkhanna 
>
>
>  
>

-- 
-- 
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] Re: Serious memory leaks on IE9 and IE10 for watir-webdriver

2013-02-14 Thread Alex Shtayer
Nope, Firefox 3.6.x, Firefox 15 and IE8 are okay. But for these two 
browsers I can see that memory increased for each action (click and etc) on 
10-15 mb

Have you tested something on IE9&IE10?

Regarding defect (something the same as I have):
http://code.google.com/p/selenium/issues/detail?can=2&start=700&num=100&q=&colspec=ID%20Stars%20Type%20Status%20Priority%20Milestone%20Owner%20Summary&groupby=&sort=&id=3918

Regarding example (comment 16 from that defect):

Very simple script (no matter what language you will use, can be adopted on 
watir-webdriver):

driver.get("http://google.com";)
try:
for i in range(1000):
el = driver.find_element_by_xpath("//input[@name='q']")
el.get_attribute('class')
finally:
driver.quit()


I understand that this thread/group can be not related to webdriver core 
itself, but anyway I want to try my luck here

Appreciate any help

-- 
-- 
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] Re: Serious memory leaks on IE9 and IE10 for watir-webdriver

2013-02-14 Thread Željko Filipin
On Thu, Feb 14, 2013 at 11:05 AM, Alex Shtayer  wrote:

> I understand that this thread/group can be not related to webdriver core
> itself, but anyway I want to try my luck here


Why don't you report the problem in selenium/webdriver bug tracker?

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




[wtr-general] Re: Data driven testing using watir-classic v 3.0.0

2013-02-14 Thread Alex Shtayer
I would propose to use something more simpler than excel like structured 
text file or xml (or some RDBMS), but if your case is simple enough and 
such functionality will be used only once, so I prefer to use xml

-- 
-- 
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] Re: Serious memory leaks on IE9 and IE10 for watir-webdriver

2013-02-14 Thread Željko Filipin
On Thu, Feb 14, 2013 at 11:05 AM, Alex Shtayer  wrote:

> Have you tested something on IE9&IE10?


Yes:

https://wmf.ci.cloudbees.com/

Ž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] Re: Data driven testing using watir-classic v 3.0.0

2013-02-14 Thread Željko Filipin
On Thu, Feb 14, 2013 at 10:58 AM,  wrote:

>  code it runs but i want to change the message to a different one each
> time it runs.  i want it to fetch the new message as it runs each time.


What should be different every time the loop runs in the code that you have
provided?

Ž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] Re: Serious memory leaks on IE9 and IE10 for watir-webdriver

2013-02-14 Thread Alex Shtayer
As far I understand that thread:
http://code.google.com/p/selenium/issues/detail?can=2&start=700&num=100&q=&colspec=ID%20Stars%20Type%20Status%20Priority%20Milestone%20Owner%20Summary&groupby=&sort=&id=3918
is selenium/webdriver bug tracker system

So if I create the same defect, it will be just duplicated

On Thursday, February 14, 2013 12:07:52 PM UTC+2, Željko Filipin wrote:
>
> On Thu, Feb 14, 2013 at 11:05 AM, Alex Shtayer 
> > wrote:
>
>> I understand that this thread/group can be not related to webdriver core 
>> itself, but anyway I want to try my luck here
>
>
> Why don't you report the problem in selenium/webdriver bug tracker?
>
> Ž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] Re: Serious memory leaks on IE9 and IE10 for watir-webdriver

2013-02-14 Thread Alex Shtayer



> Have you tested something on IE9&IE10?
>
>
> Yes:
>
> https://wmf.ci.cloudbees.com/
>
>
Are you closing browser after each case? 

-- 
-- 
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] Re: Serious memory leaks on IE9 and IE10 for watir-webdriver

2013-02-14 Thread Željko Filipin
On Thu, Feb 14, 2013 at 11:15 AM, Alex Shtayer  wrote:

> Are you closing browser after each case?


Yes. Code: https://github.com/wikimedia/qa-browsertests

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




[wtr-general] Re: Data driven testing using watir-classic v 3.0.0

2013-02-14 Thread umeshkhannan
please provide some example code so that i can get a better idea to use xml 
rather than excel 


thanks in advance 

On Thursday, February 14, 2013 11:33:40 AM UTC+5:30, umeshk...@gmail.com 
wrote:
>
> I am beginner for testing as well as for watir.  Can anyone help me by 
> sending  the steps for data driven testing using excel sheet for setting 
> different parameters for same process.  example (login process) 
>
>
>
>
> Thanks in advance 
>  regards 
>   M. Umeshkhanna 
>
>
>  
>

-- 
-- 
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] Re: Data driven testing using watir-classic v 3.0.0

2013-02-14 Thread umeshkhannan
"Test message from sara for testing " should be different every time loop 
runs this message should change  

On Thursday, February 14, 2013 11:33:40 AM UTC+5:30, umeshk...@gmail.com 
wrote:
>
> I am beginner for testing as well as for watir.  Can anyone help me by 
> sending  the steps for data driven testing using excel sheet for setting 
> different parameters for same process.  example (login process) 
>
>
>
>
> Thanks in advance 
>  regards 
>   M. Umeshkhanna 
>
>
>  
>

-- 
-- 
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] Re: Serious memory leaks on IE9 and IE10 for watir-webdriver

2013-02-14 Thread Alex Shtayer


> Are you closing browser after each case? 
>
>
> Yes. Code: https://github.com/wikimedia/qa-browsertests
>
> Željko
>
 
Are you able access that link?

Because I get 'This repository is temporarily unavailable.' message
'

-- 
-- 
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] Re: Serious memory leaks on IE9 and IE10 for watir-webdriver

2013-02-14 Thread Željko Filipin
On Thu, Feb 14, 2013 at 11:43 AM, Alex Shtayer  wrote:

> Are you able access that link?
> Because I get 'This repository is temporarily unavailable.' message
>

Looks like github has problems at the moment:

https://status.github.com/

Github is actually a mirror, the original repository is here:

https://gerrit.wikimedia.org/r/#/admin/projects/qa/browsertests

Ž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] Re: Data driven testing using watir-classic v 3.0.0

2013-02-14 Thread Željko Filipin
On Thu, Feb 14, 2013 at 11:22 AM,  wrote:

> "Test message from sara for testing " should be different every time loop
> runs this message should change


How should the message change? Please provide examples.

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




[wtr-general] Re: Data driven testing using watir-classic v 3.0.0

2013-02-14 Thread umeshkhannan
"test message from sara for testing" when the loop runs second time that 
message should change to "test message from sara for testing 2" like wise 
it should go on as the loop count increases the message should change 

On Thursday, February 14, 2013 11:33:40 AM UTC+5:30, umeshk...@gmail.com 
wrote:
>
> I am beginner for testing as well as for watir.  Can anyone help me by 
> sending  the steps for data driven testing using excel sheet for setting 
> different parameters for same process.  example (login process) 
>
>
>
>
> Thanks in advance 
>  regards 
>   M. Umeshkhanna 
>
>
>  
>

-- 
-- 
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] Re: Data driven testing using watir-classic v 3.0.0

2013-02-14 Thread Željko Filipin
On Thu, Feb 14, 2013 at 10:58 AM,  wrote:

> 10.times do
> ie.link(:text,"Quick Message").click
> ie.text_field(:name,"edit_row[quick_msg]").set"Test message from sara for
> testing "
> ie.select_list(:class,"select-display-100").select_value"Green"
> ie.select_list(:name,"alert_device_options").select_value"28,1"
> ie.checkbox(:class,"checkall").set
> ie.div(:class => "button", :text => /Send Quick Message/ ).a.click
> end
>

Try this:

(1..10).each do |i|
  ie.link(:text,"Quick Message").click
  ie.text_field(:name,"edit_row[quick_msg]").set"Test message from sara for
testing #{i}"
  # the rest of the code
end

-- 
-- 
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] Re: Data driven testing using watir-classic v 3.0.0

2013-02-14 Thread umeshkhannan
Thanks *Zeljko its working excellently.*

On Thursday, February 14, 2013 11:33:40 AM UTC+5:30, umeshk...@gmail.com 
wrote:
>
> I am beginner for testing as well as for watir.  Can anyone help me by 
> sending  the steps for data driven testing using excel sheet for setting 
> different parameters for same process.  example (login process) 
>
>
>
>
> Thanks in advance 
>  regards 
>   M. Umeshkhanna 
>
>
>  
>

-- 
-- 
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] Re: Data driven testing using watir-classic v 3.0.0

2013-02-14 Thread Željko Filipin
On Thu, Feb 14, 2013 at 12:38 PM,  wrote:

> Thanks *Zeljko its working excellently.*
>

You should read a book on ruby, it has a lot of nice features. It will help
you a lot while using watir. There are a few ruby books online that you can
get completely free.

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




[wtr-general] Re: Data driven testing using watir-classic v 3.0.0

2013-02-14 Thread umeshkhannan
I am not from a programming back ground can you suggest me a book which 
helps me to gain knowledge in ruby especially.

On Thursday, February 14, 2013 11:33:40 AM UTC+5:30, umeshk...@gmail.com 
wrote:
>
> I am beginner for testing as well as for watir.  Can anyone help me by 
> sending  the steps for data driven testing using excel sheet for setting 
> different parameters for same process.  example (login process) 
>
>
>
>
> Thanks in advance 
>  regards 
>   M. Umeshkhanna 
>
>
>  
>

-- 
-- 
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] Re: Data driven testing using watir-classic v 3.0.0

2013-02-14 Thread Željko Filipin
On Thu, Feb 14, 2013 at 12:45 PM,  wrote:

> can you suggest me a book


I think this is the first book on Ruby that I have read:

http://www.rubycentral.com/pickaxe/

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




[wtr-general] Re: Data driven testing using watir-classic v 3.0.0

2013-02-14 Thread umeshkhannan
Thanks zeljko your support is awesome.

On Thursday, February 14, 2013 11:33:40 AM UTC+5:30, umeshk...@gmail.com 
wrote:
>
> I am beginner for testing as well as for watir.  Can anyone help me by 
> sending  the steps for data driven testing using excel sheet for setting 
> different parameters for same process.  example (login process) 
>
>
>
>
> Thanks in advance 
>  regards 
>   M. Umeshkhanna 
>
>
>  
>

-- 
-- 
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] Re: Serious memory leaks on IE9 and IE10 for watir-webdriver

2013-02-14 Thread Alex Shtayer
Thanks Željko for providing all this information

You give me some nice ideas

Probably, I will need to think about closing browser after each case which 
will be very hard to do due my code not so nice as yours and it is created 
in such way that it will be mostly impossible to do

Need to read Cucumber Book for some possible solutions:)

Thanks once more

-- 
-- 
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] Re: Serious memory leaks on IE9 and IE10 for watir-webdriver

2013-02-14 Thread Željko Filipin
On Thu, Feb 14, 2013 at 1:28 PM, Alex Shtayer  wrote:

> Need to read Cucumber Book for some possible solutions:)


Read this one too: https://leanpub.com/cucumber_and_cheese

Ž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] Re: Data driven testing using watir-classic v 3.0.0

2013-02-14 Thread Al Snow

http://pine.fm/LearnToProgram/ -- This is also Ruby based. Also heard good 
reviews on Brian's book: 
http://www.amazon.com/Everyday-Scripting-Ruby-Teams-Testers/dp/0977616614/ref=ntt_at_ep_dpt_1

Date: Thu, 14 Feb 2013 03:45:30 -0800
From: umeshkhan...@gmail.com
To: watir-general@googlegroups.com
Subject: [wtr-general] Re: Data driven testing using watir-classic v 3.0.0

I am not from a programming back ground can you suggest me a book which helps 
me to gain knowledge in ruby especially.

On Thursday, February 14, 2013 11:33:40 AM UTC+5:30, umeshk...@gmail.com 
wrote:I am beginner for testing as well as for watir.  Can anyone help me by 
sending  the steps for data driven testing using excel sheet for setting 
different parameters for same process.  example (login process) 



Thanks in advance  regards   M. Umeshkhanna 

 



-- 

-- 

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.

 

 
  

-- 
-- 
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] Re: Data driven testing using watir-classic v 3.0.0

2013-02-14 Thread Željko Filipin
On Thu, Feb 14, 2013 at 1:55 PM, Al Snow  wrote:

> Also heard good reviews on Brian's book:
> http://www.amazon.com/Everyday-Scripting-Ruby-Teams-Testers/dp/0977616614/ref=ntt_at_ep_dpt_1


I have read the book and I would highly recommend it.

Ž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] Re: Serious memory leaks on IE9 and IE10 for watir-webdriver

2013-02-14 Thread Alex Shtayer
Thanks a lot. Without you I will play with all of this for weeks

I am sorry, but last question (pretty off topic)

Do we have any alternative for background keyword, but vice verse? I mean 
not for pre-initialization, but for post-execution

I know about hooks:
After do |scenario|
end

But due of project structure it possibly will not work for me(not sure 
right now)

I need to run one scenario before each one (will use background) and one 
after each scenario. How do you think, is it possible to do?

-- 
-- 
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] Re: Serious memory leaks on IE9 and IE10 for watir-webdriver

2013-02-14 Thread Željko Filipin
On Thu, Feb 14, 2013 at 2:37 PM, Alex Shtayer  wrote:

> I need to run one scenario before each one (will use background) and one
> after each scenario. How do you think, is it possible to do?


Cucumber has before and after hooks:

https://github.com/cucumber/cucumber/wiki/Hooks

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




[wtr-general] Re: Data driven testing using watir-classic v 3.0.0

2013-02-14 Thread Dan
yaml is a good option as well, and much easier to use with Ruby than xml.

On Thursday, February 14, 2013 5:09:04 AM UTC-5, Alex Shtayer wrote:
>
> I would propose to use something more simpler than excel like structured 
> text file or xml (or some RDBMS), but if your case is simple enough and 
> such functionality will be used only once, so I prefer to use xml

-- 
-- 
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] Re: Data driven testing using watir-classic v 3.0.0

2013-02-14 Thread Alex Shtayer
Yes, I agree. For such kind of tasks yaml will be much better, sorry forgot 
about that. I use xml for configuration file purpose (it seems more logical 
for me), but for some input data ranges, it is better to use yaml

On Thursday, February 14, 2013 4:01:30 PM UTC+2, Dan wrote:
>
> yaml is a good option as well, and much easier to use with Ruby than xml.
>
> On Thursday, February 14, 2013 5:09:04 AM UTC-5, Alex Shtayer wrote:
>>
>> I would propose to use something more simpler than excel like structured 
>> text file or xml (or some RDBMS), but if your case is simple enough and 
>> such functionality will be used only once, so I prefer to use xml
>
>

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