Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pras120687 opened this issue Jul 24, 2021 · 0 comments
Open

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

pras120687 opened this issue Jul 24, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@pras120687
Copy link

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();

}
}

@pras120687 pras120687 added the enhancement New feature or request label Jul 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant