[webtest][JIRA] Created: (WT-537) Inheritance from WebtestCase

View: New views
2 Messages — Rating Filter:   Alert me  

[webtest][JIRA] Created: (WT-537) Inheritance from WebtestCase

by JIRA noreply@canoo.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Inheritance from WebtestCase
----------------------------

         Key: WT-537
         URL: http://webtest-community.canoo.com/jira/browse/WT-537
     Project: WebTest
        Type: Task

    Reporter: Paul  Mecca


I have built some test caes for my company's site and charged with the task of refactoring the tests in an abstract class which extends WebtestCase. My code was written with Groovy. So the abstract class extends WebtestCase and my test classes extend the abstract class.When the test runs I get the following error:
Caused by: : Problem: failed to create task or type openPage
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.

        at org.apache.tools.ant.UnknownElement.getNotFoundException(UnknownElement.java:481)
Is there a way to successfully accomplish this?


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

_______________________________________________
WebTest mailing list
WebTest@...
http://lists.canoo.com/mailman/listinfo/webtest

[webtest][JIRA] Closed: (WT-537) Inheritance from WebtestCase

by JIRA noreply@canoo.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

     [ http://webtest-community.canoo.com/jira/browse/WT-537?page=all ]
     
Marc Guillemot closed WT-537:
-----------------------------

    Fix Version: Future work
     Resolution: Invalid
      Assign To: Marc Guillemot

As mentionned by previous comment, openPage is not a WebTest step.

> Inheritance from WebtestCase
> ----------------------------
>
>          Key: WT-537
>          URL: http://webtest-community.canoo.com/jira/browse/WT-537
>      Project: WebTest
>         Type: Task

>     Reporter: Paul  Mecca
>     Assignee: Marc Guillemot
>      Fix For: Future work

>
> I have built some test caes for my company's site and charged with the task of refactoring the tests in an abstract class which extends WebtestCase. My code was written with Groovy. So the abstract class extends WebtestCase and my test classes extend the abstract class.When the test runs I get the following error:
> Caused by: : Problem: failed to create task or type openPage
> Cause: The name is undefined.
> Action: Check the spelling.
> Action: Check that any custom tasks/types have been declared.
> Action: Check that any <presetdef>/<macrodef> declarations have taken place.
> at org.apache.tools.ant.UnknownElement.getNotFoundException(UnknownElement.java:481)
> Is there a way to successfully accomplish this?

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

_______________________________________________
WebTest mailing list
WebTest@...
http://lists.canoo.com/mailman/listinfo/webtest