[wtr-general] Re: Browser.goto command is not working

2012-09-01 Thread goka priyanka


On Saturday, September 1, 2012 7:01:53 PM UTC-4, goka priyanka wrote:
>
> Joe,
>
> Thanks for answering my question however i have seen an error message .
> http://screencast.com/t/4nzYJbeEKZ1N
>
>
> I have 2 questions
>
> 1.Why a pop is shown after this command br = Watir::Browser.new :ff and 
> then an instance of ff is opened.(or is this the expected behavior?)
> 2.Why Am I seeing an error message for this command 
> browser.goto 'http://bit.ly/watir-example'
>
> Please answer me...
>
> Thanks for your precious time
>
> On Thursday, August 30, 2012 10:17:25 PM UTC-4, goka priyanka wrote:
>>
>> Hello all,
>>
>> Please see this video shot http://screencast.com/t/RRgPHxvFwTU and help 
>> me .Iam unable to invoke browser and launch google.com.
>>
>> Thanks for your time
>> pri
>>
>

-- 
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: Browser.goto command is not working

2012-09-01 Thread goka priyanka
Joe,

Thanks for answering my question however i have seen an error message .
http://screencast.com/t/4nzYJbeEKZ1N


I have 2 questions

1.Why a pop is shown after this command br = Watir::Browser.new :ff and 
then an instance of ff is opened.(or is this the expected behavior?)
2.Why Am I seeing an error message for this command 
browser.goto 'http://bit.ly/watir-example'

Please answer me...

Thanks for your precious time

On Thursday, August 30, 2012 10:17:25 PM UTC-4, goka priyanka wrote:
>
> Hello all,
>
> Please see this video shot http://screencast.com/t/RRgPHxvFwTU and help 
> me .Iam unable to invoke browser and launch google.com.
>
> Thanks for your time
> pri
>

-- 
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: IE click button issue on watir-webdriver

2012-09-01 Thread Jarmo Pertman
If you're not getting any errors and browser is closed after click then 
what's the problem? You're saying in your code to explicitly close the 
browser after click. Or am i misunderstanding anything?

Jarmo

On Thursday, August 30, 2012 6:21:20 AM UTC+3, Ernesto Cadario wrote:
>
> Hello, I have the same problem. Same config for all zones, explorer 9, 
> selenium-webdriver-2.25.0, watir-webdriver-0.6.1, Ruby 1.8.7. Chrome and FF 
> works well, but IE doesn,t.
>
> This is my test:
>
> require 'rubygems'
> require 'watir-webdriver'
>
> b = Watir::Browser.new :ie
> b.goto 'www.facebook.com'
> b.text_field(:id => 'email').set 'user'
> b.text_field(:id => 'pass').set 'pass'
> b.button(:type => 'submit').click
> b.text.include? 'some text'
> b.close
>
> and this is the log from ruby:
>
> >ruby TestRuby2.rb
> Started InternetExplorerDriver server (32-bit)
> 2.25.3.0
> Listening on port 
> [WARNING] MultiJson is using the default adapter (ok_json). We recommend 
> loading a different JSON library to improve performance.
> >Exit code: 0
>
> When IE makes the click on the button, the server and browser close and 
> there are no errors.
>
> Somebody can help?
>
> Thanks!
>
> El martes, 17 de mayo de 2011 09:57:47 UTC-3, the_zonker escribió:
>>
>> Hi guys, 
>>
>> My working environment is watir-webdriver 0.2.3 and watir-selenium 
>> 0.2.0. 
>>
>> Working on automation of Web application I've faced with weird IE 
>> behavior - in one particular case IE doesn't click on button. Indeed I 
>> can see that browser moves focus on the button and press it but then 
>> nothing happens. I can't see that application in any way reacts on 
>> this pressing. 
>>
>> To press button I use: 
>> browser.button(:value,"XXX").click 
>>
>>
>> I get no any errors, and I can found in RubyMine debugger that 
>> element is properly located and can flash it. 
>> And in the same case Firefox 3.6 works well. Also IE clicks well any 
>> other buttons on my page. 
>>
>> The same issue is reproduced on the machine of my co-worker. 
>>
>> I appreciate any help. 
>>
>> Regards, Vadim 
>>
>

-- 
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: Chromedriver throws error message when closing the browser.

2012-09-01 Thread Mauricio Pacheco
Same issue here although it seems it doesn't affect the execution.

On Tuesday, August 28, 2012 1:39:47 PM UTC-7, Joe Fl wrote:
>
> Hi,
>
> When running my script against chrome and it comes to this line 
> "@browser.close"
>
> the following error messages display:
>
> Started ChromeDriver
> port=9515
> version=23.0.1240.0
> log=C:\qa_automation\watir_scripts\chromedriver.log
> [0828/160101:ERROR:ipc_sync_channel.cc(378)] Canceling pending sends
> [0828/160101:ERROR:ipc_sync_channel.cc(378)] Canceling pending sends
> [0828/160101:ERROR:ipc_sync_channel.cc(378)] Canceling pending sends
>
> chromedriver log file show this: (not the entire file)
>
> [14.321][FINER]:Waiting for all views to stop loading...
> [14.321][FINER]:Done waiting for all views to stop loading
> [14.440][FINER]:Waiting for all views to stop loading...
> [14.440][FINER]:Done waiting for all views to stop loading
> [14.440][FINE]: Command finished 
> (/session/9a6b79ddcc93c1d1ed392668dbe008c0/element/:wdc:1346185825439/click) 
> with response {
>"sessionId": "9a6b79ddcc93c1d1ed392668dbe008c0",
>"status": 0,
>"value": {
>}
> }
>
> [14.442][FINE]: Command received 
> (/session/9a6b79ddcc93c1d1ed392668dbe008c0)
> [25.219][WARNING]:  Chrome still running, terminating...
> [25.219][INFO]: Chrome shutdown
>
>
> I am working on a VM and it is running WinXP.
> Chrome version: 21
>
> Any help would be appreciate.
>
> Thank you,
> Joe
>

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