Hi Marc,
after a login page following framset is implemented:
<html>
<head>
</head>
<frameset framespacing="0" border="0" frameborder="NO" rows="80,*">
<frame scrolling="NO" frameborder="NO" noresize="" marginheight="0"
marginwidth="0" name="top"
src="Top.jsp?&MainMenObjID=1000235000&SubMenObjID=1000235001">
</frame>
<frame scrolling="AUTO" frameborder="NO" noresize="" marginheight="0"
marginwidth="0" name="content" src="OverviewAction.jsp?MenObjID=1000235000">
</frame>
</frameset>
<noframes> <body> </body></noframes>
</html>
With
<followframe
description="find frame top"
name="top"
/>
I get the errormessage:
- <step _filename="xxx.xml" _line="43" description="find frame top"
duration="16" result="failed" taskName="followframe">
<parameter name="name" value="top" />
</step>
- <failure currentResponse="xxxx" message="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üngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im
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ötz, Rudolf a écrit :
> 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 same
> behaviour I have had months ago if I evaluate selenium. In selenium this 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 not
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 écrit :
>
> 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(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
> 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(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
> 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(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
> 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(SingleCheckExecutor.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(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
> 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(SingleCheckExecutor.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(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
> 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(DefaultExecutor.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(HttpWebConnection.java:156)
> at
> com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse(HttpWebConnection.java:95)
> at
> com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:1439)
> at
> com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1370)
> at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:326)
> at
> com.gargoylesoftware.htmlunit.html.BaseFrame.loadInnerPageIfPossible(BaseFrame.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:176)
> at
> com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java: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.java:96)
> at
> com.gargoylesoftware.htmlunit.html.HtmlAnchor.doClickAction(HtmlAnchor.java:121)
> at
> com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:1249)
> at
> com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:1208)
> at
> com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:1177)
> at com.canoo.webtest.steps.request.ClickLink.findTarget(ClickLink.java:70)
> at
> com.canoo.webtest.steps.request.AbstractTargetAction.doExecute(AbstractTargetAction.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(HttpWebConnection.java:156)
> at
> com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse(HttpWebConnection.java:95)
> at
> com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:1439)
> at
> com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1370)
> at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:326)
> at
> com.gargoylesoftware.htmlunit.html.BaseFrame.loadInnerPageIfPossible(BaseFrame.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:176)
> at
> com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java: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.java:96)
> at
> com.gargoylesoftware.htmlunit.html.HtmlAnchor.doClickAction(HtmlAnchor.java:121)
> at
> com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:1249)
> at
> com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:1208)
> at
> com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:1177)
> at com.canoo.webtest.steps.request.ClickLink.findTarget(ClickLink.java:70)
> at
> com.canoo.webtest.steps.request.AbstractTargetAction.doExecute(AbstractTargetAction.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(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
> 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(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
> 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(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
> 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(SingleCheckExecutor.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(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
> 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(SingleCheckExecutor.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(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
> 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(DefaultExecutor.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 3AU/
>
>
>
>
>
>
--
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 écrit :
> clickElement some times works and some times does not on the latest
> webtest R_1807.
>
> Please advise...
>
> Thanks,
> Srini
>
> ------ HTML code ------------
>
> <td align="right" width="50%">
> <img onmouseover="this.style.cursor='pointer'"
> src="/f/248/21630/7d/im.test.com/rc/abcd/images/portal/btn_green_next.gif
> <http://im.test.com/rc/abcd/images/portal/btn_green_next.gif>"
> border="0" alt="Next" onclick="validateForm('next');"/>
> </td>
>
> ---------------------------------------
>
> example step that fails:
> <clickElement description="Next" xpath="//i...@alt='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="Next" xpath="//i...@alt='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
<emailStoreMessageId>
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 écrit :
> I have a Webtest file that starts by checking for a bunch of email messages
> that should have been delivered. On attempting to get the id for the first
> message, Webtest exits with a java.lang.NullPointerException.
>
> Here is the task step in question:
>
> <emailStoreMessageId
> property='my.property'
> to='info${[email protected]'
> />
>
> Here's what I've done so far:
>
> 1) I checked the Webtest HTML output (to get the expanded TO: field)& the
> 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?
>
> -=-=-=-=-=-=-=
>
> java.lang.NullPointerException
> at
> com.canoo.webtest.plugins.emailtest.AbstractSelectStep.doMatchMultiple(Abstr
> actSelectStep.java:163)
> at
> com.canoo.webtest.plugins.emailtest.AbstractSelectStep.messageMatches(Abstra
> ctSelectStep.java:137)
> at
> com.canoo.webtest.plugins.emailtest.AbstractSelectStep.retrieveMatchingMessa
> ges(AbstractSelectStep.java:112)
> at
> com.canoo.webtest.plugins.emailtest.EmailStoreMessageId.processContent(Email
> StoreMessageId.java:49)
> at
> com.canoo.webtest.plugins.emailtest.AbstractStoreStep.doExecute(AbstractStor
> 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(DelegatingMethodAccessorImpl
> .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=ISO-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=
:
> 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.=
gif<
>> 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
>
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
>
--0016e64402b0d3b602048f0a1223
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi Marc,<div>Thank you for the reply.</div><div>There is no other image wit=
h 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.</div><div><br></div><div=
>
Regards,</div><div>Srini</div><div><br></div><div><br><br><div class=3D"gma=
il_quote">On Mon, Aug 30, 2010 at 7:38 AM, Marc Guillemot <span dir=3D"ltr"=
><<a href=3D"mailto:[email protected]">[email protected]</a>></sp=
an> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;">Hi,<br>
<br>
I really doubt that it sometimes work and sometimes doesn't. What is po=
ssible is that you have an other image with this alt value or that you have=
a timing problem.<br>
<br>
Cheers,<br>
Marc.<br>
<br>
Le 27/08/2010 16:11, sriharini sriharini a =E9crit :<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"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>
<td align=3D"right" width=3D"50%"><br>
<img onmouseover=3D"this.style.cursor=3D'pointer'"<br>=
</div>
src=3D"/f/248/21630/7d/<a href=3D"http://im.test.com/rc/abcd/images/po=
rtal/btn_green_next.gif" target=3D"_blank">im.test.com/rc/abcd/images/porta=
l/btn_green_next.gif</a> <<a href=3D"http://im.test.com/rc/abcd/images/p=
ortal/btn_green_next.gif" target=3D"_blank">http://im.test.com/rc/abcd/imag=
es/portal/btn_green_next.gif</a>>"<div class=3D"im">
<br>
border=3D"0" alt=3D"Next" onclick=3D"validateForm(=
'next');"/><br>
</td><br>
<br>
---------------------------------------<br>
<br>
example step that fails:<br>
<clickElement description=3D"Next" xpath=3D"//i...@alt=3d=
'Next']"/><br>
<br>
------------------------------------------<br>
<br>
On Tue, Aug 24, 2010 at 10:35 AM, sriharini sriharini <<a href=3D"mailto=
:[email protected]" target=3D"_blank">[email protected]</a><br></div><div c=
lass=3D"im">
<mailto:<a href=3D"mailto:[email protected]" target=3D"_blank">kns....@g=
mail.com</a>>> wrote:<br>
<br>
=A0 =A0Hi,<br>
=A0 =A0With the latest build R_1807, clickElement is not working, results<=
br>
=A0 =A0show that this step as passed, but when the page is viewed it not<b=
r>
=A0 =A0navigate to the next page, and subsequent steps failed. I never had=
<br>
=A0 =A0this problem in older versions<br>
<br>
=A0 =A0Any ideas?<br>
<br>
=A0 =A0example step that fails:<br>
=A0 =A0<clickElement description=3D"Next" xpath=3D"//img=
[...@alt=3d'Next']"/><br>
<br>
=A0 =A0Regards,<br>
=A0 =A0Srini<br>
<br>
<br>
</div></blockquote>
<br><div><div></div><div class=3D"h5">
<br>
-- <br>
Blog: <a href=3D"http://mguillem.wordpress.com" target=3D"_blank">http://mg=
uillem.wordpress.com</a><br>
<br>
_______________________________________________<br>
WebTest mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">webt...@lists.=
canoo.com</a><br>
<a href=3D"http://lists.canoo.com/mailman/listinfo/webtest" target=3D"_blan=
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
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest