« Return to Thread: Looking for help running Groovy in Canoo Webtest

Re: Looking for help running Groovy in Canoo Webtest

by aldana :: Rate this Message:

Reply to Author | View in Thread

i am using groovy and no xml stuff. groovy feels much more like test
scripting as this programming in xml horror.

it is quite straighforward to setup though i used maven (which gives you
an easier ramp-up). it took me roughly half a day, the major problem i
had was the configuration step inside groovy (see
http://www.nabble.com/using-option-step-in-groovy-syntax-td24134316.html).
the post also explains the handling of the java-script error message.

as a starter have a look at:
http://groovy.dzone.com/news/webtest-groovy-maven-and

don't know about eclipse, i am using fantastic IntelliJ IDEA which has
great groovy support and IDE integration was smoothly.


Zepernick David schrieb:

> Hi, my name is David
> I work for John Deere Agri Services and I am a member of development
> team that is building business solutions for the agricultural industry.
> I am , more specifically, a part of the QA group. Not a lot of
> programming experience myself but have programmers available to me
> although their time is limitted.
> This year our development group decided to give Canoo Webtest a try.
> I have become familiar with Canoo Webtest and have been able to write
> automated test scripts.
> We as a team have had some success but have run into a few problems
> that have limitted what we can do with Canoo Webtest.
> I am hoping to get a little direction from someone that has experience
> with Canoo Webtest.
> Problem #1
> Javascript errors - Controls that are incorporated to some of our
> webpages that are written in javascript cause errors when running the
> scripts and prevent us from saving pages.
> The error messages look like this:
> JavaScript error loading page
> _https://eaqa.jdas.deere.com/Base/Home.aspx?tabcode=HOME&bppik=1_
> <https://eaqa.jdas.deere.com/Base/Home.aspx?tabcode=HOME&bppik=1>
> : TypeError: Cannot find function extend in object function Object()
> { [native code for Object.Object, arity=1] } .
> (_https://eaqa.jdas.deere.com/ajaxpro/Jdas.Applications.ExtendAg.Base.UI.Pages_
> .Home,Jdas.Applications.ExtendAg.Base.UI.ashx#8)
> Problem #2
> In attempting to incorporate groovy script into our scripts. Groovy
> code doesn’t seem to work.
> Eclipse is our IDE , btw .
> Is there a simple example of a Canoo webtest script that incorporates
> the <groovy> tags with simple groovy code that will produce some
> results that I can use to verify that I have everything working
> properly (somewhere out on the internet)? The example on the canoo
> site didn’t work as is.
> Im not sure my configuration is correct in Eclipse.I had to manually
> add the plugin using a zip file because the software update feature
> didn’t work.
> Can you refer me to any documentation that might get me started
> Im not even sure this is the right approach. Is Canoo Webtest commonly
> used this way or is it better to right groovy scripts that refer to
> Canoo webtest commands?
> Any help would be appreciated.


--
 manuel aldana
 aldana@...
 software-engineering blog: http://www.aldana-online.de

_______________________________________________
WebTest mailing list
WebTest@...
http://lists.canoo.com/mailman/listinfo/webtest
manuel aldana
aldana((at))gmx.de
software-engineering blog: http://www.aldana-online.de

 « Return to Thread: Looking for help running Groovy in Canoo Webtest