I would suggest you take some time and learn how ruby works, and how to
manage strings.
On Fri, Jan 2, 2015 at 10:23 AM, Sohail Mirza wrote:
> Hi Joe
>
> I am getting the following error.
>
> *Code:*
> $rowCount = @browser.table(:class, 'table table-hover table-condensed
> table-bordered table-s
Hi,
yep you're right. i missed basic topic "How to use variables inside strings"
i got it and my code is working fine.
On Sat, Jan 3, 2015 at 8:00 PM, Oscar Rieken wrote:
> I would suggest you take some time and learn how ruby works, and how to
> manage strings.
>
> On Fri, Jan 2, 2015 at 10:2
*Issue:* I am using code I grabbed from another post, which I have
included that should kick off my ruby scripts in consecutive order. I have
two ruby test scripts (TestResearch.rb and TestResearch2.rb). I have a
main script (mainscript.rb). There are two issues when I kick off the
mainscri
I was wondering if the tags are stored in an array somewhere and can be
access so that you can do different after hooks say for Jira or other
plugins?
Thanks,
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.c
Has anyone successfully gotten this config to
work: Watir+Webdriver/Cucumber + Appium on Sauce Labs?
Haven't found much online...
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups.google.com/grou
Please, any suggestions greatly appreciated.
Attempting to identify the element to be able to check the checkbox.
REF: "watir webdriver cannot select checkbox input element"
SELECTOR: #sv
ELEMENT:
Please, any suggestions greatly appreciated. I have tried:
FROM: b.span(:text, 'Svenska').cli
Please, any suggestions greatly appreciated.
Attempting to identify the element to be able to check the checkbox.
REF: "watir webdriver cannot select checkbox input element"
SELECTOR: #sv
ELEMENT:
Please, any suggestions greatly appreciated. I have tried:
FROM: b.span(:text, 'Svenska').cli
Hi All,
I am using page factory pattern,
1.
Here is My class Homepage:-
class Homepage
include PageObject
include Configuration
def open
goto("url")
end
def sign_in
@browser.element(css: 'div.links-static ul li.account div#login_us
I'm seeing a lot of tools break that are updating to just say `require
"watir"`.
In all cases, I've traced it to lines like this:
Watir::Container.instance_methods
Yet I see that this does appear to exist in Watir 6
(http://www.rubydoc.info/gems/watir/Watir/Container).
Has anyone else had
Can you provide a stack trace? It's likely a versioning mismatch.
--
--
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
---
I am using #screenshot.save and Chrome. The saved screenshot is only a
portion of the window (only the visible window) and not the entire DOM as
expected. Is there a different method that I should be using instead?
--
--
Before posting, please read http://watir.com/support. In short: search
With things like infinite scroll, the concept of "the entire dom" doesn't have
the same being it once did. W3C spec says to only provide image of what is in
the viewport.
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googl
I haven't tried recently since the release of Selenium 3 or GeckoDriver, but
using Firefox used to save screenshots of the whole page.
You might also consider saving a screenshot of just an Element. There was a gem
to support that.
--
--
Before posting, please read http://watir.com/support. I
Hi,
Yes, there is watir_angular.
https://github.com/titusfortner/watir_angular
Joe
On Tue, Jan 29, 2019, 10:10 AM Hi Titus,
>
> Is it possible to automate AngularJs application using WATIR? Any gem is
> available?
>
> --
> --
> Before posting, please read
> https://github.com/watir/watir_meta/
Hi, thank you very much .
On Tue, 29 Jan, 2019, 8:45 PM Joe Fleck Hi,
>
> Yes, there is watir_angular.
>
> https://github.com/titusfortner/watir_angular
>
> Joe
>
> On Tue, Jan 29, 2019, 10:10 AM
>> Hi Titus,
>>
>> Is it possible to automate AngularJs application using WATIR? Any gem is
>> avail
This gem used to be a bigger deal because Watir required attribute values
to be defined directly. Now that we've opened this up more, all that you
get from watir_angular is to be able to inject the automatic waiting calls
that are found in Protractor. This may or may not be useful depending on
Ok thank you
On Fri, 1 Feb, 2019, 12:01 AM Titus Fortner This gem used to be a bigger deal because Watir required attribute values
> to be defined directly. Now that we've opened this up more, all that you
> get from watir_angular is to be able to inject the automatic waiting calls
> that are fou
It came in helpful for a few objects in our angular app but I was able to
use watir for most of it.
On Thu, Jan 31, 2019, 1:49 PM rajagopalan madasami <
rajagopalanmadas...@gmail.com wrote:
> Ok thank you
>
> On Fri, 1 Feb, 2019, 12:01 AM Titus Fortner
>> This gem used to be a bigger deal becaus
I wrote something with Angular in mind. Some sample tests for Google's angular
components are here:
https://github.com/jfitisoff/insite/blob/master/spec/material_angular_io_spec.rb
And Google's showcase for those components are here (the tests utilize this
site):
https://material.angular.io
I d
Thank you, let me check that tomorrow.
On Sun, 3 Feb, 2019, 12:21 AM 'John Fitisoff' via Watir General <
watir-general@googlegroups.com wrote:
> I wrote something with Angular in mind. Some sample tests for Google's
> angular components are here:
>
>
> https://github.com/jfitisoff/insite/blob/mas
Hi, Thank you , I will check it out.
On Sunday, 3 February 2019 00:21:25 UTC+5:30, john wrote:
>
> I wrote something with Angular in mind. Some sample tests for Google's
> angular components are here:
>
>
> https://github.com/jfitisoff/insite/blob/master/spec/material_angular_io_spec.rb
>
> And G
I am using the below code to start using Watir-webdriver with Edge Chromium
browser. I have the right versions and drivers. It launches the browser and
opens the url.
But I get the following error when I try to interact with the browser(set,
.present? etc.)
Any pointers/fixes are really appreci
Here is a simple source code to log into orkut.
You simply cannot find any links or anything because the document
retains the JavaScript code, not the actual JavaScript result.
See ie.html below to understand what I am talking about.
Is there anyway to make the Watir document gets updated with
"In the eigth episode, our host Željko Filipin talks with Alister Scott
about his experiences in test automation and using Watir to automate tons of
tests. Alister also talks about his new position as Watir Wiki Master and
how the Watir community can continue to improve this resource."
Thanks a lo
Greetings,
I searched the group posts and found one about CruiseControl
Integration, but it's from 11/27/2007 - just over a year old n' I
can't reply to it.. So resurrecting the issue in hopes to get more
contemporary info. and provide more concrete examples on this journey
through the process.
Hi there, I was fishing through some old Watir examples when I decided
to try the joke script found at:
http://agileworks.blogspot.com/2006/04/geeks-version-of-joke.html
When I run the code, I notice that Watir gets stuck waiting for the
first page to load (the only URL specified in that script)
I was just curious to know who is purely a QA tester (like myself) and
who is both a tester and a developer...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email t
All,
As I mentioned a few weeks back I have created a DSL for WATiR, I call it
the WATiR Scripting Langauge - WSL. I have been creating a lot of collateral
and am currently writing examples for it. You can view them and download the
WSL gem and install locally from here - http://wsl.xqoob.com
I am recording a podcast with Dave Hoover of SafariWatir this Friday 7pm
utc.
If you have any questions for him, please post them here.
What is that podcast thing, you ask? Take a look:
http://watirpodcast.com/
Željko Filipin
--~--~-~--~~~---~--~~
You received t
I am totally new and just trying to learn and do basic staff.
I installed RC2 Ruby and Watir.
ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]
While running "gem install watir" got this error:
Installing ri documentation for builder-2.1.2...
ERROR: While generating documentation for build
Hello,
I have one watir environment that is well functioning (that I didn't
set up).
I was trying to set up a new watir environment but somehow the tests
that are running on the good environment are not running on the new
environment.
For example, a test that is well running on one environment i
Hi all,
There have been a lot of changes since the last release of Watir - 1.6.2,
many of these being contributions we've received from various community
members, core committers and others. In the effort to include Firewatir as a
1st class citizen, there are a lot compatibility changes and refac
Hi all,
We have a new version of Watir for testing, 1.6.5.rc2.
the release is here with instructions:
http://wiki.openqa.org/display/WTR/Development+Builds
If you have a chance to take a look at it, let us know. There have been a
few changes since the last release candidate, most of those are b
Hi
I have the following watir code:
$b.link(:href, "javascript:;").click
but it does not click on the button.
Reset
Does any one have any ideas?
Thanks
--
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email
Installed Watir (v1.6.5) on top of Ruby (v1.8.6) on my 32bit WinXP and
64 bit Vista systems. Ran into way too many issues trying to use Ruby
1.9.1 (64-bit) and Watir(v1.6.5), so degraded to try these older
versions, as Watir site recommends.
Are versions of Watir (v1.6.5) and Ruby (v1.8.6) for Vis
Any thoughts? The examples on OpnQA seem to be broken, and I haven't kept
up. How do I get going again?
--
Nathan Lane
Blog, http://blog.nathandelane.com
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
You received this message because you ar
On Sat, Nov 6, 2010 at 1:41 AM, Michael wrote:
> Selenium::WebDriver::Error::UnexpectedJavascriptError: Cannot execute
> script (17)
You're probably running into this known bug in the IE driver:
http://code.google.com/p/selenium/issues/detail?id=849
(comment 5 has a failing test)
--
Before po
Yes, it does look related to that. Is there an updated build of the
dll anywhere for download instead of recompiling myself with that fix in
there. It still hasn't made it into a release.
On Sat, 6 Nov 2010
02:08:18 +0100, Jari Bakken wrote:
> On Sat, Nov 6, 2010 at 1:41 AM,
Michael wrote:
>>
On Mon, Nov 8, 2010 at 6:35 PM, Michael wrote:
> Yes, it does look related to that. Is there an updated build of the dll
> anywhere for download instead of recompiling myself with that fix in there.
> It still hasn't made it into a release.
>
It's not fixed yet - the bug is still open.
--
Befor
I know, but there was a patch attached to the ticket. No worries.
On Mon, 8 Nov 2010 21:46:04 +0100, Jari Bakken wrote:
> On Mon, Nov
8, 2010 at 6:35 PM, Michael wrote:
>> Yes, it does look related to that.
Is there an updated build of the dll anywhere for download instead of
recompiling myse
On Wed, Mar 2, 2011 at 12:42 PM, Andrew Gallo
wrote:
> D:/rubyapps/test-watir-weddriver/test-page.rb:14: undefined method
> `status_code' for # (NoMethodError)
Looks like status_code method is not defined in Browser.
Željko
--
watir.com - community manager
watirpodcast.com - host
testingpodcast.
Hi,
Environment: Windows 2008 R2 server, (default 64 bit)
Browser: IE8 (cannot downgrade since it is windows 2008 server)
Watir version : 1.6.5
Ruby version : 1.8.7
When watir tests are run, it is extremely slow and takes around 10-20
mins to complete a simple test which otherwise in IE7, windows
Hi all,
We've got a release candidate for Watir. If you're interested in
checking out the release before we go final, you can get it using:
gem install watir --pre
This release includes:
* Support for IE9
* Full support for Ruby 1.8.7
* Remove Autoit (replaced with Rautomation)
* Remove
On Thu, Jun 9, 2011 at 12:04 PM, Amit Bobade wrote:
> E:/Ruby187/lib/ruby/site_ruby/1.8/rubygems.rb:242:in `activate': can't
activate ffi (>= 1.0.7, runtime) for ["selenium-webdriver-0.2.1",
"watir-webdriver-0.2.4"], already activated ffi-0.6.3-x86-mingw32 for
This sounds like rubygems problem:
Dear Željko,
Thanks for your reply. I tried as you suggested but it didn't work for me. I
got following error for the same code.
ERROR:
E:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:247:in `to_specs':
Could not find ffi (~> 0.6.3) amongst [abstract-1.0.0, actionmailer-3.0.7,
actionpa
2011/6/9 Amit Bobade
> Could not find ffi (~> 0.6.3)
Looks like you have uninstalled all versions of ffi. This could help:
gem install ffi
Željko
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups.g
Hi Amit,
try:
browser = Watir::Browser.new :ff
browser.goto("http://www.gosocially.com/index.php";)
Cristina
On Thu, Jun 9, 2011 at 6:04 AM, Amit Bobade wrote:
> Dear All:
>
> I want to use watir-webdriver instead of firewatir. I installed
> watir-webdriver now but when I execute my script
Or if it is still not working try to uninstall everything, even ruby; delete
the remaining files and perform a fresh installation.
I have encountered similar errors and that is what i did.
Cristina
On Thu, Jun 9, 2011 at 9:25 AM, a b wrote:
> Hi Amit,
>
> try:
>
>
> browser = Watir::Browser.new
It's a dependency issue between childprocess and selenium-webdriver. This
should solve it:
gem update childprocess
Den 9. juni 2011 kl. 14:28 skrev Amit Bobade :
Dear Željko,
Thanks for your reply. I tried as you suggested but it didn't work for me. I
got following error for the same code.
E
Thank you very very much Cristina and Jari. :)
I tried - gem update childprocess and it worked. Thanks.
On Thu, Jun 9, 2011 at 7:11 PM, a b wrote:
> Or if it is still not working try to uninstall everything, even ruby;
> delete the remaining files and perform a fresh installation.
>
>
Hi,
am using watir to perform web testes .It works fine.
Now, I want to, perform others operations like:
-Count all objects, get the biggest.
Is it possible do it using watir ?
Thanks
José Pinto
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be
When there's an error, the application i'm testing changes the color of the
element, a text_field, changes to red. Currently I validate that the
text_field is red like this:
b.text_field(:id, "text_field").document.currentstyle.color.should ==
'#444'
I also will did to validate the color of a
On Wed, Aug 10, 2011 at 1:41 AM, hillary wrote:
> The issue seems to be text.
I did not understand the problem.
Željko
--
watir.com - community manager
watir.com/book - author
watirpodcast.com - host
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be
I forgot the last part.
When it validates the text in web-driver it returns "", when I'm expecting
it to return "Saved." so it fails.
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups.google.com/gr
I forgot the last part.
When it validates the text in web-driver it returns "", when I'm expecting
it to return "Saved." so it fails. So the problem seems to be that it's not
picking up on the correct text.
--
Before posting, please read http://watir.com/support. In short: search before
you
http://watirpodcast.com/46-jarmo-pertman-on-watir-2-0/
Željko
--
watir.com - community manager
watir.com/book - author
watirpodcast.com - host
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups.google.
On Tue, Oct 18, 2011 at 7:45 PM, RJ wrote:
> but this feature is not available on XP-IE8.
I will try to install watir on xp with IE8 this Saturday.
The results will be here:
https://github.com/zeljkofilipin/watirbook/blob/master/installation/windows.md
Željko
--
watir.com - community manager
w
Hi, I wan't to make master diploma in university about watir,manual
testing, automated testing.
Can you help me to find any web page, which will be comfortable to
automate using watir? As I want to tets some web page manualy and
then to automate it.
BR,
Dmitri
--
Before posting, please read h
On Tue, Oct 18, 2011 at 7:45 PM, RJ wrote:
> Protected Mode must be set to the same
> value (enabled or disabled) for all zones.
>
> but this feature is not available on XP-IE8. What to do.
Really, there is no "enable protected mode" checkbox in IE8. Just checked.
Solutions:
1) Use watir gem t
On Thu, Oct 27, 2011 at 1:52 PM, Željko Filipin <
zeljko.fili...@wa-research.ch> wrote:
> Really, there is no "enable protected mode" checkbox in IE8. Just checked.
I have just checked, and that option is there only in IE9. It is not it IE
6, 7 and 8.
I am not sure why did you get that error mess
On Fri, Nov 4, 2011 at 5:34 PM, Jae wrote:
> browser = Watir::Browser.start "twitter.com", :chrome
Maybe this page will be easier to log in from
https://twitter.com/#!/login
Željko
--
watir.com - community manager
watir.com/book - author
watirpodcast.com - host
--
Before posting, please read
I have a "split button" that when clicked in the middle or left side will
perform a default action on that page. But if clicked on the right side it
will drop down a menu to select from a set of actions. I can't get Watir
webdriver to click and drop down the menu. It only is able to click and
Hi Everyone,
I've got a problem to run watir on a VM guest Windows XP Pro SP3.
I've try all the recent ruby windows packages, but I always receive the
same error.
Here the details:
Ruby version: ruby 1.9.3p194 (2012-04-20) [i386-mingw32]
gem list:
*** LOCAL GEMS ***
addressable (2.3.2)
bigde
I have started to point my cucumber/watir-webdriver test suites on our
remote grid (hosted on another server, in a different physical location)
and the performance is quite dreadful compared to a local grid (ie i'm
executing my cucumber scripts on the same machine as the grid). The
performance
When using the below code in an IE8 environment with Ruby 1.8.6 & Watir
1.6.5 installed - everything works as designed.
b.file_field(:id,
'fileName').set('C:\projects\testcases\booksmart\watir\test_data\2010-01-30-XML3.zip')
b.button(:name, 'upload').click()
When using the same code in an IE9
Im not sure if its ajax loading or something else (or their site detecting
watir?)
But this site (groupme.com) keeps timing out.
def test_post_message_to_groupme
browser.goto 'http://groupme.com'
browser.link(:text => 'Log In').click
browser.text_field(:id => 'session_phone_number').set @
On Sat, Oct 27, 2012 at 10:45 PM, Chris Smalley wrote:
> I don't want this to turn into a Python vs. Ruby conversation, but I'd
like some insight on the Selenium WebDriver bindings vs Watir-WebDriver.
Another Chris wrote something that could help you:
https://github.com/watir/watir-bazaar/wiki/b
Hi All,
I am facing a very unusual problem in Virtual Machine. I have 4 user
accounts & 1 Admin account. The Admin account is working fine how ever all
other user accounts are not working with Watir 3X.
steps -
Right Click on SciTE editor & select ' run as Administrator '
open a script from
Our QA team has started to use Watir and watir-webdriver for automated
testing.
Our initial tests were written in a Ruby 1.9.3 environment.
As we are setting up a more robust testing environment for Watir, are there
any cautions or warnings we should be aware of while implementing Ruby
2.0.0?
On Wed, Mar 13, 2013 at 4:50 PM, Anthony Coley wrote:
> IE loads, but stops once it hits: text_field(:name,
> "usr").set("my_login")
Any error messages?
Željko
--
https://leanpub.com/watirbook
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be
Yes, the error might help... Sorry about that!
C:\Ruby193\bin>ruby C:\scripts\BOE\BOE_IE.rb
C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.5.0/lib/watir-classic/element.rb:328:in
`assert_exists': Unable to locate element, using {:tag_name=>["text",
"password", "textarea"], :name=>"usr"}
(
On Wed, Mar 13, 2013 at 5:27 PM, Anthony Coley
wrote:
> Unable to locate element, using {:tag_name=>["text", "password",
> "textarea"], :name=>"usr"}
Looks like the element is not on the screen. Did you read this?
http://watirwebdriver.com/waiting/
Željko
--
--
Before posting, please read
On Wed, Mar 13, 2013 at 6:21 PM, Anthony Coley wrote:
> Yes, I have the element, see attached element.jpg.
It could be there eventually, but not when the script looks for it.
Željko
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-
it might be being rendered by some client side javascript, and FF or Chrome
might be just enough faster than IE that they have created the element when
the script gets to that point, but IE has not.
I'd suggest two things
1 try running those few lines of your script manually (you can cut and
Hi guys,
I faced the issues related to hover method in FF20.
hover works in chrome but doesn't work for FF.
I've tried to do chenge profile.native_events but it didn't help; also I
played with fire_event method- the same result
When I run tests in FF I receive the following error in the line whe
How can I start absolutely new session for IE browser?
I use the following code:
@browser = Watir::Browser.new :ie
@browser.cookies.clear
@browser.goto "http://...";
but when I run tests, I'm always seeing that IE browser starts with logged
in user that was used for the previous te
Hi there,
I'm trying to drag and drop an element in webpage through the below code:
Step def:
When(/^I drag and drop Basket rule to the position slot$/) do
@browser.span(:class => "draggable
ui-draggable").drag_and_drop_on(@browser.div(:class => "droparea
ui-droppable ui-sortable"))
end
*The s
On Wed, Jul 10, 2013 at 12:12 PM, maulik goswami wrote:
> I've installed ruby *Gmail* gem and also made a sample script but it only
> goes to *Gmail* website after that script stops and returns the null
> value.
>
Please share relevant Ruby code and error messages, if any.
Željko
--
https://lean
*require "watir-webdriver"*
*require "gmail"*
*br = Watir::Browser.new :chrome
*
*br.goto "gmail.com"*
*gmail = Gmail.new("email address", "password")
*
*gmail.inbox.count(:unread)*
*gmail.inbox.click(:unread, :from => "no reply registration
email").label("Confirm Verification")*
I was able to si
do you need to access gmail because you work at google? or do you need to
access an email that is being sent by your system to an email address that
happens to be a gmail acct?
On Wed, Jul 10, 2013 at 6:29 AM, maulik goswami wrote:
> *require "watir-webdriver"*
> *require "gmail"*
> *br = Watir
i need to access the mail that is being sent by my system
On Wednesday, 10 July 2013 17:37:33 UTC+5:30, Oscar.Rieken wrote:
>
> do you need to access gmail because you work at google? or do you need to
> access an email that is being sent by your system to an email address that
> happens to be
This isn't a watir problem, but I think many of us have experience with the
gmail gem. What error do you get when you try to use the gmail gem?
On Thursday, July 11, 2013 2:38:30 AM UTC-4, maulik goswami wrote:
>
> i need to access the mail that is being sent by my system
>
> On Wednesday, 10 J
On Fri, Aug 2, 2013 at 11:29 PM, Tadeu Panato wrote:
> In FF 23 on Linux it works however in FF 23 on Win 7 didnt work (using
> saucelabs)
It could be a Firefox+Windows problem then, or Sauce Labs problem. Did you
contact Sauce Labs support?
Željko
--
https://leanpub.com/watirbook
--
--
Bef
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:
>
>> In FF 23 on Linux
running in FF local it not failed
running in ie10i got that:
*Error: test_02_local(TsCheckHome)*
* Errno::ECONNREFUSED: No connection could be made because the target
machine actively refused it. - connect(2)*
*C:/Ruby193/lib/ruby/1.9.1/net/http.rb:763:in `initialize'*
*C:/Ruby193/lib/ruby/1.9.
Looks a lot like webdriver can't connect to the browser..
I think you are right this is a webdriver issue, I'd head to
the https://groups.google.com/forum/#!forum/selenium-users as a potential
forum to talk about webdriver level problems.
On Tuesday, August 6, 2013 1:33:09 PM UTC-7, Tadeu P
Just store everything in strings and then compare by == or a regexp, whichever
makes more sense, then print the console output afterward?
From: watir webdriver
To: watir-general@googlegroups.com
Sent: Thursday, August 15, 2013 8:37 AM
Subject: [wtr-general
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, Tadeu Panato wrote:
> .eql?
>
> a = "TS377NWT"
> b = "KM077BLK"
>
> a.eql? b
>
>
> Em quinta-feira, 15 de agosto de 2013 12h37min42s UTC-3, w
you receive the values in one string?
like a = ["TS377NWT", "KM077BLK"] or a = "TS377NWT,KM077BLK" ??
in case is the first:
a[0].eql?(a[1])
if is the second case:
a = a.split(",")
then use the code above
this is programming logic not watir-webdriver questions.
Em quinta-feira, 15 de agosto
Thanks Panato for ur quick reply...I'll give a try
On Thursday, August 15, 2013, Tadeu Panato wrote:
> you receive the values in one string?
>
> like a = ["TS377NWT", "KM077BLK"] or a = "TS377NWT,KM077BLK" ??
>
> in case is the first:
> a[0].eql?(a[1])
>
> if is the second case:
>
> a = a.spl
Is watir-webdriver not compatible with Firefox 24/25? I went back to
firefox 21 and my exec_script calls started working again. On FF 24/25 I
couldn't even get simple exec_script('alert()') or document title changes
to work.
The errors that show up in the browser console are:
Use of getUser
Hi All,
I am facing issue while running my scripts [which are running fine with
IE10-Win8] in IE11-Windows8.1
script is coming to ssl warning page where my scripts try to click override
link if the text "there is a problem with " text is present
code looks something like
if(self.text.match
I am attempting to figure out how to capture an element's text value (ex.
span id text value = "Welcome"), but I keep getting an error that it is
unable to locate the value. The following is my statement in the ruby
file. I tried online forums and documentation, but the syntax seems
tricky.
Hello all,
Recently Microsoft submitted a patch that appears to break/remove
*ExecuteScript. *I think this is causing *driver.execute_script* to fail
with access denied error message when using watir-classic.
Since IE11 removes support for *ExecuteScript*, is it possible to use *eval
*instead?
Sorry, no. The Windows Update in question breaks a ton of functionality when
you try to automate IE from out of process. However, the February cumulative
update should resolve the issue, if the last comment (from a Microsoft
employee) on the Microsoft Connect report is to be believed.
--
--
B
I would guess that is more of a cucumber thing
On Thu, Feb 5, 2015 at 10:54 AM, Michael Kirkpatrick
wrote:
> I was wondering if the tags are stored in an array somewhere and can be
> access so that you can do different after hooks say for Jira or other
> plugins?
>
> Thanks,
>
>
> --
> --
> Bef
Yep. We use a Before hook to cache all scenario tags in an instance
variable for, among other things, use in After hooks. This is the Ruby
flavor of Cucumber, btw.
Before do |scenario|
@scenario_tags = scenario.source_tag_names
...
But you can also "natively" have tag-specific After hooks.
I recently updated the watir-webdriver gem and i was pretty surprised that
the execution speed of my has significantly decreased.
Does anyone else experiences this issue or/and know how to overcome this?
Stack:
Mac OS 10.9.5
Ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin13.0]
watir-web
If I write
b.select_list(id: 'something').select("")
default timeout is not applied here for a select_list, it immediately
throws error if select_list doesn't exist
but If I write the following code
puts b.select_list(id: 'something').text #this would print the selected
option value accor
This is unlikely a bug in Watir.
For us to investigate further please provide
Your code
Applicable portion of html
A log of your test run in debug mode
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://g
701 - 800 of 1012 matches
Mail list logo