Skip to main content



      Home
Home » Archived » Test and Performance Tools Platform (TPTP) » assertions http recording / integration with other test system / GEF
assertions http recording / integration with other test system / GEF [message #86101] Mon, 30 October 2006 17:21 Go to next message
Eclipse UserFriend
Hi,

I am new to the TPTP tools and I have some short, but important
questions. I am sorry, if my questions are documented somewhere but the
tptp tools are so extensive. Until now I didn't find answers for my
questions.

Firstly, is it possible to add verification points to a http recording,
e.g. if the title of a received html document is equals "foo". Or is the
http recording tool only designates for performance tests? I have found
one assertion in the generated java test file that checks, if no error
code is returned. Is this the place where I can add own assertions or is
there a different approach?

Secondly, is it possible to intergrate other test systems like cactus or
htmlunit in the tptp testsuite? The problem is that these systems uses
different superclasses, but for tptp I have to use the tptp superclass.
Or am I wrong?

Further, I have another, short, but no so important question. Before
this project I worked a long time with GEF. Is the GUI recorder able to
test plug-ins using GEF, e.g. to verify if the modeling area contains a
box with the name "foo"? Is this possible?

Every help is appreciated.

Cheers,
Jens
Re: assertions http recording / integration with other test system / GEF [message #86116 is a reply to message #86101] Tue, 31 October 2006 11:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nmehrega.ca.ibm.com

This is a multipart message in MIME format.
--=_alternative 005B30E285257218_=
Content-Type: text/plain; charset="US-ASCII"

Please see the following about your last question (AGR and GEF):
http://dev.eclipse.org/newslists/news.eclipse.tptp/msg01323. html

Navid Mehregani
--=_alternative 005B30E285257218_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Please see the following about your
last question (AGR and GEF): http://dev.eclipse.org/newslists/news.eclipse.tptp/msg01323. html</font>
<br>
<br><font size=2 face="sans-serif">Navid Mehregani</font>
--=_alternative 005B30E285257218_=--
Re: assertions http recording / integration with other test system / GEF [message #86464 is a reply to message #86116] Sat, 04 November 2006 12:46 Go to previous messageGo to next message
Eclipse UserFriend
Navid_Mehregani wrote:
> Please see the following about your last question (AGR and GEF):
> http://dev.eclipse.org/newslists/news.eclipse.tptp/msg01323. html
>
> Navid Mehregani

Thanks Navid,

but has nobody a short comment on my other question?

Cheers,
Jens
Re: assertions http recording / integration with other test system / GEF [message #96457 is a reply to message #86101] Thu, 19 April 2007 06:44 Go to previous message
Eclipse UserFriend
Hi Jens,
Regarding your first question, you cannot add verification points during
the recording. However, once you generate the JUnit source code for the
generated URL test suite, you can manually add assertions to the various
test methods.

Regarding your second question, to integrate other testing frameworks,
you need to create a new TPTP test type for that framework. For example,
TPTP provides a JUnit test type for the JUnit test framework. See the
'Building a Custom Test Execution Environment' tutorial and source for more
details (http://www.eclipse.org/tptp/test/documents/index.php).

I believe your third question is answered in the previous post.

Paul
"Jens" <jens.bartelheimer@gmx.de> wrote in message
news:ei5ttr$luf$1@utils.eclipse.org...
> Hi,
>
> I am new to the TPTP tools and I have some short, but important
> questions. I am sorry, if my questions are documented somewhere but the
> tptp tools are so extensive. Until now I didn't find answers for my
> questions.
>
> Firstly, is it possible to add verification points to a http recording,
> e.g. if the title of a received html document is equals "foo". Or is the
> http recording tool only designates for performance tests? I have found
> one assertion in the generated java test file that checks, if no error
> code is returned. Is this the place where I can add own assertions or is
> there a different approach?
>
> Secondly, is it possible to intergrate other test systems like cactus or
> htmlunit in the tptp testsuite? The problem is that these systems uses
> different superclasses, but for tptp I have to use the tptp superclass.
> Or am I wrong?
>
> Further, I have another, short, but no so important question. Before
> this project I worked a long time with GEF. Is the GUI recorder able to
> test plug-ins using GEF, e.g. to verify if the modeling area contains a
> box with the name "foo"? Is this possible?
>
> Every help is appreciated.
>
> Cheers,
> Jens
>
Previous Topic:HTML Reports as a result of profiling JUnit tests Headless
Next Topic:Concering bug 144950
Goto Forum:
  


Current Time: Sat Jul 12 23:02:13 EDT 2025

Powered by FUDForum. Page generated in 0.07150 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top