[wtr-general] Will the future version support xpath?

2010-09-20 Thread Ekin Han
Hi all,

I have got a question, will he future version of watir still support xpath?

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


[wtr-general] Watir Podcast #37: Jeff Lusenhop on Janova

2010-09-20 Thread Željko Filipin
This Thursday, September 23rd 2010, 5 pm UTC, I will record a podcast with
Jeff Lusenhop on Janova.

Charley Baker and (maybe) Felipe Knorr Kuhn will be the co-hosts (depending
on how Felipe's new and shiny iPhone behaves).

Have questions for Jeff? Let me know.

Željko
--
watir.com - community manager
watirpodcast.com - host
testingpodcast.com - audio podcasts on software testing. all of them

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] New Watir/Ruby Based Testing Tool

2010-09-20 Thread Ankur Gera
Hi Lusey,

Gr8!!! infoThanks a lot for sharing..

Thanks & Regards,
Ankur Gera

On Tue, Sep 21, 2010 at 12:39 AM, Lusey  wrote:

> I thought I'd share with everyone a new, software testing tool based
> on Watir and Ruby. Janova (www.janova.us) is a new software testing
> tool that just released that was based on watir and ruby principles.
> Janova runs in the cloud and operates in plain English. What's that
> mean? It means all the necessary coding is behind the scenes in Janova
> so that you operate only through English commands.
>
> Example:
>
> Say you want to validate that there is a text box on the screen?
>
> All you would do is select, "Validate element" from a select list,
> then type Text Box.
>
> Janova would then do the rest and give you a step:
>
> 1. I should see a Text Box element.
>
> That's the extent of how complicated Janova gets. They are currently
> giving away 30-day free trials on the website so it's definitely worth
> a look just to see how it works. There aren't any downloads necessary
> and you don't need to give any billing information for your free
> trial.
>
> If you like what you see, be sure to pass on the word.
>
> Thanks,
> Lusey
>
> --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> You received this message because you are subscribed to
> http://groups.google.com/group/watir-general
> To post: watir-general@googlegroups.com
> To unsubscribe: 
> watir-general+unsubscr...@googlegroups.com
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


[wtr-general] New Watir/Ruby Based Testing Tool

2010-09-20 Thread Lusey
I thought I'd share with everyone a new, software testing tool based
on Watir and Ruby. Janova (www.janova.us) is a new software testing
tool that just released that was based on watir and ruby principles.
Janova runs in the cloud and operates in plain English. What's that
mean? It means all the necessary coding is behind the scenes in Janova
so that you operate only through English commands.

Example:

Say you want to validate that there is a text box on the screen?

All you would do is select, "Validate element" from a select list,
then type Text Box.

Janova would then do the rest and give you a step:

1. I should see a Text Box element.

That's the extent of how complicated Janova gets. They are currently
giving away 30-day free trials on the website so it's definitely worth
a look just to see how it works. There aren't any downloads necessary
and you don't need to give any billing information for your free
trial.

If you like what you see, be sure to pass on the word.

Thanks,
Lusey

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


[wtr-general] Fwd: firewatir attach isssue

2010-09-20 Thread Jarmo
Forwarding it to the list


-- Forwarded message --
From: elvuel chen
Date: Mon, Sep 20, 2010 at 8:38 AM
Subject: firewatir attach isssue


Hi,

I got problem with firewatir pop window.
After 'click' popup the window.
I try to update the page(popup.html) div(:id,"pop_win") tag's text
with the page(popup_win.html) content, then i got a error message :
document.getElementById("pop_win") is null

env:
mac os: 10.4.11
firefox: 3.6.10
commonwatir: 1.6.5
firewatir: 1.6.5
ruby: 1.8.7 p299

test code:
  @browser = FireWatir::Firefox.new
  @browser.goto("http://localhost:3000/welcome/popup";)
  @browser.link(:text, 'open new window').click
  ff_new = FireWatir::Firefox.attach(:url,
"http://localhost:3000/popup_win.html";)
  
@browser.js_eval("document.getElementById('pop_win').innerText='#{ff_new.text}'")

after inspect
 before attach : @browser.inspect =>
#
 after attach :  @browser.inspect =>
#

attach doesn't return a new browser object

  #popup.html content:
  
function op() {
    window.open('/popup_win.html', 'newwindow', 'height=100,
width=400, top=0, left=0, toolbar=no, menubar=no, scrollbars=no,
resizable=no,location=n o, status=no');
}

init
open new window
  #/popup_win.html content
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>

  
    
    intro
  
  
    Here,pop content.
  


best regards
elvuel

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] Watir-Based Janova is LIVE!

2010-09-20 Thread Željko Filipin
On Mon, Sep 20, 2010 at 2:39 PM, Jeff Lusenhop  wrote:
> Janova's foundation is Watir

I am glad to see that Watir is used commercially.

I took a look at your site, but did not even read the whole home page. I
stopped reading as soon as I got to "no coding is necessary". Would you like
to record a podcast with me and try to explain that sentence?

Željko
--
watir.com - community manager
watirpodcast.com - host
testingpodcast.com - audio podcasts on software testing. all of them

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


[wtr-general] Watir-Based Janova is LIVE!

2010-09-20 Thread Jeff Lusenhop
Janova launched a software-as-a-service offering this weekend which
allows analysts to create user stories and scenarios in English and
Janova automatically converts the features to Watir automated tests
that run in the cloud. Janova's foundation is Watir, executing on
multiple "workers" in the cloud, allowing analysts to use cucumber-
like syntax to develop features.  You will also notice a structure
that has been based on the taza framework, allowing projects to be
shared across entire organizations. Easy to use, powerful, and simple
to get started with a 30 day free trial and no credit card required.
Check it out at http://www.janova.us!

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] how to access just body's row of table.

2010-09-20 Thread Željko Filipin
On Mon, Sep 20, 2010 at 2:35 PM, USMAN ALI  wrote:
> its return strings expected array of watir table rows...

Can you paste what you get and then what you would like to get?

I have never used it, but looks like Watir can access tbody [2] tag
directly:

browser.tbody(how, what)

Not sure how bodies[3] works, but looks like you have only one tbody tag in
your table, browser.table(how, what).bodies[1] should not point to anything.
Try browser.table(how, what).bodies[0]

Željko
--
[1] http://wiki.openqa.org/display/WTR/XPath
[2] http://wiki.openqa.org/display/WTR/HTML+Elements+Supported+by+Watir
[3] http://wiki.openqa.org/display/WTR/Collections+of+HTML+Elements

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] how to access just body's row of table.

2010-09-20 Thread USMAN ALI
@b.table(:class, "entity-list").bodies[1].rows
its return strings expected array of watir table rows...











 

 


 

 


 

 






On Mon, Sep 20, 2010 at 1:19 PM, Željko Filipin <
zeljko.fili...@wa-research.ch> wrote:

> Please post what you have tried so far and html of the table. EOM
>
> Željko
> --
> watir.com - community manager
> watirpodcast.com - host
> testingpodcast.com - audio podcasts on software testing. all of them
>
>  --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> You received this message because you are subscribed to
> http://groups.google.com/group/watir-general
> To post: watir-general@googlegroups.com
> To unsubscribe: 
> watir-general+unsubscr...@googlegroups.com
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] Site Actions menu of SharePoint doesn't work in WatiN

2010-09-20 Thread Željko Filipin
On Mon, Sep 20, 2010 at 12:18 PM, saphia  wrote:
> I use WatiN

You have posted this to the wrong group: Watir (Ruby). For Watin (.Net)
support please see

http://watin.sourceforge.net/

Željko
--
watir.com - community manager
watirpodcast.com - host
testingpodcast.com - audio podcasts on software testing. all of them

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


[wtr-general] Site Actions menu of SharePoint doesn't work in WatiN

2010-09-20 Thread saphia
Hello,
I use WatiN to test a web application which is created from
SharePoint. It has a menu called Site Actions Menu. It has menu item
Create Page.

I use WatiN to create automatic test for create page function, and
there is the code:

m_iExplorer.Link(Find.ById(item =>
item.EndsWith("SiteActionsMenu"))).ClickNoWait();
m_iExplorer.TableCell(Find.ById(item =>
item.EndsWith("CreatePage"))).ClickNoWait();
It found CreatePage menu item but it doesn't do anything, it doesn't
go to URL CreatePage.aspx
And I also tried to run event onMenuClick, but i doesn't work either.
m_iExplorer.TableCell(Find.ById(item =>
item.EndsWith("ViewAllContent"))).FireEvent("onMenuClick");
Is there any solution to do that? Any help will be appreciated.
Thank you very much.
Saphia

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] how to access just body's row of table.

2010-09-20 Thread Željko Filipin
Please post what you have tried so far and html of the table. EOM

Željko
--
watir.com - community manager
watirpodcast.com - host
testingpodcast.com - audio podcasts on software testing. all of them

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


Re: [wtr-general] Re: How can you avoid Omniture recording when using WaTiR to test production website?

2010-09-20 Thread Željko Filipin
On Mon, Sep 20, 2010 at 4:41 AM, Chad Larkin  wrote:
> In this particular case the easiest solution turned out to be to alter
> the host file of the machine on which the automation test were running
> and set the URL for the metrics to 127.0.0.1.

Good idea. :)

Željko
--
watir.com - community manager
watirpodcast.com - host
testingpodcast.com - audio podcasts on software testing. all of them

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


[wtr-general] how to access just body's row of table.

2010-09-20 Thread USMAN ALI


-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com