[wtr-general] Re: page refresh issue in watir script.

2013-09-25 Thread Tadeu Panato
can you share the verifyBasicSearch ? Em quarta-feira, 25 de setembro de 2013 05h41min29s UTC-3, Bhavesh escreveu: > > Hi, > > I have script where testcases are defined like this : > > def test_1012 >returnValue = true > printTestCaseInfo("SEARCH_0012", "Verify Basic Search Resul

[wtr-general] Re: Dropdown using onchange="javascript:setTimeout(

2013-09-10 Thread Tadeu Panato
missing excel data. and looks like you are trying to get *Miscellaneous Heavy Construction but exist only * Heavy Construction just my two peanuts. Em segunda-feira, 9 de setembro de 2013 04h16min55s UTC-3, AAA escreveu: > > Hi Everyone, > > I'm new to watir, and currently having a problem

[wtr-general] Re: Access to link contained in div object

2013-09-10 Thread Tadeu Panato
browser.li(:class => "last").a(:class => "seel=-all").click adding id's will be better like Oscar said Em segunda-feira, 9 de setembro de 2013 15h47min54s UTC-3, victor...@gmail.com escreveu: > > In the code below I want to acess and click on the element ="see-all" style="" href ="/netowrking/r

[wtr-general] Re: Run code from a perticular step

2013-08-23 Thread Tadeu Panato
use def. *watir code blablabla* *<...>* *function xoxoxo* *watir code* *function xoxoxo* *watir code* *<...>* * * * * *def function xoxoxo* *do stuffs* *end* Em sexta-feira, 23 de agosto de 2013 05h36min26s UTC-3, Nikhil Nerkar escreveu: > > While using Watir to automate Web browsers, how do I

[wtr-general] Re: Getting error - No connection could be made because the target machine actively refused it. - connect(2) (Errno::ECONNREFUSED)

2013-08-21 Thread Tadeu Panato
more info Em quarta-feira, 21 de agosto de 2013 07h51min12s UTC-3, Sanjay Hiremath escreveu: > > Hi Guys, > > I have been getting this error recently. It was not the case earlier. I > can't figure out what is going on. Can you please help me resolve the > issue. I have copied the error message

Re: [wtr-general] [Watir-webdriver] : How to compare to results

2013-08-15 Thread Tadeu Panato
ver questions. Em quinta-feira, 15 de agosto de 2013 14h07min07s UTC-3, watir webdriver escreveu: > > Thanks for the reply...but here I've to verify first result set(a&b) with > second result set(a&b) not a.eql?b > Any suggestions? > > On Thursday, August 15, 2013

[wtr-general] Re: [Watir-webdriver] : How to compare to results

2013-08-15 Thread Tadeu Panato
.eql? a = "TS377NWT" b = "KM077BLK" a.eql? b Em quinta-feira, 15 de agosto de 2013 12h37min42s UTC-3, watir webdriver escreveu: > > Is there any way to compare two sets of strings which I've printed on the > command prompt. > > When I click on a link it opens a child window there I've to rea

Re: [wtr-general] Re: [Watir-webdriver] : How to retrieve/print text from a table

2013-08-15 Thread Tadeu Panato
gt; >> Thanks a lot Panato... >> >> >> On Thu, Aug 15, 2013 at 1:25 PM, Tadeu Panato >> > wrote: >> >>> just simple print the word best or anything in the cell? man its simple, >>> you aleredy use that >>> >>&g

[wtr-general] Re: [Watir-webdriver] : How to retrieve/print text from a table

2013-08-15 Thread Tadeu Panato
just simple print the word best or anything in the cell? man its simple, you aleredy use that example blabla 1 xoxoxo 2 blblablalba 3 yommamma 4 irb: table = b.table #you can use searching the :text but i prefer use the index puts t.td(:text => "blabla 1").text #

[wtr-general] Re: [Watir webdriver] - how to verify text using OR statement in a child window

2013-08-14 Thread Tadeu Panato
hello whihc field you want to test? just browser.text will get all the texts in the page? however i thing i got the point you want check if the words appears. .should is include in the rspec. you can try with irb: require "watir-webdriver" b = Watir::Browser.new b.goto "www.google.com" pu

[wtr-general] Re: After FF update on Ubuntu execute_script is not working

2013-08-08 Thread Tadeu Panato
t; > are you using bundler? if so did you try running 'bundle update' ? > > On Wednesday, August 7, 2013 5:25:17 AM UTC-7, Tadeu Panato wrote: >> >> this morning I update the FF (23) in Ubuntu 13 and the execute_Script is >> not working anymore. >> >&g

[wtr-general] After FF update on Ubuntu execute_script is not working

2013-08-07 Thread Tadeu Panato
this morning I update the FF (23) in Ubuntu 13 and the execute_Script is not working anymore. I also to check if a gem update solve the issue update the selenium-driver too I'm getting this error: Selenium::WebDriver::Error::JavascriptError: waiting for evaluate.js load failed [remote server

Re: [wtr-general] Watir - execute_script fail in FF 23 windows

2013-08-06 Thread Tadeu Panato
b:259:in `execute_script'* *test.rb:743:in `block in buy_product'* *C:/Ruby193/lib/ruby/1.9.1/timeout.rb:69:in `timeout'* and its always in the same part of the test. any clue? or i need study more. any blame are welcome. Em terça-feira, 6 de agosto de 2013 08h52min08s UTC-3, Tadeu

[wtr-general] Re: Retiring openqa.org

2013-08-06 Thread Tadeu Panato
I can help let me know what need to do Em sexta-feira, 21 de junho de 2013 06h04min54s UTC-3, Željko Filipin escreveu: > > Hi, > > openqa.org is shutting down. From watir.com we still link to a few pages > hosted there. For example, watir.com/installation links to a few pages at > wiki.openqa.

[wtr-general] Re: Watir - execute_script fail in FF 23 windows

2013-08-06 Thread Tadeu Panato
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-webdriver-0.6.4/lib/watir -webdriver/browser.rb:259:in `execute_script' from (irb):30 from C:/Ruby193/bin/irb:12:in `' Em sexta-feira, 2 de agosto de 2013 18h29min08s UTC-3, Tadeu Panato escreveu: > > Hello All,

Re: [wtr-general] Watir - execute_script fail in FF 23 windows

2013-08-06 Thread Tadeu Panato
Yes Filipin They told to me to check the forum =/ I will setup a local windows to check and will publish here the results. thanks Em terça-feira, 6 de agosto de 2013 07h38min33s UTC-3, Željko Filipin escreveu: > > On Fri, Aug 2, 2013 at 11:29 PM, Tadeu Panato > > wrote: >

[wtr-general] Watir - execute_script fail in FF 23 windows

2013-08-06 Thread Tadeu Panato
Hello All, how are you? I think its a bug in the webdriver but would like to check with y'all Scenario I open a page and run an script using the execute_script. In FF 23 on Linux it works however in FF 23 on Win 7 didnt work (using saucelabs). On Ie sometimes works and other not got his in FF [