Bug 170652 - [Test Automation] Automate manual test suites using the Automated GUI Recorder.
Summary: [Test Automation] Automate manual test suites using the Automated GUI Recorder.
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Paul Slauenwhite CLA
QA Contact:
URL:
Whiteboard:
Keywords: plan
Depends on:
Blocks:
 
Reported: 2007-01-16 11:46 EST by Paul Slauenwhite CLA
Modified: 2016-05-05 10:28 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Slauenwhite CLA 2007-01-16 11:46:18 EST
[Test Automation] Automate manual test suites using the Automated GUI Recorder.

This defect is for the sustaining work required in TPTP for automating the manual test suites using the Automated GUI Recorder for the following test projects:

test-results\test\org.eclipse.hyades.test.ui.logViewer.tests
Comment 1 Paul Slauenwhite CLA 2007-02-05 15:20:24 EST
Reassigning to me to be completed with the Manual Test automation.
Comment 2 Paul Slauenwhite CLA 2007-06-25 08:07:52 EDT
4.4 is complete.  Re-targeting to 4.4.0.1.
Comment 3 Paul Slauenwhite CLA 2007-06-25 12:16:25 EDT
This defect is not stop-ship for 4.4.0.1; decreasing priority.
Comment 4 Paul Slauenwhite CLA 2007-06-27 10:17:23 EDT
Retargeting to 4.4.1 to allow 4.4.0.1 Test Project resources to be allocating throughout the other sub-project to complete the patch release.
Comment 5 Paul Slauenwhite CLA 2007-08-22 12:08:47 EDT
Deferring to 4.5 to smoke test 4.4.1 in preparation for 4.4.1 TP1.
Comment 6 Paul Slauenwhite CLA 2007-11-07 06:33:20 EST
Bulk update of the target field to reflect the change in iteration numbers.
Comment 7 Paul Slauenwhite CLA 2007-11-13 10:57:32 EST
Also, add the following manual tests to the Test Log Viewer manual test suite (for documentation purposes) and automate:

1) Add the following manual tests to the Test Log Viewer manual test suite and automate:

File Output:

1. Create a General Project.
	Select File -> New -> Project -> General -> Project.
               Enter a name for the project: 'my_logs_project'. Click on Finish.
2. Run a junit test by right click on the test-suite, select "Open Run Dialog".
     In the "Create, manage and run configurations" dialog, create a test configuration.
     In the "Test log" tab deselect "Use Defaults"
     Select "Defer model Loading   of Test Results"
      Enter a name for the Test Log eg. 'myJunit-execution-result'
     For the location, Select the project "my_logs_project" (created in step 1).
3. Click on "Apply" and then "Run".
4. Check to see that "my_logs_project" folder is empty (I am not sure on this one. Please confirm).
5. Check the workspace folder in the file system that two files named "myJunit-execution-result" and 'myJunit-execution-result.testlog' exist in the folder "my_logs_project".

Generate_TestLog:

1. Switch to Test Perspective.
2. Create a General Project.
	Select File -> New -> Project -> General -> Project.
               Enter a name for the project: 'Logs_project'. Click on Finish.
3. Run a junit test by right click on the test-suite, select "Open Run Dialog".
     In the "Create, manage and run configurations" dialog, create a test configuration.
     In the "Test log" tab deselect "Use Defaults"
     Select "Defer model Loading   of Test Results"
      Enter a name for the Test Log eg. 'myJunit-result'
     For the location, Select the project "Logs_project" (created in step 1).
4. Check that the file "'myJunit-result.testlog" is present.
5 . Double click on the file and see that the text file (XML) begins with a <EXECUTION> and ends with a </EXECUTION>.  Check for the correct number of invocation and verdict events (e.g. if you have five  invocations in your test suite, you should have five <invocationEvent> and six <verdictEvent> events - five invocations verdicts and one arbitrated test suite verdict).

Import_TestLog:

Switch to the Test Perspective.
1. Select File -> Import -> Test Log file.
2. Click the browse button and point to the file generated in the manual test Generate-TestLog.
3. Click the second Browse button and point to the testsuite which was run to generate the above testlog file.
4. Enter the project name 'Logs_project' in 'Enter and select the parent folder' (or any folder name where you wish to import the file) and enter the log file name 'my_logs_file'  and click on finish.
5. Check that the testlog file appears in the specified folder.
6. Double click the file and check that it opens using the Test Log Viewer editor.

Scalability:

1. Run the TestLogGenerator Junit Test with 5 iterations, 10 iterations and 15 iterations.
2. Run the above regression tests on these logs.


Performance & memory:

1. Start eclipse.
2. Measure the current memory consumption and current time.
3. Import a testlog.
4. Double click on the teslog and open it.
5. Measure the memory usage and time.
Repeat this with different size testlogs.
Comment 8 Paul Slauenwhite CLA 2007-11-30 07:14:19 EST
New manual and automated test suites checked into CVS (HEAD).
Comment 9 Paul Slauenwhite CLA 2007-12-17 08:59:54 EST
Verified in TPTP-4.5.0-200712160400.

Closing.
Comment 10 Kendric Wang CLA 2008-01-01 23:33:01 EST
Worked 40 hours on this defect.
Comment 11 Paul Slauenwhite CLA 2008-01-02 06:41:40 EST
Updating hours worked.