Tiny changes.
Removed newly created by unnecessary class. Selenese test Case seems to work. Some new tries on expanding a folder have been made. The '+' sign is located but somehow the click() is not allowed -- still work in progress.
Since WebDriver instance is common for both FileUtils and FolderUtils a new class has been created 'setUpUtils' that serves common variables and setUp() and tearDown() methods. For the same reason, GeneralPurposeUtils has been created to hold common frequantly used methods for both file and folder tests. Also an initial test SeleneseTestCase class has been created in order to create tests that need right click. However, this test doesn't start. Finally, id's in folderContextDialog changed and moved inside <span> element.
Made a new arrangement of tests on folder utilities and added some new methods regarding file tests. Tests on group items failed. And folderContext menu ids need revising.
Added new test classes for handling test on file resources. Added ids to file context menu and ids to the files in the file list with the namespace 'fileList.nameOfFile'. Todo: handle the right click event on the group tree.
Added two new classes. The first 'TestFolderSharing' handles the 'Sharing' option for a folder (work in progress) and the second 'TestGroup' handles actions available in the application related to groups (lots of obstacles to overtake, still work in progress). Added also the action of renaming a folder in the TestFolderBasics.
Added a new test class in order to test the 'Sharing' option for Folder. Also added some more id's to the FolderProperties dialog and to PermissionAddDialog
More tries to expand the '+'... xPath seems to be wrong plus the onClick() event of the desired div is not triggered.
Another try modeling the tests. Under the notion 'Folder' there have been created methods that represent some of the allowed actions on a folder and corresponding junit test methods have been created. A test suite for folder should be made with these test methods.
Created some test scenarios such as 'create new folder and then delete it', 'create new folder and then move it to trash' using WebDriver. The right click didn't work correctly so in the 'move to trash scenario' the newly created folder remains to trash. Also the logging system needs fixing as long as an assertion alternative should be adopted.
View revisions
Also available in: Atom