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.

TablePlugin and EditTablePlugin test case - mixed order of EDITTABLE and TABLE tags

Description: Manual test of the combinations of TABLE and EDITTABLE macros with advanced tables and with the option strings containing other macros

Test steps

  • All 4 tables look exactly the same
  • All 4 tables can be edited
  • All 4 tables have the column widths matching the settings in TABLE tag
  • All 4 tables can be edited and saved and the CALC are not saved as their values
  • The first column in view mode is 80 wide same as 2nd column
  • The 3rd column in edit mode is a 3 character wide text field
  • When editing one table the 3 others look like normal viewing.
  • In all 4 tables edit and add a row. The row must be added BEFORE the footer row
  • Put some text in the fields. Use some Macros like WIKINAKE and RED/ENDCOLOR
  • Save and check that the new row appears OK with calculations
  • Check in raw view that the Macros are saved as macros and that the CALC in the 13th column is the same as the previous columns
  • Edit the table again and move the row above the footer up a few positions
  • Save and check that the row ended up at the right position and that the footer is still at the bottom

The purpose of ENCODE is to use a Macro with full {} syntax but without actually changing the text inside it.

TABLE before EDITTABLE - two lines

Project Customer Pass Type Purpose Qty Radios Controllers Hubs Tuners Hybrid Unit Cost (USD) Total Cost (USD) When (Q)
Total         4 14 1 6 6 1   22144  
Project A Engineering A PK2 Eng Test 2 4   2 2   6214 12428 Q1
Project B Factory A PC2 Fact Test 1 4   2 2   6214 6214 Q1
Project C Eng P1 CT5 Eng Test 1 2 1     1 3502 3502 Q1

EDITTABLE before TABLE - two lines

Project Customer Pass Type Purpose Qty Radios Controllers Hubs Tuners Hybrid Unit Cost (USD) Total Cost (USD) When (Q)
Total         6 22 5 6 10 1   34834  
Project A Engineering A PK2 Eng Test 2 4   2 2   6214 12428 Q1
Project B Factory A PC2 Fact Test 1 4   2 2   6214 6214 Q1
Project C Eng P1 CT5 Eng Test 1 2 1     1 3502 3502 Q1
Project D SW P3 CT5 SW Dev 2 4 2   2   6345 12690 Q1

TABLE before EDITTABLE - one line

Project Customer Pass Type Purpose Qty Radios Controllers Hubs Tuners Hybrid Unit Cost (USD) Total Cost (USD) When (Q)
Total         6 22 5 6 10 1   34834  
Project A Engineering A PK2 Eng Test 2 4   2 2   6214 12428 Q1
Project B Factory A PC2 Fact Test 1 4   2 2   6214 6214 Q1
Project C Eng P1 CT5 Eng Test 1 2 1     1 3502 3502 Q1
Project D SW P3 CT5 SW Dev 2 4 2   2   6345 12690 Q1

EDITTABLE before TABLE - one line

Project Customer Pass Type Purpose Qty Radios Controllers Hubs Tuners Hybrid Unit Cost (USD) Total Cost (USD) When (Q)
Total         6 22 5 6 10 1   34834  
Project A Engineering A PK2 Eng Test 2 4   2 2   6214 12428 Q1
Project B Factory A PC2 Fact Test 1 4   2 2   6214 6214 Q1
Project C Eng P1 CT5 Eng Test 1 2 1     1 3502 3502 Q1
Project D SW P3 CT5 SW Dev 2 4 2   2   6345 12690 Q1

-- end of test
Wersja tematu: r1. Ostatnia edycja: 2009-03-14, AdminUser. Stronę odwiedzono 1270 razy.
 
O ile nie jest to stwierdzone inaczej, wszystkie materiały na stronie są dostępne na licencji Creative Commons Uznanie Autorstwa 3.0 Polska.
Pewne prawa zastrzeżone na rzecz Polskiej Partii Piratów. Serwis wykorzystuje oprogramowanie Foswiki na licencji GPL v2.