Hi,

WebTest 3.0 is quite old. Please try with a recent build (R_1808 currently).

Cheers,
Marc.
--
Blog: http://mguillem.wordpress.com



Le 01/09/2010 10:33, Grötz, Rudolf a écrit :
Hi Marc,

now i have installed WebTest3.0 and I get the same error.

Any suggestion?

Br
Rg




-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im 
Auftrag von [email protected]
Gesendet: Dienstag, 31. August 2010 10:01
An: [email protected]
Betreff: WebTest digest, Vol 1 #3183 - 2 msgs

Send WebTest mailing list submissions to
         [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
         http://lists.canoo.com/mailman/listinfo/webtest
or, via email, send a message with subject or body 'help' to
         [email protected]

You can reach the person managing the list at
         [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of WebTest digest..."


Today's Topics:

    1. AW: WebTest digest, Vol 1 #3182 - 6 msgs 
(=?iso-8859-1?Q?Gr=F6tz=2C_Rudolf?=)
    2. =?UTF-8?B?CgoKCkkgbG92ZSB0aGlzLCBob3cgYWJvdXQgeW91PyAKCg==?= (Kunal)

--__--__--

Message: 1
From: =?iso-8859-1?Q?Gr=F6tz=2C_Rudolf?=<[email protected]>
To: "[email protected]"<[email protected]>,
         "[email protected]"<[email protected]>
Date: Mon, 30 Aug 2010 17:08:38 +0200
Subject: [Webtest] AW: WebTest digest, Vol 1 #3182 - 6 msgs
Reply-To: [email protected]
Reply-To: =?iso-8859-1?Q?Gr=F6tz=2C_Rudolf?=<[email protected]>

Hi Marc,

after a login page following framset is implemented:

<html>
<head>
</head>
<frameset framespacing=3D"0" border=3D"0" frameborder=3D"NO" rows=3D"80,*">
<frame scrolling=3D"NO" frameborder=3D"NO" noresize=3D"" marginheight=3D"0"=
  marginwidth=3D"0" name=3D"top" src=3D"Top.jsp?&MainMenObjID=3D1000235000&S=
ubMenObjID=3D1000235001">
</frame>
<frame scrolling=3D"AUTO" frameborder=3D"NO" noresize=3D"" marginheight=3D"=
0" marginwidth=3D"0" name=3D"content" src=3D"OverviewAction.jsp?MenObjID=3D=
1000235000">
</frame>
</frameset>
<noframes>  <body>  </body></noframes>
</html>

With

                 <followframe
                     description=3D"find frame top"
                     name=3D"top"
                 />

I get the errormessage:


-<step _filename=3D"xxx.xml" _line=3D"43" description=3D"find frame top" d=
uration=3D"16" result=3D"failed" taskName=3D"followframe">
   <parameter name=3D"name" value=3D"top" />
   </step>
-<failure currentResponse=3D"xxxx" message=3D"Step[followframe "find frame=
  top" (10/10)] Frame not found with name: top available: []">

It's sounds crazy but the same script works days before.

Thanks for helping

RG

-----Urspr=FCngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] I=
m Auftrag von [email protected]
Gesendet: Montag, 30. August 2010 15:07
An: [email protected]
Betreff: WebTest digest, Vol 1 #3182 - 6 msgs

Send WebTest mailing list submissions to
         [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
         http://lists.canoo.com/mailman/listinfo/webtest
or, via email, send a message with subject or body 'help' to
         [email protected]

You can reach the person managing the list at
         [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of WebTest digest..."


Today's Topics:

    1. Re: Problems with FollowFrame (Marc Guillemot)
    2. Re: java.lang.IllegalArgumentException: Host name may not
        be null (Marc Guillemot)
    3. Re: R_1807 - clickElement not working (Marc Guillemot)
    4. Re: java.lang.NullPointerException During<emailStoreMessageId>  (Marc=
  Guillemot)
    5. Re: R_1807 - clickElement not working (sriharini sriharini)

-- __--__--

Message: 1
Date: Mon, 30 Aug 2010 13:35:52 +0200
From: Marc Guillemot<[email protected]>
To: [email protected]
Subject: Re: [Webtest] Problems with FollowFrame
Reply-To: [email protected]
Reply-To: Marc Guillemot<[email protected]>

Hi,

I can't remember of any problem like this with frames. Can you provide
more information?

Cheers,
Marc.
--
Blog: http://mguillem.wordpress.com

Le 24/08/2010 16:51, Gr=F6tz, Rudolf a =E9crit :
Hi,

I am a newbie to webtest and have problems with framesets.

Last week I create a WebTest-Script that works fine. The script found all=
  frames.

Today I use the same script but the script did not found the frame. The s=
ame behaviour I have had months ago if I evaluate selenium. In selenium thi=
s is a known bug.

Does WebTest have problems with frames or have anyone a tip?

Thanks in advance.

RG
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest


-- __--__--

Message: 2
Date: Mon, 30 Aug 2010 13:37:05 +0200
From: Marc Guillemot<[email protected]>
To: [email protected]
Subject: Re: [Webtest] java.lang.IllegalArgumentException: Host name may no=
t
  be null
Reply-To: [email protected]
Reply-To: Marc Guillemot<[email protected]>

Hi,

this is strange. Can you try with latest build?

Cheers,
Marc.

Le 24/08/2010 16:43, Gareth Webbley a =E9crit :

Hi,

We are writing some tests for an existing web application. For testing
purposes the first page just contains links to other pages within the
application. Using webtest we are "invoking" the first page then
following the link to a subsequent page. When webtest is trying to read
the second page it fails with the following exception:-

Unexpected exception caught: java.lang.IllegalArgumentException
at com.canoo.webtest.steps.StepUtil.handleException(StepUtil.java:120)
at com.canoo.webtest.steps.Step.handleException(Step.java:387)
at com.canoo.webtest.steps.Step.execute(Step.java:118)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:10=
6)
at org.apache.tools.ant.Task.perform(Task.java:348)
at
com.canoo.webtest.ant.TestStepSequence.executeSteps(TestStepSequence.java=
:43)
at
com.canoo.webtest.ant.TestStepSequence.doExecute(TestStepSequence.java:31=
)
at com.canoo.webtest.steps.Step.execute(Step.java:103)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:10=
6)
at org.apache.tools.ant.Task.perform(Task.java:348)
at com.canoo.webtest.ant.WebtestTask.executeSteps(WebtestTask.java:236)
at com.canoo.webtest.ant.WebtestTask.execute(WebtestTask.java:208)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:10=
6)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleChec=
kExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:10=
6)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleChec=
kExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:10=
6)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecuto=
r.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: java.lang.IllegalArgumentException: Host name may not be null
at org.apache.commons.httpclient.HttpHost.<init>(HttpHost.java:68)
at
org.apache.commons.httpclient.HostConfiguration.setHost(HostConfiguration=
.java:253)
at
org.apache.commons.httpclient.HostConfiguration.setHost(HostConfiguration=
.java:315)
at
com.gargoylesoftware.htmlunit.HttpWebConnection.getHostConfiguration(Http=
WebConnection.java:156)
at
com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse(HttpWebConnec=
tion.java:95)
at
com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(=
WebClient.java:1439)
at
com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:13=
70)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:326)
at
com.gargoylesoftware.htmlunit.html.BaseFrame.loadInnerPageIfPossible(Base=
Frame.java:125)
at
com.gargoylesoftware.htmlunit.html.BaseFrame.loadInnerPage(BaseFrame.java=
:95)
at
com.gargoylesoftware.htmlunit.html.HtmlPage.loadFrames(HtmlPage.java:1780=
)
at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:1=
76)
at
com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.jav=
a:454)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:330)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:355)
at
com.gargoylesoftware.htmlunit.html.HtmlAnchor.doClickAction(HtmlAnchor.ja=
va:96)
at
com.gargoylesoftware.htmlunit.html.HtmlAnchor.doClickAction(HtmlAnchor.ja=
va:121)
at
com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:124=
9)
at
com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:120=
8)
at
com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:117=
7)
at com.canoo.webtest.steps.request.ClickLink.findTarget(ClickLink.java:70=
)
at
com.canoo.webtest.steps.request.AbstractTargetAction.doExecute(AbstractTa=
rgetAction.java:72)
at com.canoo.webtest.steps.Step.execute(Step.java:103)
... 57 more
--- Nested Exception ---
java.lang.IllegalArgumentException: Host name may not be null
at org.apache.commons.httpclient.HttpHost.<init>(HttpHost.java:68)
at
org.apache.commons.httpclient.HostConfiguration.setHost(HostConfiguration=
.java:253)
at
org.apache.commons.httpclient.HostConfiguration.setHost(HostConfiguration=
.java:315)
at
com.gargoylesoftware.htmlunit.HttpWebConnection.getHostConfiguration(Http=
WebConnection.java:156)
at
com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse(HttpWebConnec=
tion.java:95)
at
com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(=
WebClient.java:1439)
at
com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:13=
70)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:326)
at
com.gargoylesoftware.htmlunit.html.BaseFrame.loadInnerPageIfPossible(Base=
Frame.java:125)
at
com.gargoylesoftware.htmlunit.html.BaseFrame.loadInnerPage(BaseFrame.java=
:95)
at
com.gargoylesoftware.htmlunit.html.HtmlPage.loadFrames(HtmlPage.java:1780=
)
at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:1=
76)
at
com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.jav=
a:454)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:330)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:355)
at
com.gargoylesoftware.htmlunit.html.HtmlAnchor.doClickAction(HtmlAnchor.ja=
va:96)
at
com.gargoylesoftware.htmlunit.html.HtmlAnchor.doClickAction(HtmlAnchor.ja=
va:121)
at
com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:124=
9)
at
com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:120=
8)
at
com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:117=
7)
at com.canoo.webtest.steps.request.ClickLink.findTarget(ClickLink.java:70=
)
at
com.canoo.webtest.steps.request.AbstractTargetAction.doExecute(AbstractTa=
rgetAction.java:72)
at com.canoo.webtest.steps.Step.execute(Step.java:103)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:10=
6)
at org.apache.tools.ant.Task.perform(Task.java:348)
at
com.canoo.webtest.ant.TestStepSequence.executeSteps(TestStepSequence.java=
:43)
at
com.canoo.webtest.ant.TestStepSequence.doExecute(TestStepSequence.java:31=
)
at com.canoo.webtest.steps.Step.execute(Step.java:103)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:10=
6)
at org.apache.tools.ant.Task.perform(Task.java:348)
at com.canoo.webtest.ant.WebtestTask.executeSteps(WebtestTask.java:236)
at com.canoo.webtest.ant.WebtestTask.execute(WebtestTask.java:208)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:10=
6)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleChec=
kExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:10=
6)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleChec=
kExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:10=
6)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecuto=
r.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

We also get the same problem running verifyLinks with a depth of 1 from
the first page. Any ideas what is causing this problem? Could it be
related to relative links? If so does anybody know how to get around the
problem.

Thanks in advance

Gareth Webbley


------------------------------------------------------------------------

/
/

/Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3A=
U/








--
Blog: http://mguillem.wordpress.com


-- __--__--

Message: 3
Date: Mon, 30 Aug 2010 13:38:39 +0200
From: Marc Guillemot<[email protected]>
To: [email protected]
Subject: Re: [Webtest] R_1807 - clickElement not working
Reply-To: [email protected]
Reply-To: Marc Guillemot<[email protected]>

Hi,

I really doubt that it sometimes work and sometimes doesn't. What is
possible is that you have an other image with this alt value or that you
have a timing problem.

Cheers,
Marc.

Le 27/08/2010 16:11, sriharini sriharini a =E9crit :
clickElement some times works and some times does not on the latest
webtest R_1807.

Please advise...

Thanks,
Srini

------ HTML code ------------

<td align=3D"right" width=3D"50%">
<img onmouseover=3D"this.style.cursor=3D'pointer'"
src=3D"/f/248/21630/7d/im.test.com/rc/abcd/images/portal/btn_green_next.g=
if<http://im.test.com/rc/abcd/images/portal/btn_green_next.gif>"
border=3D"0" alt=3D"Next" onclick=3D"validateForm('next');"/>
</td>

---------------------------------------

example step that fails:
<clickElement description=3D"Next" xpath=3D"//i...@alt=3d'Next']"/>

------------------------------------------

On Tue, Aug 24, 2010 at 10:35 AM, sriharini sriharini<[email protected]
<mailto:[email protected]>>  wrote:

     Hi,
     With the latest build R_1807, clickElement is not working, results
     show that this step as passed, but when the page is viewed it not
     navigate to the next page, and subsequent steps failed. I never had
     this problem in older versions

     Any ideas?

     example step that fails:
     <clickElement description=3D"Next" xpath=3D"//i...@alt=3d'Next']"/>

     Regards,
     Srini




--
Blog: http://mguillem.wordpress.com


-- __--__--

Message: 4
Date: Mon, 30 Aug 2010 13:47:23 +0200
From: Marc Guillemot<[email protected]>
To: [email protected]
Subject: Re: [Webtest] java.lang.NullPointerException During<emailStoreMes=
sageId>
Reply-To: [email protected]
Reply-To: Marc Guillemot<[email protected]>

Hi,

this NPE should be fixed in next WebTest build. The problem seems to be
that the email you're verifying has no "To" header.

Cheers,
Marc.
--
Blog: http://mguillem.wordpress.com


Le 19/08/2010 16:09, Jonathan Rosenberg a =E9crit :
I have a Webtest file that starts by checking for a bunch of email messag=
es
that should have been delivered.  On attempting to get the id for the fir=
st
message, Webtest exits with a java.lang.NullPointerException.

Here is the task step in question:

       <emailStoreMessageId
               property=3D'my.property'
               to=3D'info${[email protected]'
       />

Here's what I've done so far:

1) I checked the Webtest HTML output (to get the expanded TO: field)&   th=
e
message in question is available on the mail server.
2) I upgraded to the latest Webtest snapshot&   the problem still happens.
3) I have used the emailStoreMessageId plenty of time before without
difficulty.  Not sure why I'm having a problem at this time.

Beginning of stack trace is below.

Any ideas?

-=3D-=3D-=3D-=3D-=3D-=3D-=3D

java.lang.NullPointerException
       at
com.canoo.webtest.plugins.emailtest.AbstractSelectStep.doMatchMultiple(Ab=
str
actSelectStep.java:163)
       at
com.canoo.webtest.plugins.emailtest.AbstractSelectStep.messageMatches(Abs=
tra
ctSelectStep.java:137)
       at
com.canoo.webtest.plugins.emailtest.AbstractSelectStep.retrieveMatchingMe=
ssa
ges(AbstractSelectStep.java:112)
       at
com.canoo.webtest.plugins.emailtest.EmailStoreMessageId.processContent(Em=
ail
StoreMessageId.java:49)
       at
com.canoo.webtest.plugins.emailtest.AbstractStoreStep.doExecute(AbstractS=
tor
eStep.java:56)
       at com.canoo.webtest.steps.Step.execute(Step.java:102)
       at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
       at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl
.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
. . . . .


--
Jonathan Rosenberg
Founder&   Executive Director, Tabby's Place
http://www.tabbysplace.org/

-- __--__--

Message: 5
Date: Mon, 30 Aug 2010 09:02:15 -0400
Subject: Re: [Webtest] R_1807 - clickElement not working
From: sriharini sriharini<[email protected]>
To: [email protected], Marc Guillemot<[email protected]>
Reply-To: [email protected]
Reply-To: sriharini sriharini<[email protected]>

--0016e64402b0d3b602048f0a1223
Content-Type: text/plain; charset=3DISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi Marc,
Thank you for the reply.
There is no other image with same alt value in the HTML code. I doubt if
this is a timing issue, test should have failed in older version too, if it
is.

Regards,
Srini



On Mon, Aug 30, 2010 at 7:38 AM, Marc Guillemot<[email protected]>  wrote=
=3D
:

Hi,

I really doubt that it sometimes work and sometimes doesn't. What is
possible is that you have an other image with this alt value or that you
have a timing problem.

Cheers,
Marc.

Le 27/08/2010 16:11, sriharini sriharini a =3DE9crit :

clickElement some times works and some times does not on the latest
webtest R_1807.

Please advise...

Thanks,
Srini

------ HTML code ------------

<td align=3D3D"right" width=3D3D"50%">
<img onmouseover=3D3D"this.style.cursor=3D3D'pointer'"
src=3D3D"/f/248/21630/7d/im.test.com/rc/abcd/images/portal/btn_green_nex=
t.=3D
gif<
http://im.test.com/rc/abcd/images/portal/btn_green_next.gif>"

border=3D3D"0" alt=3D3D"Next" onclick=3D3D"validateForm('next');"/>
</td>

---------------------------------------

example step that fails:
<clickElement description=3D3D"Next" xpath=3D3D"//i...@alt=3d3d'Next']"/=


------------------------------------------

On Tue, Aug 24, 2010 at 10:35 AM, sriharini sriharini<[email protected]
<mailto:[email protected]>>  wrote:

    Hi,
    With the latest build R_1807, clickElement is not working, results
    show that this step as passed, but when the page is viewed it not
    navigate to the next page, and subsequent steps failed. I never had
    this problem in older versions

    Any ideas?

    example step that fails:
    <clickElement description=3D3D"Next" xpath=3D3D"//i...@alt=3d3d'Next'=
]"/>

    Regards,
    Srini




--
Blog: http://mguillem.wordpress.com

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest


--0016e64402b0d3b602048f0a1223
Content-Type: text/html; charset=3DISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi Marc,<div>Thank you for the reply.</div><div>There is no other image wit=
=3D
h same alt value in the HTML code. I doubt if this is a timing issue, test =
=3D
should have failed in older version too, if it is.</div><div><br></div><div=
=3D

Regards,</div><div>Srini</div><div><br></div><div><br><br><div class=3D3D"g=
ma=3D
il_quote">On Mon, Aug 30, 2010 at 7:38 AM, Marc Guillemot<span dir=3D3D"lt=
r"=3D
&lt;<a href=3D3D"mailto:[email protected]";>[email protected]</a>&gt;</=
sp=3D
an>  wrote:<br>
<blockquote class=3D3D"gmail_quote" style=3D3D"margin:0 0 0 .8ex;border-lef=
t:1p=3D
x #ccc solid;padding-left:1ex;">Hi,<br>
<br>
I really doubt that it sometimes work and sometimes doesn&#39;t. What is po=
=3D
ssible is that you have an other image with this alt value or that you have=
=3D
  a timing problem.<br>
<br>
Cheers,<br>
Marc.<br>
<br>
Le 27/08/2010 16:11, sriharini sriharini a =3DE9crit :<br>
<blockquote class=3D3D"gmail_quote" style=3D3D"margin:0 0 0 .8ex;border-lef=
t:1p=3D
x #ccc solid;padding-left:1ex"><div class=3D3D"im">
clickElement some times works and some times does not on the latest<br>
webtest R_1807.<br>
<br>
Please advise...<br>
<br>
Thanks,<br>
Srini<br>
<br>
------ HTML code ------------<br>
<br>
&lt;td align=3D3D&quot;right&quot; width=3D3D&quot;50%&quot;&gt;<br>
&lt;img onmouseover=3D3D&quot;this.style.cursor=3D3D&#39;pointer&#39;&quot;=
<br>=3D
</div>
src=3D3D&quot;/f/248/21630/7d/<a href=3D3D"http://im.test.com/rc/abcd/image=
s/po=3D
rtal/btn_green_next.gif" target=3D3D"_blank">im.test.com/rc/abcd/images/por=
ta=3D
l/btn_green_next.gif</a>  &lt;<a href=3D3D"http://im.test.com/rc/abcd/images=
/p=3D
ortal/btn_green_next.gif" target=3D3D"_blank">http://im.test.com/rc/abcd/im=
ag=3D
es/portal/btn_green_next.gif</a>&gt;&quot;<div class=3D3D"im">
<br>
border=3D3D&quot;0&quot; alt=3D3D&quot;Next&quot; onclick=3D3D&quot;validat=
eForm(=3D
&#39;next&#39;);&quot;/&gt;<br>
&lt;/td&gt;<br>
<br>
---------------------------------------<br>
<br>
example step that fails:<br>
&lt;clickElement description=3D3D&quot;Next&quot; xpath=3D3D&quot;//i...@al=
t=3D3D=3D
&#39;Next&#39;]&quot;/&gt;<br>
<br>
------------------------------------------<br>
<br>
On Tue, Aug 24, 2010 at 10:35 AM, sriharini sriharini&lt;<a href=3D3D"mail=
to=3D
:[email protected]" target=3D3D"_blank">[email protected]</a><br></div><div=
  c=3D
lass=3D3D"im">
&lt;mailto:<a href=3D3D"mailto:[email protected]"; target=3D3D"_blank">kns.b=
s...@g=3d
mail.com</a>&gt;&gt; wrote:<br>
<br>
  =3DA0 =3DA0Hi,<br>
  =3DA0 =3DA0With the latest build R_1807, clickElement is not working, resu=
lts<=3D
br>
  =3DA0 =3DA0show that this step as passed, but when the page is viewed it n=
ot<b=3D
r>
  =3DA0 =3DA0navigate to the next page, and subsequent steps failed. I never=
  had=3D
<br>
  =3DA0 =3DA0this problem in older versions<br>
<br>
  =3DA0 =3DA0Any ideas?<br>
<br>
  =3DA0 =3DA0example step that fails:<br>
  =3DA0 =3DA0&lt;clickElement description=3D3D&quot;Next&quot; xpath=3D3D&qu=
ot;//img=3D
[...@alt=3d3d&#39;Next&#39;]&quot;/&gt;<br>
<br>
  =3DA0 =3DA0Regards,<br>
  =3DA0 =3DA0Srini<br>
<br>
<br>
</div></blockquote>
<br><div><div></div><div class=3D3D"h5">
<br>
-- <br>
Blog:<a href=3D3D"http://mguillem.wordpress.com"; target=3D3D"_blank">http:=
//mg=3D
uillem.wordpress.com</a><br>
<br>
_______________________________________________<br>
WebTest mailing list<br>
<a href=3D3D"mailto:[email protected]"; target=3D3D"_blank">webt...@li=
sts.=3D
canoo.com</a><br>
<a href=3D3D"http://lists.canoo.com/mailman/listinfo/webtest"; target=3D3D"_=
blan=3D
k">http://lists.canoo.com/mailman/listinfo/webtest</a><br>
</div></div></blockquote></div><br></div>

--0016e64402b0d3b602048f0a1223--


-- __--__--

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest


End of WebTest Digest

--__--__--

Message: 2
Date: 31 Aug 2010 07:53:14 -0000
To: =?UTF-8?B??=<[email protected]>
From: Kunal<[email protected]>
Subject: [Webtest] =?UTF-8?B?CgoKCkkgbG92ZSB0aGlzLCBob3cgYWJvdXQgeW91PyAKCg==?=
Reply-To: [email protected]
Reply-To: [email protected]

This is a multi-part message in MIME format...

------------=_1283241194-11902-2165
Content-Type: text/html; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit





<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<base target="_blank">
<title></title>
</head>
<body>
<table width="666" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td style="font-size:16px; text-align:center;"><a 
href="http://in.signup.zorpia.com/signup?invitation_key=201008a6d4841eae416baf76bc2f2df3&tt=5&sub=51&referral=kunal4friends&tp=1&hr=2010083103&cid=98";>If
 you can't see this email, please click here.</a></td>
</tr>
   <tr>
     <td style="font-size:0px; overflow:hidden;"><img 
src="http://img.zpcdn.com/invitation/invitemail_header.gif"; border="0"
usemap="#Map" /></td>
   </tr>



         <tr>
     <td><table width="666" border="0" cellspacing="0" cellpadding="0">
         <tr>
           <td width="9"><img style="height:325px; width:9px;" 
src="http://img.zpcdn.com/invitation/invitemail_left_5.gif";  /></td>
           <td valign="top"><table width="648" border="0" cellspacing="0" 
cellpadding="0">
               <tr>
                 <td width="10"></td>
                 <td width="166" valign="top"><div style="padding:5px; border:1px solid #a9abaa; text-align:center; font-family:Arial, Helvetica, sans-serif; font-size:12px; 
font-weight:bold;"><a 
href="http://in.signup.zorpia.com/signup?invitation_key=201008a6d4841eae416baf76bc2f2df3&tt=5&sub=51&referral=kunal4friends&tp=1&hr=2010083103&cid=98&URL=http://in.zorpia.com/";><img
 src="http://ec.ths.zpcdn.com/0/6082/38930985.90e5bc.jpg"; border="0" style="padding-bottom:5px;" /></a><br />
                     Kunal</div></td>
                 <td width="10"></td>
                 <td width="462" valign="top"><table width="452" border="0" cellspacing="0" 
cellpadding="0" style="font-family:Arial, Helvetica, sans-serif;">
                     <tr>
                       <td style="font-family:Arial, Helvetica, sans-serif; font-size:18px; 
line-height:14px; color:#8cd743; padding-bottom:7px;">Kunal  wants you to become a 
Zorpian</td>
                     </tr>
                     <tr>
                       <td>
                                           <table width="452" border="0" cellspacing="0" 
cellpadding="0">
                         <tr>
                         <td width="5"><img 
src="http://img.zpcdn.com/invitation/invitemail_left_3.gif"; /></td>
                         <td style="border-top:1px solid #d3dde2;border-bottom:1px 
solid #d3dde2; background:#eef3f6; padding-left:5px;">
                                                 <table width="437" border="0" cellspacing="0" 
cellpadding="0" style="font-family:Arial, Helvetica, sans-serif;color:#656565;">
                         <tr>
                                 <td style=" font-size:15px; font-weight:bold; ">Hi 
,</td>
                         </tr>
                         <tr>
                             <td style="font-size:12px; padding:6px 0 6px 0;">You 
must be special!<br />
                             Your friend Kunal, has invited you to be a part of 
Zorpia!
                                                         </td>
                         </tr>
                         <tr>
                            <td><a 
href="http://in.signup.zorpia.com/signup?invitation_key=201008a6d4841eae416baf76bc2f2df3&tt=5&sub=51&referral=kunal4friends&tp=1&hr=2010083103&cid=98";
 style="display:block; background:#F7B225; color:#FFFFFF; font-size:16px; font-weight:bold; text-align:center; padding:5px 
15px;width:150px;border-left:2px solid #FFE290; border-top:2px solid #FFE290; border-right:2px solid #D75100;border-bottom:2px solid 
#D75100;">Join now for free!</a></td>
                         </tr>
                         </table>
                                                 </td>
                         <td width="5" align="right"><img 
src="http://img.zpcdn.com/invitation/invitemail_right_3.gif"; /></td>
                       </tr>
                       </table>
                                           </td>
                     </tr>


                     <tr>
                       <td style="font-size:14px; color:#656565; font-weight:bold; 
padding:15px 0 2px 0; border-bottom:1px solid #cbd6dc;">Kunal's Friends:</td>
                     </tr>
                     <tr>
                       <td style="font-size:12px; padding:10px 0 15px 0;"><table width="452" 
border="0" cellspacing="0" cellpadding="0">
                           <tr>


                           <td align="center"><a 
href="http://in.signup.zorpia.com/signup?invitation_key=201008a6d4841eae416baf76bc2f2df3&tt=5&sub=51&referral=kunal4friends&tp=1&hr=2010083103&cid=98&URL=http://in.zorpia.com/anindyamallik13";>
                             <img 
src="http://ec.tns.zpcdn.com/0/4813/30803471.3407fa.jpg"; style="padding:2px; border:1px 
solid #cad5db;"  /
</a></td>


                           <td align="center"><a 
href="http://in.signup.zorpia.com/signup?invitation_key=201008a6d4841eae416baf76bc2f2df3&tt=5&sub=51&referral=kunal4friends&tp=1&hr=2010083103&cid=98&URL=http://in.zorpia.com/ganeshacm75";>
                             <img 
src="http://ec.tns.zpcdn.com/0/5557/35568035.253307.jpg"; style="padding:2px; border:1px 
solid #cad5db;"  /
</a></td>

                                                         </tr>
                         </table></td>
                     </tr>

                   </table></td>
               </tr>
             </table>
                   </td>
           <td width="9"><img style="height:325px; width:9px;" 
src="http://img.zpcdn.com/invitation/invitemail_right_5.gif"; /></td>
         </tr>
       </table></td>
   </tr>

   <tr>
     <td style="font-size:0px; overflow:hidden;"><img 
src="http://img.zpcdn.com/invitation/invitemail_bottom2.gif"; width="666" height="37" /></td>
   </tr>
   <tr>
     <td style="font-size:11px; font-family:Arial, Helvetica, sans-serif; color:#929292; 
line-height:16px; padding:10px 0; text-align:center;">This message was delivered with the 
Kunal initiation.<br>
       If you wish to discontinue receiving invitations from us, please click here:<a 
href="http://in.signup.zorpia.com/email/optout/[email protected]"; style="font-family:Verdana, 
Arial, Helvetica, sans-serif; font-size:9px;">Block future invitations</a><br />
       Copyright © 2003-2010 Zorpia.com All rights reserved.</td>
   </tr>
</table>
<map name="Map" id="Map">
   <area shape="rect" coords="16,19,184,60" href="http://in.zorpia.com"; 
title="zorpia.com" />
</map>
<img src="http://in.signup.zorpia.com/signup/open_invitation/2010083103/5/51/98/1"; 
style="display:none;visibility:hidden;" height='0' width=0/>
</body>
</html>



------------=_1283241194-11902-2165--


--__--__--

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest


End of WebTest Digest
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest



_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to