Re: [wtr-general] I'm failing at changing the timeout length

2012-09-06 Thread Ankita Gupta
Try this if it works client = Selenium::WebDriver::Remote::Http::Default.new client.timeout = 1600 # seconds – default is 60 profile = Selenium::WebDriver::Firefox::Profile.new driver = Selenium::WebDriver.for(:ff, {:http_client => client, :profile => profile}) b = Wati

[wtr-general] Re: Problem with changing the slider position

2012-04-17 Thread Ankita Gupta
cute_script)  that fires on mouseup, feeding it the required > parameters to cause the slider to move where you want it to > > > > > > > > On Monday, April 16, 2012 5:52:12 PM UTC-7, Ankita Gupta wrote: > > > I have asked the developer, he said I need to use Mo

[wtr-general] Re: Problem with changing the slider position

2012-04-16 Thread Ankita Gupta
ere client side code you could execute to make it move where you want > it to. > > ultimately this kind of thing tends to become a testability issue > > > > > > > > On Sunday, April 15, 2012 5:05:06 PM UTC-7, Ankita Gupta wrote: > > > Thanks for your reply C

[wtr-general] Re: Problem with changing the slider position

2012-04-15 Thread Ankita Gupta
he answer to this question works for you   > http://stackoverflow.com/q/8151911/409820 > > > > > > > > On Thursday, April 12, 2012 11:14:51 PM UTC-7, Ankita Gupta wrote: > > > Hi > > > I have a slider in my application which ranges from 0% to 100%

[wtr-general] Problem with changing the slider position

2012-04-12 Thread Ankita Gupta
Hi I have a slider in my application which ranges from 0% to 100% . Below is the html for the same 0 % 100 % Now if I wanted to move the "slider-handle-min" and "slider-handle- max", how should I do that .. say I wanted to make it to move at 10% for slider-handle-min and 80% for slider-ha

[wtr-general] Re: How to run all scripts in single browser session

2012-03-18 Thread Ankita Gupta
t;new_test2.rb" end describe "Test1" do require "new_test2.rb" end after (:all) do @b.close unless @browser.nil? end end where in On Mar 19, 4:13 pm, Željko Filipin wrote: > On Sun, Mar 18, 2012 at 11:40 PM, Ankita Gupta > wrote: > > > I have 5

[wtr-general] How to run all scripts in single browser session

2012-03-18 Thread Ankita Gupta
I have 5 test scripts and I wanted to run those in single browser session but do not know how to do that. If someone could help me out would be great.. All my script has following format require 'rubygems' require 'test/unit' require 'watir-webdriver' require 'watir-webdriver/wait' class def

[wtr-general] How to run all scripts in single browser session

2012-03-18 Thread Ankita Gupta
I have 5 test scripts and I wanted to run those in single browser session but do not know how to do that. If someone could help me out would be great.. All my script has following format require 'rubygems' require 'test/unit' require 'watir-webdriver' require 'watir-webdriver/wait' class def

RE: [wtr-general] Re: putting assertion if element not present

2012-03-08 Thread Ankita Gupta
Thanks Dave This would help me a lot! Regards, Ankita Gupta (Senior Test Analyst) Adslot Pty Ltd http://www.adslot.com<http://www.adslot.com/> From: watir-general@googlegroups.com [mailto:watir-general@googlegroups.com] On Behalf Of Dave McNulla Sent: Friday, 9 March

[wtr-general] putting assertion if element not present

2012-03-07 Thread Ankita Gupta
I am using #.wait_until_present(timeout = 60) to verify the element when the page loads. Now if the page does not load then my scripts wait for 60 seconds to locate this element and after that it gives Time-out error I would like to know if there is any other way where in I could put an assertion