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.

TestCaseSaveContentWithoutEdit

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:

  1. The topic already exisit containing form field values
  2. A templatetopic is specified.
  3. 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 2017-11-20 - 10:00 (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 2017-11-20 - 10:00 (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"
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2005-08-17 - LynnwoodBrown
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback