Displaying 20 results from an estimated 20000 matches similar to: "Selenium: get href link by anchor text"
2006 Feb 10
1
RE: sorting <a href..> with D&D follows the link(browser thinks I click)
Maybe don''t make anchor tags draggable? Or you could do something like
change the href to point to ''#'' and move the actual href into your
javascript, and only call it if they click without dragging. Still, I
think making a clickable item draggable is begging for problems.
> -----Original Message-----
> From:
2006 Jun 10
2
How can I link/anchor down the page with #anchor in urls?
I''m trying to expand on a blog tutorial and one thing I can''t figure out
is how to use anchors within pages.
For example say I have sections on a page with anchors like <a
name=section1"</a> through <a name=section6"</a>. Using older non-rails
methods I would construct urls that contains the pound symbol and anchor
name in the url such as
2006 Oct 26
8
doubt in Selenium test
Hi guys,
I am just started to do selenium test in rails. can u guys plz tell me
how to write selenium test for the below code. for ex: i want to use
click action in selenium test for the below code
<a href="#" onClick="javascript:show_form(''short'');">Add a Short Media
Buy</a>
advance thx
regards,
Karthick.
--
Posted via
2009 May 19
0
View testing (rspec/selenium) - test if a file link works
I have a ''download'' link on one page that causes a zip to be built and
then pushes it back as a file to the browser. I want to write a test to
verify that it does actually push a zip file back but i can''t work out
how - can anyone help?
I''m using rspec and selenium. The line to click the download link looks
like this:
@browser.wait_for_then_click
2007 Jun 02
0
Rel attribute in anchor tags
Hi there,
I haven''t looked at the code but will it be possible to add rel
attribute to anchor tags in super redcloth? It would be great! ATM i
have changed the regexp in redcloth to use curly braces as rel tag
when writing textile. Since target attribute don''t validate in XHTML
strict and i still want to open some links in new a window.
Old style
----
Textile:
2007 Jun 11
0
Selenium RC Fu (plus js unit)
We''ve been threatening to open source this for a while, most recently
during Alex and Brian''s talk at Railsconf [1]. See the readme [2]
for more info, and the source/rdocs for all the gory details.
Feedback and contributions are very welcome.
Thanks,
pt.
[1] http://www.slideshare.net/alexchaffee/fullstack-webapp-testing-with-selenium-and-rails
[2]
== Introduction
Welcome to
2006 Jan 12
1
adding a destination anchor in the link
hi, I would like to specify a destination anchor in the generated link with
the link_to helper, so the navigator opens the document at the given point.
it should look something like this:
/blog/archive/2006/01/10/test-post.html#comments
I tried it with the following code:
<% link_to("comments",
:controller => "blog",
:action => "archive",
:year
2007 Jul 03
2
link anchor targets?
Is there any way to pursuade markdown to create HTML link anchor
targets?
--
Make April 15 just another day, visit http://fairtax.org
2009 Apr 29
1
Cucumber/Webrat/Selenium + SSL?
Has anybody had any luck getting Cucumber, Webrat and Selenium to play
nicely together for SSL sites?
My test environment:
- nginx front-end accepting SSL requests, proxying them to mongrel
back-end
- mongrel back-end accepting normal HTTP requests
- application routes configured with ":protocol => ''https''" so that
URLs generated with "_url"
2015 Jan 02
2
http://www.centos.org/ Help menu anchor
On http://www.centos.org/, the Help in the navbar is described by the anchor
<a href="http://wiki.centos.org/Documentation?action=show&redirect=GettingHelp
<view-source:http://wiki.centos.org/Documentation?action=show&redirect=GettingHelp>">Help</a>
Why does it contain ?action=show&redirect=GettingHelp ? It seems
to me Documentation would be
2008 Mar 20
1
stories with selenium and the db
Hi all
Tonight I wanted to test out selenium in a story to test some ajax
stuff on a page.
After struggling for an hour or two with disappearing database objects
I found the solution in a blog post by Kerry Buckley.
with the comment included it reads:
# Don''t add an ActiveRecordSafetyListener, or it''ll roll stuff back
class Spec::Story::Runner::ScenarioRunner
def
2010 Jun 08
0
How to use Selenium RC in Rails
Hi,
I am trying to use Selenium RC in my rails application. I first
install selenium RC ruby client (>gem install selenium-client). Then
create a "selenium_test.rb" in libs folder. In the file, I create a
class "SeleniumTest".
# libs/selenium_test.rb
require "selenium-client"
class SeleniumTest
attr_reader :browser
def initialize
@browser =
2015 Jan 04
0
http://www.centos.org/ Help menu anchor
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 01/02/2015 01:27 PM, PatrickD Garvey wrote:
> On http://www.centos.org/, the Help in the navbar is described by
> the anchor
>
> <a
> href="http://wiki.centos.org/Documentation?action=show&redirect=GettingHelp
>
>
2008 Oct 24
2
Mulitbrowser selenium ruby
Hope all is well,
Striaght to the point I wonder if someone has any ideas to help me with
the following problem:
I have written an automation framework in ruby, that uses selenium and
rspec and is run by an ant task, as thats the build process that is
implemented here.
Im currently running all my spec tests in firefox on my local machine by
passing the selenium variable:
@selenium =
2013 Oct 09
0
getting selenium working with jruby/sinatra/cucumber/webrat on windows
I am trying to run cucumber/webrat with Sinatra on Jruby 1.7.3 (1.9.3) on
Windows.
It seems to work ok, but when I try to add selenium to webrat. I get the
error shown below.
It seems like it thinks it is in a linux environment or something as the
error happens when it tries to start selenium server and there is a "&" at
the end of the argument chain. I took a look at capybara
2006 Feb 09
1
Alternative take on Selenium in Rails
Hey there,
There''s been a bit of work going on with Selenium and Rails recently, so
I thought I may as well share what I came up with. Check out my blog
post at http://blog.viney.net.nz/articles/2006/02/09/selenium-testing,
grab the plugin and give it a whirl (be sure to read the README!).
Basically, my approach was to make it possible to write Selenium tests
in the same way that
2009 May 13
0
Cucumber + Selenium: Programmatically Starting a Test Server
Hi All,
I am trying to learn BDD using the Cucumber framework, and am
integrating Selenium for client side tests. I''ve been playing with
refactoring my cucumber installation a bit, and have pulled the code
to start the selenium server out into a profile-configuration file,
similar to env.rb:
# start selenium
server
@@browser = Selenium::SeleniumDriver.new("localhost", 4444,
2007 May 29
2
Selenium, Spec:Ui and ... forks?
I am using Spec:UI to run my Selenium tests, and I want to start
Selenium only once, for many descriptions.
I''ve come quite far solving it by declaring a main ui spec like the following:
require ''pathname''
require File.dirname(__FILE__) + ''/selenium''
$base_url="http://localhost:3000"
$browser =
2008 Jul 17
2
Selenium docs or tutorial?
Does anyone have links to any complete Selenium docs or tutorial?
I have Selenium 1.0.9 installed (OS X, Leopard), the proxy server
appears to launch ok, and got the test to reach:
@browser = Selenium::SeleniumDriver.new("localhost", 4444,
"*firefox", "http://www.google.com", 15000)
this method has no documentation as far as I can tell (or
2006 Jul 02
1
trouble with anchors
I am having trouble both setting and connecting to rails pages and
anchors.
using a collection, I am trying to set the anchors like this...
<a href="in_outs/list#name=<%= user_list_facility.list_value %>">\
<%= user_list_facility.list_value %></a>
which does sort of work...the resulting source html is:
<a href="name=15th Ave">15th Ave</a>