On Wed, Oct 22, 2014 at 9:45 PM, Xuemin Yin xuemin@gmail.com wrote:
It's *NOT* launched in a browser, but behaves like one, with a console
that can be used to inspect the HTML elements liek you would with a Chrome
browser.
Try launching your app by providing path to it. Something like
Hi Critina,
You don't have to close browser (@browser.close) on *After* hook.That
closes browser after each scenario execution.
Also, you don't have to start a new browser on before hooks because that
starts a new browser before each scenario execution.
You could use a lazy loading on Before
+1
Super Kevy
On Thu, Oct 16, 2014 at 3:47 PM, Super Kevy kpe...@scholarshipamerica.org
wrote:
ie.link(:text='Building Address',:index=1).click
ie.link(:text='Building Address',:index=2).click
On Saturday, August 2, 2014 4:36:48 AM UTC-5, Rams wrote:
Hi,
I have duplicate links in the
I don't know how people feel about xPath but this is usually where I use
xPath. Using hard coded index is a bit inflexible in my opinion and
doens't tell you what it's really selecting. What if another item with
duplicate name appears and now you are selecting index 1, but with the
extra
Our website is entirely based in AngularJS, since the front end is still
HTML, WATIR acts no different. The underlying framwork doesn't matter.
WATIR works from the presentation layer. Happy coding!
On Monday, October 20, 2014 3:14:10 PM UTC-6, christina wrote:
Hi,
I have a question,
has
When using modal Dialogs we use autoit.
This may help
http://stackoverflow.com/questions/5017672/watir-with-autoit-tutorial
On Wednesday, September 24, 2014 1:43:56 AM UTC-6, Siyaram Patidar wrote:
I am able to click the button which launch facebook modal dailog for login
but it is not
Is this your entire script?
require 'minitest/autorun'
require 'watir-webdriver'
$browser = Watir::Browser.new
def test_there_should_be_text_About_Google
$browser.goto(http://www.google.com;)
assert(browser.text.include?(About Google))
end
- remove these
end
class
Flash and flex are all image based autoamtion. I Use sikuli. You can you
use different plugins with eclipse for effective coding as to not use the
record and playback feature. But the record and playback is useful to get
started.
http://www.sikuli.org/
On Tuesday, April 15, 2014 1:16:10 PM
Can you provide the full html so we can get a better idea what you are
trying to do?
Joe
On Thu, Oct 23, 2014 at 2:03 PM, Genexodus bryanjsho...@gmail.com wrote:
You description is pretty vague. However, you could do this pretty easy
with
whatever_variable_for_your_browser.link(:text,
I think the source would help everyone give you some solid solutions.
I would think you might be able to do something like this:
ie.link(:text='Location 1').link(:text='Building Address')
Its possible but without the full source (like Derek said) its difficult to
come to a good solution.
Joe
Something like this should work, although it'd be better to restrict the # of
links to be checked rather than iterating through all of them
link = b.links.find {|link| link.href =~ /Page\$\d+/}link.href.match(
/Page\$\(d+)/)[1] # assumes link is actually found
From: Joe Fleck
11 matches
Mail list logo