Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Posting on behalf of Rakesh Sagar
Posting on behalf of Rakesh Sagar [message #94818] Tue, 03 April 2007 19:47 Go to next message
No real name is currently offline No real nameFriend
Messages: 404
Registered: July 2009
Senior Member
Hi Ali
Thank you for the replyl. I am following the following steps to execute the
testcase.
I am following the steps metioned in the tutorial for AGR.
< http://www.eclipse.org/tptp/test/documents/userguides/Intro- Auto-GUI.html>
]
Assuming that testsuite is created inside the plugin project,
1 I clicked the recording button to record a test case.
I clicked the artificial wait time button to increase the wait time since
one of the causes of failure was like finish button was disabled.
2. Select the project as java project with java perspective.Here I have
used AspectJ project as well as pageflow project(as javaproject and java
perspective.)as the project which I want to execute.
3. I named the project and clicked finish.
4. I then clicked terminate button on the recording panel.
5. I deleted the java project.
I then opened the testcase page of the test suite and chosing a command I
clicked the playback button.
The entire action was replayed. I then opened the behaviour page and
clicked the add child button to add a child.
6. I saved the child by selecting file-> save. Then I chose run->run under
the open page I then selected test ->new. I created a new test and selected
plugin projectname->test-resource->testsuite highlighting the test suite and
chosing local deployment i nthe right panel.
7. finally I click run.
8.The outcome could be
the entire sequence of steps is played in most of cases resulting in
test.execution file stating the result.
The result is pass for a simple java project.but in all other cases it
fails.even if I decide to put a simple java file I get test result as
failed.

the attached file error.doc contains the relevent stacktrace as well as the
screen shots for your perusal.

Could the memory leakage or less memory be the cause of failure. I am using
a work station with 2GB ram. also for the virtual machine I have provided
512Mb as max memory.

Thanks in advance

Thanks and Regards
Re: Posting on behalf of Rakesh Sagar [message #94834 is a reply to message #94818] Tue, 03 April 2007 19:51 Go to previous message
No real name is currently offline No real nameFriend
Messages: 404
Registered: July 2009
Senior Member
Two suggestion:

1) Don't use the artificial wait times. Some of the wait time periods are
longer than 30 seconds, and it is causing time-outs
2) Your macro is way too long, break it down into multiple test cases.
It'll be much easier to tell what is causing the failure if your macro is
short. For example you can create the following test cases:

CreateProject (create the projects needed)
CreateArtifacts (create the packages and the required classes)
ModifyFileContent (modify the content of your file)

Thanks,
Ali Mehregani

"Ali Mehregani" <amehrega@ca.ibm.com> wrote in message
news:euub0t$jur$1@build.eclipse.org...
> Hi Ali
> Thank you for the replyl. I am following the following steps to execute
> the testcase.
> I am following the steps metioned in the tutorial for AGR.
> <
> http://www.eclipse.org/tptp/test/documents/userguides/Intro- Auto-GUI.html>
> ]
> Assuming that testsuite is created inside the plugin project,
> 1 I clicked the recording button to record a test case.
> I clicked the artificial wait time button to increase the wait time since
> one of the causes of failure was like finish button was disabled.
> 2. Select the project as java project with java perspective.Here I have
> used AspectJ project as well as pageflow project(as javaproject and java
> perspective.)as the project which I want to execute.
> 3. I named the project and clicked finish.
> 4. I then clicked terminate button on the recording panel.
> 5. I deleted the java project.
> I then opened the testcase page of the test suite and chosing a command I
> clicked the playback button.
> The entire action was replayed. I then opened the behaviour page and
> clicked the add child button to add a child.
> 6. I saved the child by selecting file-> save. Then I chose run->run
> under the open page I then selected test ->new. I created a new test and
> selected plugin projectname->test-resource->testsuite highlighting the
> test suite and chosing local deployment i nthe right panel.
> 7. finally I click run.
> 8.The outcome could be
> the entire sequence of steps is played in most of cases resulting in
> test.execution file stating the result.
> The result is pass for a simple java project.but in all other cases it
> fails.even if I decide to put a simple java file I get test result as
> failed.
>
> the attached file error.doc contains the relevent stacktrace as well as
> the screen shots for your perusal.
>
> Could the memory leakage or less memory be the cause of failure. I am
> using a work station with 2GB ram. also for the virtual machine I have
> provided 512Mb as max memory.
>
> Thanks in advance
>
> Thanks and Regards
>
Previous Topic:Problems with Code Coverage
Next Topic:Posting on behalf on Navid Mehregani
Goto Forum:
  


Current Time: Wed Apr 24 21:11:25 GMT 2024

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

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

Back to the top