Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Running TPTP AGR tests from ant script
Running TPTP AGR tests from ant script [message #120911] Wed, 16 January 2008 07:15 Go to next message
Eclipse UserFriend
Originally posted by: swati_gkd.rediffmail.com

Hello,

I have gone through the help of running TPTP AGR tests from ant
script.
It works perfectly. And is very useful.

I have a query:
Is it possible to replace the string in the Object Mine script of
recorded testsuite. If I pass two properties to ant and wanted to find and
replace from Object Mine of recorded test case.
I want this to work, as my testcase records machine name and want
to run same test cases on different machines automatically.

Please let me know is it possible to find and replace Object Mine
script.
Thanks in advanced.


Thanks and Regards,
Swati
Re: Running TPTP AGR tests from ant script [message #120928 is a reply to message #120911] Wed, 16 January 2008 11:27 Go to previous message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Swati,
I would suggest inserting a verification point when you capture the
machine name and then write some Java code to resolve the local machine
name.

You can also use a datapool for the properties in your test suite, but
you will not be able to change the datapool contents once the test suite is
executed.

http://www.eclipse.org/tptp/test/documents/gettingstarted/Au tomated_GUI_Recorder_Getting_Started.html

Paul
"Swati" <swati_gkd@rediffmail.com> wrote in message
news:a5d8b7b8b5e6bf1017c79584f61e7ce3$1@www.eclipse.org...
> Hello,
>
> I have gone through the help of running TPTP AGR tests from ant
> script.
> It works perfectly. And is very useful.
>
> I have a query:
> Is it possible to replace the string in the Object Mine script of
> recorded testsuite. If I pass two properties to ant and wanted to find and
> replace from Object Mine of recorded test case.
> I want this to work, as my testcase records machine name and want to
> run same test cases on different machines automatically.
>
> Please let me know is it possible to find and replace Object Mine
> script.
> Thanks in advanced.
>
> Thanks and Regards,
> Swati
>
Previous Topic:running AGR testsuite file from command line
Next Topic:Anyone who modified startup script of JBoss "run.sh" for TPTP Profiler, pls show me
Goto Forum:
  


Current Time: Fri Apr 26 15:14:05 GMT 2024

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

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

Back to the top