Q7

Rewrite Metus tests using Q7 Nebula Grid support

Details

  • Type: Task Task
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.3.x
  • Component/s: Nebula
  • Labels:
  • Test Mode:
    Manual

Description

There are many tests using get-canvas and coordinate positioning for testing Grid component in Metus.
As we now have the Grid support, those tests are to be rewritten using get-nebula-grid command, and related.

For example:

get-canvas | get-property "getItems().GridItem[0].getText()"

should be rewritten as

get-nebula-grid | get-item -index 0 | get-property caption

The most of all needed commands will be gained by recording. Though some of them should be fixed according to the test logic (e.g. -index parameter should be used, when we are verifying first item caption; not getting item by caption itself).

Report any problems with recording or replaying tests, related to this task:
The tickets should be labeled as Metus and assigned to me (Alexander Sheboltaev).

Repo with the tests can be cloned from ssh://<your_username>@cvs.xored.com/git/q7metus
Deployment of AUT Metus for the local testing is to be discussed...

Issue Links

Activity

Hide
alexander.sheboltaev added a comment - 22/Jul/13 12:24 PM

Rewriting should be started from failing tests first.
For more information about the tests see http://docs.xored.com/display/Q7/Metus+Testing

Show
alexander.sheboltaev added a comment - 22/Jul/13 12:24 PM Rewriting should be started from failing tests first. For more information about the tests see http://docs.xored.com/display/Q7/Metus+Testing
Hide
Ulyana Skorokhodova added a comment - 24/Jul/13 3:33 PM - edited

The following tests can't be rewritten until related bugs are fixed:

MU - 040 - New Element (Kontextmenü) - QS-2782
MU - 042 - New Child Element (Kontextmenü) - QS-2782
MU - 043 - New Child Element - QS-2782
MU - 044 - Delete Element (Kontextmenü) - QS-2782, QS-2790
MU - 045 - Delete Element (entf) - QS-2790, QS-2790
MU - 052 - Create Chart from Table - QS-2782
MU - 053 - Copy Bitmap to Clipboard - QS-2782
MU - 060 - Paste as New Element - QS-2782
MU - 061 - Paste as New Element Ctrl+C - QS-2786
MU - 063 - Show connected to selection - QS-2782
MU - 066 - Remove Column - QS-2782
MU - 070 - Change Reference Attribute Value - QS-2787 (test hangs after refactoring)
MU - 112 - Paste as New (Child) Element (Kontextmenü) - QS-2782
MU - 113 - New Element (Kontextmenü) - QS-2782
MU - 115 - New Child Element - QS-2782, QS-2904
MU - 116 - Autonumber - QS-2782
MU - 118 - Create Chart from Table - QS-2782
MU - 119 - Add Milestone - QS-2782
MU - 120 - Create Process in Gantt - QS-2782
MU - 128 - Remove Table (Kontextmenü) - QS-2782
MU - 133 - Print to Bitmap - QS-2782
MU - 135 - New/Paste Element (Kontextmenü) - QS-2782
MU - 137 - New/Paste Child Element (Kontextmenü) - QS-2782
MU - 139 - Conditional Format in Matrix - QS-2782
MU - 140 - Autonumber - QS-2782
MU - 142 - Create Chart from Table - QS-2870
MU - 143 - Print to Bitmap - QS-2782
MU - 145 - Remove Table (Kontextmenü) - QS-2782
MU - 151 - Delete Element (Kontextmenü) - QS-2782, QS-2790
MU - 152 - Delete Element(Entf) - QS-2790
MU - 153 - Conditional Format in Strutured Table - QS-2782
MU - 154 - Autonumber in ST - QS-2782
MU - 157 - Create Chart from Table - QS-2782
MU - 158 - Print to Bitmap - QS-2782
MU - 191 - CSV Herachie Import klein
MU - 192 - CSV SAP Import Klein
MU - 206 - Create Chart from Table (Kontextmenü) - QS-2782
MU - 207 - Combine Elements in Table Views - QS-2782, QS-2895
MU - 208 - Freeze Column - QS-2782
MU - 210 - New/Paste Child Element - QS-2782
MU - 212 - Delete multiple elements - QS-2790, QS-2895
MU - 213 - Delete multiple elements - QS-2782, QS-2790, QS-2895
MU - 245 - Delete Cell Content - QS-2782
MU - 246 - Apply as default sorting - QS-2782
MU - 253 - Paste as New Element(s) - QS-2782
MU - 254 - Paste as New Child Element(s) - QS-2782
MU - 262 - Move position of column - QS-2793
MU - 266 - Filter by Column (Remove Column) - QS-2783
MU - 267 - Freeze Column - QS-2782
MU - 268 - Delete Cell Content (mehrerer Zellen) - QS-2782
MU - 275 - Conditional Formatter with comma seperated numbers - QS-2782
MU - 293 - Freeze Column 2 - QS-2782
MU - 304 - Copy attribute with number format - QS-2786
MU - 305 - Copy attribute with date format - QS-2786
MU - 313 - Edit reference attribute - QS-2787
MU - 327 - Add same Attachment to same Element - no required files in Testdaten
MU - 340 - Delete content of a chart - QS-2789
MU - 403 - Roundtrip2 Attachment - test fails, because it verifies wrong attachmnets, probably should fix the test
MU - 405 - Commit/Update Attachment - no requiered files in Testdaten (Import file for MU - 409.xlsx)
MU - 406 - Projektadmin - Rechte im Server-Mode - need to configure users
MU - 407 - Serveradmin - Rechte im Server-Mode - need to configure users
MU - 409 - Conflict Name in Element My changes - Merge conflict window appears. Ask about test content.

Show
Ulyana Skorokhodova added a comment - 24/Jul/13 3:33 PM - edited The following tests can't be rewritten until related bugs are fixed: MU - 040 - New Element (Kontextmenü) - QS-2782 MU - 042 - New Child Element (Kontextmenü) - QS-2782 MU - 043 - New Child Element - QS-2782 MU - 044 - Delete Element (Kontextmenü) - QS-2782, QS-2790 MU - 045 - Delete Element (entf) - QS-2790, QS-2790 MU - 052 - Create Chart from Table - QS-2782 MU - 053 - Copy Bitmap to Clipboard - QS-2782 MU - 060 - Paste as New Element - QS-2782 MU - 061 - Paste as New Element Ctrl+C - QS-2786 MU - 063 - Show connected to selection - QS-2782 MU - 066 - Remove Column - QS-2782 MU - 070 - Change Reference Attribute Value - QS-2787 (test hangs after refactoring) MU - 112 - Paste as New (Child) Element (Kontextmenü) - QS-2782 MU - 113 - New Element (Kontextmenü) - QS-2782 MU - 115 - New Child Element - QS-2782, QS-2904 MU - 116 - Autonumber - QS-2782 MU - 118 - Create Chart from Table - QS-2782 MU - 119 - Add Milestone - QS-2782 MU - 120 - Create Process in Gantt - QS-2782 MU - 128 - Remove Table (Kontextmenü) - QS-2782 MU - 133 - Print to Bitmap - QS-2782 MU - 135 - New/Paste Element (Kontextmenü) - QS-2782 MU - 137 - New/Paste Child Element (Kontextmenü) - QS-2782 MU - 139 - Conditional Format in Matrix - QS-2782 MU - 140 - Autonumber - QS-2782 MU - 142 - Create Chart from Table - QS-2870 MU - 143 - Print to Bitmap - QS-2782 MU - 145 - Remove Table (Kontextmenü) - QS-2782 MU - 151 - Delete Element (Kontextmenü) - QS-2782, QS-2790 MU - 152 - Delete Element(Entf) - QS-2790 MU - 153 - Conditional Format in Strutured Table - QS-2782 MU - 154 - Autonumber in ST - QS-2782 MU - 157 - Create Chart from Table - QS-2782 MU - 158 - Print to Bitmap - QS-2782 MU - 191 - CSV Herachie Import klein MU - 192 - CSV SAP Import Klein MU - 206 - Create Chart from Table (Kontextmenü) - QS-2782 MU - 207 - Combine Elements in Table Views - QS-2782, QS-2895 MU - 208 - Freeze Column - QS-2782 MU - 210 - New/Paste Child Element - QS-2782 MU - 212 - Delete multiple elements - QS-2790, QS-2895 MU - 213 - Delete multiple elements - QS-2782, QS-2790, QS-2895 MU - 245 - Delete Cell Content - QS-2782 MU - 246 - Apply as default sorting - QS-2782 MU - 253 - Paste as New Element(s) - QS-2782 MU - 254 - Paste as New Child Element(s) - QS-2782 MU - 262 - Move position of column - QS-2793 MU - 266 - Filter by Column (Remove Column) - QS-2783 MU - 267 - Freeze Column - QS-2782 MU - 268 - Delete Cell Content (mehrerer Zellen) - QS-2782 MU - 275 - Conditional Formatter with comma seperated numbers - QS-2782 MU - 293 - Freeze Column 2 - QS-2782 MU - 304 - Copy attribute with number format - QS-2786 MU - 305 - Copy attribute with date format - QS-2786 MU - 313 - Edit reference attribute - QS-2787 MU - 327 - Add same Attachment to same Element - no required files in Testdaten MU - 340 - Delete content of a chart - QS-2789 MU - 403 - Roundtrip2 Attachment - test fails, because it verifies wrong attachmnets, probably should fix the test MU - 405 - Commit/Update Attachment - no requiered files in Testdaten (Import file for MU - 409.xlsx) MU - 406 - Projektadmin - Rechte im Server-Mode - need to configure users MU - 407 - Serveradmin - Rechte im Server-Mode - need to configure users MU - 409 - Conflict Name in Element My changes - Merge conflict window appears. Ask about test content.

People

Vote (0)
Watch (0)

Dates

  • Created:
    17/Jul/13 11:14 AM
    Updated:
    28/Jan/15 2:09 PM
    Resolved:
    28/Jan/15 2:09 PM