roman iovlev battle - jdi vs selenide - selenium camp

18
QA Battle of Automation Approaches JDI typed elements Roman Iovlev Alexei Vinogradov Selenide non-typed elements vs http://bit.ly/ qabattle-pdf http://bit.ly/ qabattle-video

Upload: -

Post on 12-Apr-2017

116 views

Category:

Engineering


12 download

TRANSCRIPT

Page 1: Roman iovlev battle - JDI vs Selenide - Selenium Camp

QA Battle of Automation Approaches

JDI typed elements

Roman Iovlev Alexei Vinogradov

Selenide non-typed elements

vs

http://bit.ly/qabattle-pdfhttp://bit.ly/qabattle-video

Page 2: Roman iovlev battle - JDI vs Selenide - Selenium Camp

ROMAN IOVLEV

Chief QA AutomationIn Testing more than 12 years

In Testing Automation 10 years

Page 3: Roman iovlev battle - JDI vs Selenide - Selenium Camp

Alexei VinogradovIT-Kонсультант

тестирование, управление тестированием, автоматизация в тестировании, коучинг

15+ лет в IT, докладчик SQA Days / Codefest / QA Fest

Студент-практикант -> Программист -> Тестировщик ->…

Дякую, Боже, що я не програмiст

Page 4: Roman iovlev battle - JDI vs Selenide - Selenium Camp
Page 5: Roman iovlev battle - JDI vs Selenide - Selenium Camp

5

•KISS in Action

•No unnecessary framework code -> no unnecessary maintenance

•Less to learn -> easier to use

SELENIDE MAIN POINTS

Page 6: Roman iovlev battle - JDI vs Selenide - Selenium Camp

6

•Already implemented actions for most used elements•Detailed UI actions logs•Flexible for any UI on any Framework or Platform•Short and obvious UI Objects (PageObjects)•EDT support

JDI MAIN POINTS

Page 7: Roman iovlev battle - JDI vs Selenide - Selenium Camp

7

Round 1

Page 8: Roman iovlev battle - JDI vs Selenide - Selenium Camp

8

SCENARIO TASK

1. Open http://imdb.com2. Login with imdb account 3. Open existing list4. Press edit link5. Add 3 shows into list6. Open compact(table) view7. Verify that table contains

added Films (title, year, type)

8. Sort by Rating9. Filter table by "Drama"10.Go back to Edit list 11.Delete show “Black Mirror”12.Verify that other two films still

in list

13.Remove all films from listAfter test:

Page 9: Roman iovlev battle - JDI vs Selenide - Selenium Camp

9

Round 2

Page 10: Roman iovlev battle - JDI vs Selenide - Selenium Camp

10

TASK 1

Page 11: Roman iovlev battle - JDI vs Selenide - Selenium Camp

11

TASKS 1

1. Enter text in input field 2. Verify text is displayed3. Enter text in textarea field4. Verify text is displayed

• Developers change site layout• Redesign your tests

Page 12: Roman iovlev battle - JDI vs Selenide - Selenium Camp

12

TASKS 2

Page 13: Roman iovlev battle - JDI vs Selenide - Selenium Camp

13

TASKS 2

Page 14: Roman iovlev battle - JDI vs Selenide - Selenium Camp

14

TASKS 2

1. Open https://www.epam.com/careers/job-listings2. Click on link Apply for row with

name="Senior QA Automation Engineer”category="Software Test Engineering“

3. Fill CV form4. Verify that form filled correctly

Page 15: Roman iovlev battle - JDI vs Selenide - Selenium Camp

15

TASKS 3

Page 16: Roman iovlev battle - JDI vs Selenide - Selenium Camp

16

TASKS 3

1. Open https://material.angularjs.org/latest/demo/input2. Check the checkbox3. Verify checkbox is checked4. Switch off the “switch”5. Verify “switch” is switched off

Page 17: Roman iovlev battle - JDI vs Selenide - Selenium Camp

17

Round 3

Page 18: Roman iovlev battle - JDI vs Selenide - Selenium Camp

QUESTIONS

18

Alexei VinogradovTwitter: @vinogradoffSkype: alexejvMail: [email protected]

http://jdi.epam.com/

https://vk.com/jdi_framework

https://github.com/epam/JDI

[email protected]

https://github.com/vinogradoff/QaBattle-typed-vs-untyped https://github.com/epam/JDI/tree/selenium-camp/Java/Tests/jdi.examples

Code

Contacts