[wtr-general] Re: [Watir] Watir as s master diploma key tool

2011-10-26 Thread Dmitri Karusar
> Watir unit tests or watirspec could be a good choice.
Hi, already using watir with 'test/unit' on daily work process. I was
asking for some web page, that will be comfortable to automate,
meaning elements can be inspected(id, label,text)

>University's own website?
It's only informative, nothing interesting there.What about 'depot'
demo app, don't really understood what is it?




-- 
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


Re: [wtr-general] [Watir] Watir as s master diploma key tool

2011-10-26 Thread Željko Filipin
On Wed, Oct 26, 2011 at 10:37 AM, Dmitri Karusar 
wrote:
> Can you help me to find any web page, which will be comfortable to
> automate using watir?

Watir unit tests or watirspec could be a good choice.

https://github.com/jarib/watirspec

Ž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.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] Re: page headers

2011-10-26 Thread Joe Fleck
Hi Chuck,

I was able to retrieve the headers with your suggestion.  I didn't need to
deal with CSS so this perfectly.  Thank you.


Code:

#Retrieve Header tags
hdr1 = @browser.div(:class,'discussion-board-toolbar').h1.text

hdr2 = @browser.div(:class,'discussion-board-toolbar').h2.text

page_header = "#{hdr1}#{hdr2}"

Thank you,
Joe

On Tue, Oct 25, 2011 at 12:46 PM, Chuck van der Linden wrote:

> On Oct 25, 7:26 am, Joe Fl  wrote:
> > Yes, link should be topic.  I get the same results with /n (new line)
> > though I need assistance with verifying that header displays.
> >
> > When I highlight the line on the webpage there is a break between the
> > MEMBER DISCUSSIONS: and AMBULATORY/OUTPATIENT CARE headers.
> >
> > I am not able to verify the entire header.  Not sure why. I thought it
> > might be because it is two separate headers with the   at the end
> > of the first header 
> >
> > The reason I use upcase is because on the page itself it displays in
> > Upper Case.
> >
> >
>
> Are you sure it's upper case and not just the font being used for
> headers?
>
> I might suggest trying the following in IRB
>
> puts browser.div(:class, "discussion-board-toolbar").text
> puts browser.div(:class, "discussion-board-toolbar").h1.text
> puts browser.div(:class, "discussion-board-toolbar").h2.text
>
> Go with whatever you see there as what you'd be trying to match.
>
> also instead of looking for the text on the entire page, if you know
> it's supposed to be inside that toolbar div, then why not just look
> for it that way?
>
> browser.div(:class, "discussion-board-toolbar").h2.text.contains?
> 'Ambulatory/Outpatient Care'
>
>  Potentially the page could be using some CSS magic to do a case
> transform on text that is inside a div of that class, so the actual
> HTML could be mixed case, but it is rendered visually (via cascading
> style sheet functions) as upper case, or using an 'all uppers' style
> font.   Watir and Watir-Webdriver look at what is in the DOM, so
> generally see the text before any CSS transforms have altered it in
> any way for rendering.
>
> --
> 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
>

-- 
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


[wtr-general] Re: Watir as s master diploma key tool

2011-10-26 Thread Chuck van der Linden
There is a rails 'depot' demo app that I've seen used for this
(because you can set it up locally)

Another option where it might be easy for you to get permission, what
about your University's own website?  or some subsection of it, such
as the CS department?

On Oct 26, 1:37 am, Dmitri Karusar  wrote:
> 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 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


[wtr-general] Re: New member of the Watir team

2011-10-26 Thread orde
+1

On Oct 26, 1:50 am, Dan Claudiu Pop  wrote:
> Hail to Chuck !

-- 
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


[wtr-general] Re: New member of the Watir team

2011-10-26 Thread Dan Claudiu Pop
Hail to Chuck !

-- 
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


[wtr-general] [Watir] Watir as s master diploma key tool

2011-10-26 Thread Dmitri Karusar
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 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