Selenium Class 3: Selenium Test Process
Selenium Class 3: Selenium Test Process
---------------------------------------
Selenium Test Life Cycle Phases :
i) Test Planning
ii) Generating Basic Tests
iii) Enhancing Tests
iv) Running and Debugging Tests
v) Analyzing Test Results and Reporting Defects
------------------------------------------------
1) Test Planning
------------------------------------------------
- Get Application Environment (UI Design Technology, Database) Details from development team.
- Analyze the AUT (Application Under Test) in terms of Object Identification.
Using Recording feature in Selenium IDE
Using Firebug and Firepath plug ins(Mozilla Firefox) we can inspect elements.
- Select Test Cases for Automation
Tests that we have to execute on every build (Sanity Tests)
Tests that we have to execute on every modified build(Regression Tests)
Tests that we have to execute with multiple sets of Test Data(Data Driven Tests).
- Select Testing Framework(JUnit/TestNG) and Implement.
------------------------------------------------
2) Generating Basic Tests
------------------------------------------------
In UFT:
1) Object Repository based Test Design (Recording, Keyword driven methodology)
2) Descriptive Programming/Programmatic Descriptions
In Selenium:
1) Selenium IDE
a) Using Recording
b) Type Test steps using Element locators and Selenium IDE/Selenese Commands.
2) Selenium WebDriver
Using Element Locators and WebDriver methods.
------------------------------------------------
3) Enhancing Test cases
------------------------------------------------
1) Inserting Verifications
UFT:
Using UFT Checkpoints Or Using VBScript Conditional Statements
Selenium IDE:
Using Assert/Verify Commands
Selenium WebDriver
a) Using Java Conditional Statements
b) Using TestNG Assertion Methods
2) Parameterization
Replacing constant (fixed) values using Parameters(Variables/Function Parameter etc...)
We use Parameterization in Data driven Testing.
What is Data Driven Testing?
Testing same Functionalities using multiple sets of Test Data.
Why Data Driven Testing?
For Positive and Negative Testing.
-------------------
Using Loop Statements and any files.
3) Synchronization
4) Error Handling
Handling expected and unexpected errors.
5) Adding Comments (Optional)
Etc...
------------------------------------------------
4) Running and Debugging Tests
------------------------------------------------
Running/Executing Tests (Mandatory)
Single Test Run
Test Batch Run/Batch Testing.
Using Testing Framework(JUnit/TestNG) we can conduct batch Testing.
-----------------------
Debugging Tests (Optional)
--------------------------
What is debugging?
Locating and isolating Errors thru Step by Step execution.
When Debugging is Required?
Scenario 1: Test case is not showing any errors and providing correct output-Debugging is not required.
Scenario 2: Test case is showing errors-Debugging is Optional.
Scenario 3: Test case is not showing any errors and not providing correct output-Debugging is Required.
------------------------------------------------
5) Analyzing Test Results and Reporting Defects
------------------------------------------------
Analyzing Test Results
-----------------------
Selenium doesn't provide detailed Test Reports(Summary only).
Using either JUnit or TestNG we can get detailed Test Reports.
---------------
Status of Test Results in Functional Test Automation
1) Pass (If expected = Actual)
2) Fail (If expected Not equal Actual)
3) Done (If there is no verifications in a Test case)
4) Warning (if any interruption during Test execution)
-----------------------------------------------
Reporting Defects:
------------------
Selenium doesn't integrate with any tool for Test management /Defect management.
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Selenium Class 3: Selenium Test Process», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.