Don't see why not. Might be dangerous, depending on what sites you end
up crawling, but a recursive loop should do the trick. You'll have to
use something like FireWatir, unless you have IE on your linux web
server :)
-Dylan
On Jul 27, 8:32 pm, Joeyjoey wrote:
> hi there, i have a remote linux
hi there, i have a remote linux web server
can i use Watir, for say crawling websites ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to watir-general@g
I am setting up a new Watir env on a Win 2008 server box. The tests I
have that use attach or attach_init are failing on the new box with
undefined method errors (the tests pass on my existing Vista env).
There must be an env issue with the new box. Does anyone have any
suggestions on w
Hi All,
The other option that can be useful is pass the instance of "IE" as an
argument to the method.
So it can be something like this :
LIBRARY :
class Fun
def as (ie,textdata)
@ie.text_field(:name,"q").set "#textdata"
end
end
CALLING SCRIPT :
require 'watir'
ie
Watir supports i18n, I have been using it to test a web site in
chinese.
I couldn't paste the sample here.
But had no luck with FireWatir, it seems JSSH not supporting i18n.
If you want to give a try, download iTest2 (http://itest2.com),
open project c:\Program Files\iTest2\samples\demo\demo.tp
For Page (http://itest2.com/demo/survey) with html,
A101
> 1)how to get text form table cell .
browser.cell(:id, "surveyId").text
> 2)how to verify the table cell text using "include?" or "match"
browser.cell(:id, "surveyId").text.should == "A101"
> 3) if there any mater
Hi,
I use the watircraft frame work. I am wondering if I can create sub
folders under test\specs\ , such as test\specs\subfolder, to organize
my test scripts.
Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
You should take a look at some basic ruby tutorials, google for the Pickaxe
book which is free and available online. You need to pass the variable into
your class or initialize it in the class, you're currently using a
combination of instance variable - @ie - inside your class and ie :
require '
You should be able to access it like this:
ie.div(:id, 'search').document.currentStyle.invoke('display')
Charley Baker
blog: http://blog.charleybaker.org/
Lead Developer, Watir, http://wtr.rubyforge.org
QA Architect, Gap Inc Direct
On Mon, Jul 27, 2009 at 8:44 AM, Aaron MacDonald wrote:
>
> I
Celerity is a good option, otherwise I believe you should be able to use
Firewatir from the latest on Github:
http://github.com/bret/watir/tree/master
Charley Baker
blog: http://blog.charleybaker.org/
Lead Developer, Watir, http://wtr.rubyforge.org
QA Architect, Gap Inc Direct
On Mon, Jul 27, 2
I have an element with a style attribute I need to access, like this:
...
Note that I am only able to see the style attribute using Firebug; it
doesn't show up when I view the page source. Is it possible though to
examine the style attribute through Watir?
--~--~-~--~~-
Put your begin and rescue inside the loop and remove the retry.
Charley Baker
blog: http://blog.charleybaker.org/
Lead Developer, Watir, http://wtr.rubyforge.org
QA Architect, Gap Inc Direct
On Mon, Jul 27, 2009 at 5:24 AM, Satya wrote:
>
> I am writing a script to check links on a specific p
There are a couple of routes you can take on this:
* use ruby-debug - it's a lighter weight debugger that you can insert into
your script, it bumps you out into irb within the context of where you
called it, here's a tutorial:
http://www.datanoise.com/articles/2006/7/12/tutorial-on-ruby-debug
* u
Hi,
I Srikanth, new user of watir, I am using execution tool itest2 and
recording scripts with watir.
I have the somefollowing issues:
1)how to get text form table cell .
2)how to verify the table cell text using "include?" or "match"
methods or any other solution.
3) if there any material or us
I am writing a script to check links on a specific page. I am getting
the list of pages(URL’s) from an excel file. The issue that I am
facing is once the loop starts and an exception is encountered the
execution stops, so I have put a ‘retry’ in the exception section. But
the issue is it again sta
Manish, I've tried watij and it has a serious problem with the tables in my
web application. I need a utility for java.
On Mon, Jul 27, 2009 at 7:54 AM, Manish Sapariya wrote:
>
> to be technically correct, celerity itself is not headless browser,
> but watir api driving headless browser 'htmlun
Hi All,
I am very new to watir, i am using watir for automation
i have written following code for opening browser
require "Watir"
ie = Watir::IE.new
#Open the application
ie.goto "https://google.com";
enter some text in Fun class ,
class Fun
def as
@ie.text_field(:name,"q").set "#textd
Hi All,
I wrote script for data driven testing with logger.
I want to debug the same script line by line. Please tell me how to
debug the script line by line.
Thanks in advance.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo
Hi Chris,
Your idea of implemnting a CSV based framework is very nice. It used a
lot in my current framework. - Thanks
Regards
Siva
On Jul 27, 10:56 am, takanobu watanabe wrote:
> Sorry spread it.
> This is that CSV sample.
> --
> ID,mnemonic,var-name,value
> 1,companycode,c
I don't think you can use :alt in FireWatir to identify the control -
use xpath instead and it should work in both IE and FF with no
changes:
browser.element_by_xpath("//i...@alt = 'Members Login Here']").click
Regards,
John
--~--~-~--~~~---~--~~
You received th
20 matches
Mail list logo