NOTE: This is the TestCases web. You cannot edit any topic named "TestCase..." or "Web..." in this web, you can only create new topics. Any topics you do create that are not checked into subversion may be deleted by anyone, at any time.
Description: Verify the proper creation or revision of a topic without going through edit, along with the proper handling of URL params in the following cases:
- The topic already exisit containing form field values
- A
templatetopic
is specified.
- A
formtemplate
is specified.
In all cases, some form field values will be changed with URL params and other with be left unchanged.
Before this test, the content of the
SavedContentExistingTopic should be:
This topic is used by
TestCaseSaveContentWithoutEdit
Rubaduba form field should say 2025-03-12 - 09:55 (after running test).
The other form fields should be unchanged. i.e.:
- Squeegle = Hugh Pugh Barney McGrew
- Smomble = unchecked
- Slash Slash Escape = One
The actual content is:
This topic is used by
TestCaseSaveContentWithoutEdit
Rubaduba form field should say 2025-03-12 - 09:55 (after running test).
The other form fields should be unchanged. i.e.:
- Squeegle = Hugh Pugh Barney McGrew
- Smomble = unchecked
- Slash Slash Escape = One
if the content is different, you need to delete SavedContentExistingTopic and "svn update" again.
Test #1: Passing URL Params to update fields in an existing topic
Click here to run the test. Expected result:
- The topic should still contain the content shown above.
- Rubaduba form field should contain current GMTIME. This variable is also in topic for comparison.
- The other form fields should be unchanged. i.e.:
- Squeegle = Hugh Pugh Barney McGrew
- Smomble = unchecked
- Slash Slash Escape = One
Test #2: Passing URL Params to new topic with templatetopic
specified
Before running this test, check if
SavedNewTopicNoEdit exist and, if so,
delete it.
Click here to run the test and topic. Expected result:
- The topic should contain some content, including some text passed in url.
- Rubaduba form field should contain current GMTIME. This variable is also in topic for comparison.
- The other form fields should be unchanged. i.e.:
- Squeegle = Hugh Pugh Barney McGrew
- Smomble = unchecked
- Slash Slash Escape = One
Test #3: Passing URL Params to new topic with formtemplate
specified
Before running this test, check if
SavedNewTopicNoEdit exists and, if so,
delete it.
Click here to run the test and topic. Expected result:
- The topic should contain some text passed in url.
- The topic should have ThisForm assigned.
- Rubaduba form field should contain current GMTIME.
- Squeegle form field should contain "Hugh"