Added package

This commit is contained in:
Guillem Hernandez Sola
2017-11-24 18:36:43 +01:00
parent 5d4734da57
commit ea38ee97eb
7 changed files with 7 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
<suite name="StartUsingWebDriver test examples"
allow-return-values="true" verbose="1"
parallel="tests" thread-count="4">
parallel="tests">
<test name="all" parallel="classes" thread-count="4" time-out="240000">
<packages>
<package name="com.itnove.trainings.testng.startUsingWebDriver.*"/>

View File

@@ -12,7 +12,7 @@ import java.util.List;
*/
public class DropdownTest extends BaseTest {
@Test
@Test(enabled = false)
public void testApp() throws InterruptedException {
driver
.navigate().to("https://the-internet.herokuapp.com/dropdown");

View File

@@ -16,7 +16,7 @@ import static org.testng.Assert.assertTrue;
*/
public class HoverMenuTest extends BaseTest {
@Test
@Test(enabled = false)
public void testApp() throws InterruptedException {
//1
driver.get("http://opencart.votarem.lu");

View File

@@ -11,7 +11,7 @@ import static org.testng.Assert.assertTrue;
*/
public class JsExecutorTest extends BaseTest {
@Test
@Test(enabled = false)
public void testVideoAvanzado() throws Exception {
driver.get("http://www.ccma.cat/tv3/directe-avancat/324/");
acceptarCookies(driver);

View File

@@ -15,7 +15,7 @@ import static org.testng.Assert.assertTrue;
*/
public class SearchTest extends BaseTest {
@Test
@Test(enabled = false)
public void testApp() throws InterruptedException {
String cerca = "apple";
//1

View File

@@ -15,7 +15,7 @@ public class TestABTest extends BaseTest {
@Test
public void testApp() throws InterruptedException {
int counter1=0, counter2=0;
for(int i=0; i < 1000; i++){
for(int i=0; i < 10; i++){
driver.get("https://the-internet.herokuapp.com/abtest");
WebElement title =
driver.findElement(By.xpath(".//*[@id='content']/div/h3"));

View File

@@ -21,7 +21,7 @@ public class iFramesTest extends BaseTest {
}
}
@Test
@Test(enabled = false)
public void testApp() throws InterruptedException {
driver.navigate().to("https://the-internet.herokuapp.com/iframe");
listIframesFromPage(driver);