SEO Tips

1) Make the website about one thing. 2) Mention keywords where they matter most. 3) Link to internal pages on your site. 4) Use a permalink structure that includes keywords. 5) Remove anything that…

Continue ReadingSEO Tips

About Us

Hello..! Welcome to "www.techlearn.in" Thanks for visiting my website. This website is designed, developed, and maintained by "Purushotham Karimbedu" and I have 8+ Years of experience in Automation Testing Tools…

Continue ReadingAbout Us

TestNG Execute Test Methods In Alphabetical Order

package techLearn.in; import org.testng.annotations.Test; import org.testng.annotations.BeforeTest; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.testng.annotations.AfterTest; public class TestMethodsAlphabeticalOrder { WebDriver driver; @Test public void prakampanam() { driver.get("http://prakampanam.com/"); } @Test public void techlearn() {…

Continue ReadingTestNG Execute Test Methods In Alphabetical Order

TestNG Annotations Execution Order

package techLearn.in; import org.testng.annotations.AfterClass; import org.testng.annotations.AfterMethod; import org.testng.annotations.AfterSuite; import org.testng.annotations.AfterTest; import org.testng.annotations.BeforeClass; import org.testng.annotations.BeforeMethod; import org.testng.annotations.BeforeSuite; import org.testng.annotations.BeforeTest; import org.testng.annotations.Test; public class TestNGExecution { @Test public void testCase1() { System.out.println("Test…

Continue ReadingTestNG Annotations Execution Order

Selenium Commands

1) Launching Browsers in Selenium Launch "Firefox" browser using selenium System.setProperty("webdriver.gecko.driver", PathToGeckoDriver + "\geckodriver.exe");driver = new FirefoxDriver(); Launch "Chrome" browser using selenium System.setProperty("webdriver.chrome.driver", "E:\Selenium\chromedriver.exe");driver = new ChromeDriver(); Launch "IE" browser…

Continue ReadingSelenium Commands