Any Update on this.
On Jul 21, 6:33 pm, Aditya vaditya2...@gmail.com wrote:
any update on this please let me know
On Fri, Jul 8, 2011 at 6:20 PM, V vaditya2...@gmail.com wrote:
For IE already raised a post. check this Unable to Maximize the IE 8,
Received error while executing the script
Any Update on this.
Please better define which 'this' you are referring to. This thread
has had at least like 3 different topics of discussion (issues with
firewatir ruby 1.9.2, how to convert a script from Watir to Watir-
Webdriver, and maximizing browsers {note: this is a great example of
Ok. Will have a new thread then.
On Aug 9, 8:41 pm, Chuck van der Linden sqa...@gmail.com wrote:
Any Update on this.
Please better define which 'this' you are referring to. This thread
has had at least like 3 different topics of discussion (issues with
firewatir ruby 1.9.2, how to convert
any update on this please let me know
On Fri, Jul 8, 2011 at 6:20 PM, V vaditya2...@gmail.com wrote:
For IE already raised a post. check this Unable to Maximize the IE 8,
Received error while executing the script
So i shifted to Firefox
but still i need that solution as i am planning for a
Thanks for the information. But what about the rest i asked for? How can i
maximize the browser and the rest?
And Also i want to pass the browser as a parameter and at run i can
verify for IE,Firefox and safari. So i planned. I worked on this
earlier but now the solution is specific to fire fox.
Hi,
To maximize the IE browser, try this:
require 'rubygems'
require 'Watir'
ie = Watir::IE.new
ie.goto(http://www.google.com;)
ie.maximize
For other browsers, I am trying to find out the solutions.
Thanks,
-Amit
On Fri, Jul 8, 2011 at 5:24 PM, Aditya vaditya2...@gmail.com wrote:
For IE already raised a post. check this Unable to Maximize the IE 8,
Received error while executing the script
So i shifted to Firefox
but still i need that solution as i am planning for a framework . I
need that. Earlier version of watir was working fine. But not in this.
May be my environment
Facing the same issue. Again Ruby version 1.8.7 watir 1.9.1. Windows.
Facing the /Ruby187/lib/ruby/gems/1.8/gems/firewatir-1.9.1/lib/
firewatir/jssh_socket.rb:19:in `js_eval': this.docShell is null
(JsshSocket::JSTypeError) issue. Please help me in this asap
On Jun 27, 10:34 pm, Abe Heward
hi,
I encountered this problem long before. I tried so hard to overcome this
problem.
The solution is - use Watir-webdriver and change your script accordingly.
To install Watir-webdriver use following command:
gem install watir-webdriver
Let me know if any problem.
Thanks,
-Amit
On Thu, Jul
Installed Watir-Webdriver. But no use.
C:\Ruby187gem install watir-webdriver
Fetching: json_pure-1.5.3.gem (100%)
Fetching: rubyzip-0.9.4.gem (100%)
Fetching: childprocess-0.1.9.gem (100%)
Fetching: selenium-webdriver-0.2.2.gem (100%)
Fetching: watir-webdriver-0.2.5.gem (100%)
Successfully
Hi,
Have you changed scripts for watir-Webdrivers as follows?
Include :-
require 'rubygems'
require 'Watir-webdriver'
To open browser:-
browser = Watir::Browser.new :ff
browser.goto(URL)
Try this and let me know.
Thanks,
Amit
On Thu, Jul 7, 2011 at 6:30 PM, V vaditya2...@gmail.com wrote:
On Thu, Jul 7, 2011 at 3:00 PM, V vaditya2...@gmail.com wrote:
Ruby187/lib/ruby/gems/1.8/gems/firewatir-1.9.1/lib/firewatir/
jssh_socket.rb:19:in `js_eval': this.docShell is null
(JsshSocket::JSTypeError)
You have installed watir-webdriver, but you are still using firewatir gem in
your
My code Looks like this. Let me know what to do. As getting the below
error:
C:/Ruby187/lib/ruby/gems/1.8/gems/commonwatir-1.9.1/lib/watir/
version.rb:3: warning: already initialized constant VERSION
C:/Ruby187/lib/ruby/gems/1.8/gems/commonwatir-1.9.1/lib/watir/
exceptions.rb:12: superclass
changed.. But getting this error: Bro.rb:17:in `setdefaultbrowser':
undefined method `default' for Watir::Browser:Class (NoMethodError)
And Also i want to pass the browser as a parameter and at run i can
verify for IE,Firefox and safari. So i planned. I worked on this
earlier but now the solution
Hi,
Lets resolved error first. To open browser use following code:
To open browser:-
browser = Watir::Browser.new :ff
browser.goto(URL)
Try this.
Thanks
Amit
On Thu, Jul 7, 2011 at 7:11 PM, V vaditya2...@gmail.com wrote:
changed.. But getting this error: Bro.rb:17:in `setdefaultbrowser':
On Thu, Jul 7, 2011 at 3:20 PM, V vaditya2...@gmail.com wrote:
exceptions.rb:12: superclass mismatch for class UnknownObjectException
(TypeError)
You require both watir and watir-webdriver in your script. Require only
watir-webdriver.
Željko
--
Before posting, please read
Changed as
require rubygems
require 'watir'
require 'watir-webdriver'
def defaultbrowser(br)
#~ require 'watir-webdriver'
Watir::Browser.default=br
puts Default Browser: +Watir::Browser.default
end
def setdefaultbrowser(br)
br=Watir::Browser.new
end
br= 'ie' #'safari', 'firefox', or 'ie'
Adding to this how can i maximize the browser?
On Jul 7, 6:58 pm, V vaditya2...@gmail.com wrote:
Changed as
require rubygems
require 'watir'
require 'watir-webdriver'
def defaultbrowser(br)
#~ require 'watir-webdriver'
Watir::Browser.default=br
puts Default Browser:
How do i maximize the FF window?
I need to replace the browser every time i execute. How?
browser = Watir::Browser.new :ff - Why do we need to have FF here?
On Jul 7, 6:58 pm, V vaditya2...@gmail.com wrote:
Changed as
require rubygems
require 'watir'
require 'watir-webdriver'
def
hi,
browser = Watir::Browser.new :ff - Why do we need to have FF here?
You can have :chrome and : ie also.
Thanks,
-Amit
On Thu, Jul 7, 2011 at 7:43 PM, V vaditya2...@gmail.com wrote:
How do i maximize the FF window?
I need to replace the browser every time i execute. How?
browser =
Tried updating to Ruby 1.9.2 and Watir 1.9.0 today. Immediately ran into
this same problem again when I tried to run a test script with Firefox.
Firefox doesn't want to open.
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
On Jun 16, 2:32 am, Aditya vaditya2...@gmail.com wrote:
15 days back i invoked FF and i updated the watir version yesterday then it
was not working. Does it so? How do i resolve? So plz help me in this.
what is OP?
http://lmgtfy.com/?q=what+does+OP+mean
Are you using the same version
15 days back i invoked FF and i updated the watir version yesterday then it
was not working. Does it so? How do i resolve? So plz help me in this.
what is OP?
On Thu, Jun 16, 2011 at 2:39 AM, Chuck van der Linden sqa...@gmail.comwrote:
On Jun 14, 3:02 am, V vaditya2...@gmail.com wrote:
Hi
On Jun 14, 3:02 am, V vaditya2...@gmail.com wrote:
Hi , I am also facing the same issue.But in Windows.
C:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.8.1/lib/firewatir/
jssh_socket.rb:19:in `js_eval': this.docShell is null
(JsshSocket::JSTypeError)
from
Hi , I am also facing the same issue.But in Windows.
C:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.8.1/lib/firewatir/
jssh_socket.rb:19:in `js_eval': this.docShell is null
(JsshSocket::JSTypeError)
from c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.8.1/lib/firewatir/
firefox.rb:194:in
Test script won't start Firefox.
I need clarification on this, because I recently updated two machines--one
Windows 7 and one XP--to Ruby 1.9.2 and Watir 1.8.1.
Both machines have FF 3.6.17, with the 0.9 jssh plugin installed.
Both machines, prior to the update, ran my Firefox scripts without
In the interest of completeness and clarity, here's the text of the error we
get:
C:/Ruby192/lib/ruby/gems/1.9.1/gems/firewatir-1.8.1/lib/firewatir/firefox.rb:156:in
`rescue in set_defaults': Unable to connect to machine : 127.0.0.1 on port
9997. Make sure that JSSh is properly installed and
UPDATE:
Reverting the machine to using Ruby 1.9.1 clears up the problem.
Sad, because I was hoping to be able to continue to move to using
Watir-webdriver more and more, as it matures, but Watir-webdriver has issues
with Ruby 1.9.1.
--
Before posting, please read http://watir.com/support. In
That's strange, I don't see how 1.9.1 would fix things. I'm setting up a box
now and I'll try to replicate the failure in the next day or two. Thanks for
the info.
Charley Baker
Lead Developer, Watir, http://watir.com
On Wed, May 4, 2011 at 12:40 PM, Abe Heward abe.hew...@gmail.com wrote:
Ubuntu 10.10 OS.
FireFox 3.6.16.
On Apr 21, 11:01 am, Angrez Singh ang...@gmail.com wrote:
Which OS you are using? Which Firefox version are you using?
- Angrez
On Wed, Apr 20, 2011 at 6:01 PM, prathibha m prathibha.a...@gmail.comwrote:
I installed ruby 1.8.7 version
and gems
As per what I know you have to start firefox first with -jssh option and
then run the test script.
Test script won't start Firefox. Every time you have to run a script you
have to first start Firefox with -jssh option
- Angrez
On Thu, Apr 21, 2011 at 1:37 PM, prathibha m
31 matches
Mail list logo