Revision 3521,
800 bytes
checked in by luiz-fernando, 13 years ago
(diff) |
Ticket #1402 - Automacao dos casos de teste do Expresso documentados no Testlink
|
Line | |
---|
1 | package br.gov.serpro.cte.connection; |
---|
2 | |
---|
3 | import com.thoughtworks.selenium.DefaultSelenium; |
---|
4 | import com.thoughtworks.selenium.SeleneseTestCase; |
---|
5 | import com.thoughtworks.selenium.Selenium; |
---|
6 | |
---|
7 | public class DAOSelenium extends SeleneseTestCase |
---|
8 | { |
---|
9 | private String seleniumServer; |
---|
10 | private Integer seleniumPort; |
---|
11 | private String seleniumBrowser; |
---|
12 | private String Url; |
---|
13 | |
---|
14 | public DAOSelenium( String seleniumServer, Integer seleniumPort , String seleniumBrowser, String Url ) |
---|
15 | { |
---|
16 | this.seleniumServer = seleniumServer; |
---|
17 | this.seleniumPort = seleniumPort; |
---|
18 | this.seleniumBrowser = seleniumBrowser; |
---|
19 | this.Url = Url; |
---|
20 | } |
---|
21 | |
---|
22 | public Selenium newConnection() |
---|
23 | { |
---|
24 | selenium = new DefaultSelenium( this.seleniumServer, this.seleniumPort, this.seleniumBrowser, this.Url ); |
---|
25 | selenium.start(); |
---|
26 | |
---|
27 | return selenium; |
---|
28 | } |
---|
29 | |
---|
30 | |
---|
31 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.