Revision 1016f160 test/gr/ebs/gss/client/selenium/tests/TestFileBasics.java

b/test/gr/ebs/gss/client/selenium/tests/TestFileBasics.java
19 19
package gr.ebs.gss.client.selenium.tests;
20 20

  
21 21

  
22
import java.awt.AWTException;
23

  
22 24
import org.junit.Test;
23 25
import org.openqa.selenium.By;
24 26
import org.openqa.selenium.Keys;
......
29 31

  
30 32
public class TestFileBasics extends FileUtils{
31 33
	
32
	@Test
34
//	@Test
33 35
	public void testClickAFile(){
34 36
		selectFolderBelowHome(userName, folderName);
35
		clickAFile(fileName);
37
		selectFile(fileName);
36 38
		
37 39
		rightClickOnFile(fileName);
38 40
		
39 41
		selectFileContextMenuOption("refresh");
40 42
	}
41 43
	
42
	@Test
44
//	@Test
43 45
	public void testRightClickOnFile() throws InterruptedException{
44 46
		/**
45 47
		 * Q: The "onchange" event doesn't fire after a call "sendKeys"
......
68 70
		
69 71
	}
70 72
	
73
	@Test
74
	public void testDownloadFile() throws InterruptedException, AWTException{
75
		selectFolderBelowHome(userName, folderName);
76
		Thread.sleep(1000);
77
		selectFile(fileToDownload);
78
		Thread.sleep(1000);
79
		downloadFile();
80
		Thread.sleep(3000);
81
	}
82

  
83
	public void testFileProperties() throws InterruptedException{
84
		selectFolderBelowHome(userName, folderName);
85
		Thread.sleep(1000);
86
		selectFile(fileToDownload);
87
		Thread.sleep(1000);
88
		
89
		selectTopMenu("file");
90
		Thread.sleep(1000);
91
		selectAnOptionInTopMenu("file","properties");
92
	}
71 93
}

Also available in: Unified diff