Details
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
This issue is blocked by: | ||||
QS-2789 | Q7 doesn't delete all figures on a diagram during replay. |
![]() |
![]() |
|
QS-2904 | Tree items are not expanded during replay when you select a child item. |
![]() |
![]() |
|
QS-2724 | get-menu on Nebula Grid isn't replayed |
![]() |
![]() |
|
QS-2783 | Metus grid: item index isn't refreshed after up-level item is collapsed. |
![]() |
![]() |
|
QS-2790 | Q7 records row header click as a general item selection. |
![]() |
![]() |
|
QS-2787 | Specific column selection in nebula grid is not distinguished. |
![]() |
![]() |
|
QS-2782 | Q7 fails to replay get-nebula-grid | get-menu command. |
![]() |
![]() |
|
QS-2786 | Ctrl+C/Ctrl+V are not recorded in nebula grid. |
![]() |
![]() |
|
QS-2895 | Support selecting item ranges in Grid |
![]() |
![]() |
Rewriting should be started from failing tests first.
For more information about the tests see http://docs.xored.com/display/Q7/Metus+Testing