Skip to content

Showing error when we try to use retest-web #740

@pras120687

Description

@pras120687

Hi Team,

I am implementing below code for first time for recheck-web below. But i am getting error

java.lang.NoClassDefFoundError: org/openqa/selenium/WrapsDriver

Below is my code:

public class NewTest {

//public WebDriver driver;
//Recheck re;
RecheckDriver driver;
@BeforeClass

public void setup() {
//re = new RecheckImpl();
System.setProperty("webdriver.chrome.driver", "/Users/prkotagi/Downloads/chromedriver");
DesiredCapabilities Capa = DesiredCapabilities.chrome();
ChromeOptions options = new ChromeOptions();
Capa.setBrowserName("chrome");
Capa.setCapability(ChromeOptions.CAPABILITY, options);
//Capa.setCapability(ChromeOptions.CAPABILITY, options);
Capa.setCapability(CapabilityType.PLATFORM, Platform.ANY);
Capa.setCapability(CapabilityType.ACCEPT_INSECURE_CERTS, true);
Capa.setCapability(CapabilityType.ACCEPT_SSL_CERTS, true);

		//driver = new ChromeDriver(Capa);
		driver = new RecheckDriver( new ChromeDriver(Capa) );
		
		//re.startTest("test-name");
	
}

@test
public void login() {

  driver.get("http://slc10gst.us.oracle.com:22387/fabs/");
  
//  driver.findElement(By.name("internalSSOUserId")).sendKeys("prasanth.kotagiri@oracle.com");
  
 // re.check( driver.findElement(By.tagName( "html" ) ), "init" );
  driver.findElement(By.xpath("//input[@value='Get Started !!']")).click();

}
@afterclass
public void quit() {
driver.quit();
// re.cap();

}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions