Skip to main content

Posts

Showing posts from August, 2018

Team Building

Team Building Abstract "Talent wins games, but teamwork and intelligence win championships." A famous quote embarks on the importance of teamwork over individual contribution. Teamwork is so critical that it is virtually impossible to achieve anything big without it. The power of a team lies within the individual strengths of its individual team member. This paper aims at emphasizing the importance of teamwork, challenges that can arise working in a team, various stages in forming a team and some useful activities to build a good team.   What is a Team and Team Building? A Team is a group of people linked together in a work or activity as a group on one side. TEAM meaning : T : Together E : Enabling each other to A : Accomplish M : More Team building is a process of building and nurturing a greater sense of participation and faith among team members. Challenges to work in teams/Purpose of Team Building: o    Conf

Play with DropDowns (Selenium)

Play with DropDowns (Selenium) 1. To check whether a particular option available in drop down or not: public class OptionPresentOrNotDropdown { public static void main(String[] args) { System.setProperty("webdriver.chrome.driver", "pathofyourchrome.exe"); WebDriver driver = new ChromeDriver(); driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS); driver.get("https://yoursite.com"); WebElement dropdownElement = driver.findElement(By.xpath("//select[@id='Store']")); Select dropdown = new Select(dropdownElement); List allElements = dropdown.getOptions(); System.out.println("Values present in Single Value Dropdown"); for (WebElement element : allElements) { // This will iterate over each element and print the text String dropdownValue = element.getText(); if (dropdownValue.equals("Selenium")) { System.out.println("Selenium is present.)"); }