Created
July 18, 2024 07:07
-
-
Save SarahElson/2995f43c0b1fe3ca6286b0e568cd27e4 to your computer and use it in GitHub Desktop.
What Is the Single Responsibility Principle (SRP)?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.lambdatest.test; | |
import com.lambdatest.base.BaseTest; | |
import com.lambdatest.pages.HomePage; | |
import com.lambdatest.pages.LoginPage; | |
import org.testng.annotations.Test; | |
public class TestCase extends BaseTest { | |
LoginPage loginPage; | |
HomePage homePage; | |
@Test | |
public void loginTest(){ | |
driver.get("https://ecommerce-playground.lambdatest.io/"); | |
loginPage=new LoginPage(driver); | |
homePage=new HomePage(driver); | |
homePage.clickOnAccount(); | |
loginPage.enterEmailId("[email protected]"); | |
loginPage.enterPassword("123456"); | |
loginPage.clickOnLogin(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment