RE: How to use Base Class in Hybrid Framework

Answered

Hi,

Could you please explain me the below logic,

1. What is the use of this logic and
2. How to use it?.


package pageObjects;
import org.openqa.selenium.WebDriver;
public class BaseClass {
public static WebDriver driver;
public static boolean bResult;
public BaseClass(WebDriver driver){
BaseClass.driver = driver;
BaseClass.bResult = true;
}

}

URL: http://www.toolsqa.com/selenium-webdriver/selenium-automation-hybrid-framework/

Selenium Train Asked on December 14, 2014 in Selenium WebDriver.

I request you to close all of your questions now.

on December 16, 2014.
Add Comment
2 Answers

what is the use of “BaseClass.bResult = true;

 

Default Answered on June 28, 2017.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.