Below are the List of all top level test cases for Testing a Health Care Domain Application. For each test…
Scrum Call Pattern, Atlassian Jira, Sprint Planning, Estimate, Story Points
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
import java.util.List; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; import org.testng.annotations.Test; public class BootStrapDropDown_Reusable { @Test public void BootStrapDropDown_Reusables() { //Creating reference variable of Webdriver WebDriver driver; // Setting up the properties for Chrome Driver System.setProperty("webdriver.chrome.driver", "C:\\Vision\\chromedriver.exe"); // Inserting Chromedriver to Webdriver refernece object driver = new ChromeDriver(); // Maximizing the browser window driver.manage().window().maximize(); // Passing the URL driver.get("https://www.jquery-az.com/boots/demo.php?ex=63.0_2"); // Providing wait to load all the elements on page driver.manage().timeouts().implicitlyWait(20, TimeUnit.SECONDS); // Clicking on Bootstrap Dropdown driver.findElement(By.xpath("//button[contains(@class,'multiselect')]")).click(); // Get the all WebElements inside the dropdown in List List<WebElement> dropdown_list = driver.findElements(By.xpath("//ul[contains(@class,'multiselect-container dropdown-menu')]//li//a//label")); // Printing the amount of WebElements inside the list System.out.println("The Options in the Dropdown are: " + dropdown_list.size()); // Condition to get the WebElement for list and Click over "Angular" option for(int i=0; i<dropdown_list.size(); i++) { // Printing All the options from the dropdown System.out.println(dropdown_list.get(i).getText()); // Checking the condition whether option in text "Angular" is comming if(dropdown_list.get(i).getText().contains("Angular")) { // Clicking if text "Angular" is there dropdown_list.get(i).click(); // Breaking the condition if the condition get satisfied break; } } } } |
Parabank Parasoft Test Cases
Test Plan Test Strategy A test plan for software project can be defined as a document that defines the scope,…
Course Registration System Test Plan for the Architectural Prototype Version 1.0 Revision History Date Version Description Author 7/March/1999 1.0 Initial…