Code Monkey home page Code Monkey logo

python-behave-sample-project's People

Contributors

crki76 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

python-behave-sample-project's Issues

The search page filtering option

The search page filtering option in the feature file examples is mentioned as "option_wife". assuming it is "option wifi" not wife .. looks to be a a typo.. thanks for the project

Geting error after i run the script in my local machine...

`Feature: Acting in trivago home page. Demonstrating some assertion and scooping methods # features/test_scenarios/home_page.feature:1
HOOK-ERROR in before_scenario: WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a
/chromium.org/chromedriver/home
HOOK-ERROR in before_scenario: WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a
/chromium.org/chromedriver/home

Scenario Outline: User navigates to home page and observes page content -- @1.1 # features/test_scenarios/home_page.feature:8
Given I am redirected on home page # None
When On page I want to see searching_bar # None
HOOK-ERROR in before_scenario: WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a
/chromium.org/chromedriver/home

Scenario Outline: User navigates to home page and observes page content -- @1.2 # features/test_scenarios/home_page.feature:9
Given I am redirected on home page # None
When On page I want to see searching_button # None
HOOK-ERROR in before_scenario: WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a
/chromium.org/chromedriver/home

Scenario: User navigates to home page and observes Trivago's slogan # features/test_scenarios/home_page.feature:11
Given I am redirected on home page # None
When In home page I want to see slogan # None
HOOK-ERROR in before_scenario: WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a
/chromium.org/chromedriver/home

Scenario: User navigates to home page, clicks on search button and is redirected to searching page # features/test_scenarios/home_page.featur
e:16
Given I am redirected on home page # None
When I click on searching_button in search bar # None
Then In searching page I want to see searching_filter # None

Scenario: User navigates to home page and wants to see a Trivago slogan # features/test_scenarios/home_page.feature:22
Given I am redirected on home page # None
When I want to see Find your ideal hotel|nfor the best price in slogan # None

Feature: Acting in Searching page as required # features/test_scenarios/searching_page.feature:1
HOOK-ERROR in before_scenario: WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a
/chromium.org/chromedriver/home
HOOK-ERROR in before_scenario: WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a
/chromium.org/chromedriver/home

Scenario Outline: User inserts searching text to the searching engine and expects to be succeed -- @1.1 # features/test_scenarios/searching_
page.feature:13
Given I am redirected on home page # None
When I insert Cork International Hotel to search bar # None
Then I click on searching_button in search bar # None
And I ensure that Cork International Hotel is in searching_bar # None
And I click on option_wife # None
And I check if my option_wife is selected # None
Then I expect True in searching_area for my searching of Cork International Hotel and option_wife # None
HOOK-ERROR in before_scenario: WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a
/chromium.org/chromedriver/home

Scenario Outline: User inserts searching text to the searching engine and expects to be succeed -- @1.2 # features/test_scenarios/searching_
page.feature:14
Given I am redirected on home page # None
When I insert Jurys Inn Cork to search bar # None
Then I click on searching_button in search bar # None
And I ensure that Jurys Inn Cork is in searching_bar # None
And I click on option_wife # None
And I check if my option_wife is selected # None
Then I expect False in searching_area for my searching of Jurys Inn Cork and option_wife # None
HOOK-ERROR in before_scenario: WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a
/chromium.org/chromedriver/home

Scenario Outline: User inserts searching text to the searching engine and expects to be succeed -- @1.3 # features/test_scenarios/searching_
page.feature:15
Given I am redirected on home page # None
When I insert The River Lee to search bar # None
Then I click on searching_button in search bar # None
And I ensure that The River Lee is in searching_bar # None
And I click on option_spa # None
And I check if my option_spa is selected # None
Then I expect True in searching_area for my searching of The River Lee and option_spa # None

Scenario Outline: User inserts searching text to the searching engine and expects to be succeed -- @1.4 # features/test_scenarios/searching_
page.feature:16
Given I am redirected on home page # None
When I insert Jurys Inn Cork to search bar # None
Then I click on searching_button in search bar # None
And I ensure that Jurys Inn Cork is in searching_bar # None
And I click on option_spa # None
And I check if my option_spa is selected # None
Then I expect False in searching_area for my searching of Jurys Inn Cork and option_spa # None

Failing scenarios:
features/test_scenarios/home_page.feature:8 User navigates to home page and observes page content -- @1.1
features/test_scenarios/home_page.feature:9 User navigates to home page and observes page content -- @1.2
features/test_scenarios/home_page.feature:11 User navigates to home page and observes Trivago's slogan
features/test_scenarios/home_page.feature:16 User navigates to home page, clicks on search button and is redirected to searching page
features/test_scenarios/home_page.feature:22 User navigates to home page and wants to see a Trivago slogan
features/test_scenarios/searching_page.feature:13 User inserts searching text to the searching engine and expects to be succeed -- @1.1
features/test_scenarios/searching_page.feature:14 User inserts searching text to the searching engine and expects to be succeed -- @1.2
features/test_scenarios/searching_page.feature:15 User inserts searching text to the searching engine and expects to be succeed -- @1.3
features/test_scenarios/searching_page.feature:16 User inserts searching text to the searching engine and expects to be succeed -- @1.4

0 features passed, 2 failed, 0 skipped
0 scenarios passed, 9 failed, 0 skipped
0 steps passed, 0 failed, 0 skipped, 0 undefined, 39 untested
Took 0m0.000s
Exception AttributeError: "'Service' object has no attribute 'process'" in <bound method Service.del of <selenium.webdriver.chrome.service.S
ervice object at 0x02591DD0>> ignored
Exception AttributeError: "'Service' object has no attribute 'process'" in <bound method Service.del of <selenium.webdriver.chrome.service.S
ervice object at 0x02591EB0>> ignored
Exception AttributeError: "'Service' object has no attribute 'process'" in <bound method Service.del of <selenium.webdriver.chrome.service.S
ervice object at 0x02591F50>> ignored
Exception AttributeError: "'Service' object has no attribute 'process'" in <bound method Service.del of <selenium.webdriver.chrome.service.S
ervice object at 0x025F1030>> ignored
Exception AttributeError: "'Service' object has no attribute 'process'" in <bound method Service.del of <selenium.webdriver.chrome.service.S
ervice object at 0x0253FEB0>> ignored
Exception AttributeError: "'Service' object has no attribute 'process'" in <bound method Service.del of <selenium.webdriver.chrome.service.S
ervice object at 0x02591110>> ignored
Exception AttributeError: "'Service' object has no attribute 'process'" in <bound method Service.del of <selenium.webdriver.chrome.service.S
ervice object at 0x025911F0>> ignored
Exception AttributeError: "'Service' object has no attribute 'process'" in <bound method Service.del of <selenium.webdriver.chrome.service.S
ervice object at 0x0253FA70>> ignored
Exception AttributeError: "'Service' object has no attribute 'process'" in <bound method Service.del of <selenium.webdriver.chrome.service.S
ervice object at 0x0253FF50>> ignored
`

Help me to identify where i am doing wroung..

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.