recheck-web icon indicating copy to clipboard operation
recheck-web copied to clipboard

Showing error when we try to use retest-web

Open pras120687 opened this issue 3 years ago • 0 comments

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("[email protected]");
  
 // 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();

} }

pras120687 avatar Jul 24 '21 14:07 pras120687