Метка: java

Создать проект, с использованием Java и Selenium Webdriver, содержащий регрессионный тест, который бы проверял работоспособность главного меню сайта http://store.demoqa.com/ Тест должен содержать следующие проверки: 1. Все пункты и подпункты контекстного меню доступны 2. При выборе пунктов, открываются соответствующие им страницы 3. При открытии страниц Home и All Product соответствующие пункты меню подсвечены Solution: verifyMenuNavigation: verifyMenuStructure: […]

Читать дальше

Задание реализовать тестовый фреймворк на Java + Selenium + TestNG/JUnit   Описание действия Ожидаемое поведение системы Перейти по адресу https://market.yandex.ru/ Осуществлен переход на https://market.yandex.ru/ Нажать по ссылке “Каталог” Открыт “Каталог”, представлены блоки: основные категории товаров, “Популярные товары”, “Вас также могут заинтересовать”, “Вы смотрели” Перейти по в раздел “Электроника” -> “Мобильные телефоны” Открыт раздел “Мобильные телефоны”, […]

Читать дальше

QUESTION #3: Write a Java method with the following method signature that takes a String and returns a String formatted so that it satisfies the requirements below. It may need to insert newlines and/or delete spaces. Method Signature: Definitions and Assumptions: A word is a nonempty sequence of characters that contains no spaces and no […]

Читать дальше

QUESTION #2: The following Java code is responsible for creating an HTML “SELECT” list of U.S. states, allowing a user to specify his or her state. This might be used, for instance, on a credit card transaction screen. Please rewrite this code to be “better”. Submit your replacement code, and please also submit a few […]

Читать дальше

QUESTION #1: Write a Java method that takes an array of “sets” of String objects, and determines whether _all_ sets in the array are equivalent. Each “set” in the input array is represented as an array of String objects, in no particular order, and possibly containing duplicates. Nevertheless, when determining whether two of these “sets” […]

Читать дальше