Questions tagged [behat]

Behat is a php framework for autotesting your business expectations. It's a Behavior Driven Development (BDD) framework for PHP, initially inspired by Ruby's Cucumber project. Now it's not only accepted as a PHP implementation of Cucumber, but it provides some quite unique features the original didn't have.

Behat is a php framework for autotesting your business expectations. It's a Behavior Driven Development (BDD) framework for PHP, initially inspired by Ruby's Cucumber project. Now it's not only accepted as a PHP implementation of Cucumber, but it provides some quite unique features the original didn't have.

1111 questions
-1
votes
3 answers

How can I click on link containing a particular span in behat

Please help with the code to click on text by referring to text1 in Behat. text1 is a unique property name and I have to use this to click on link text.

text1

-1
votes
1 answer

Selenium Error communicating with the remote browser. It may have died

I have a problem with selenium when i try to run my functional tests with behat , my tests worked perfectly before , i only installed php7 instead of php5 I don't know if this is the cause of the problem or not i've also upgraded my ubuntu to…
-1
votes
1 answer

How to install Behat in docker container for Laravel environment using docker-compose?

I have a docker container with laravel environment , and I need to install Behat inside to run features and i need to run PHPunit tests. Any suggestion how to do it? UPDATED: I have this environment Dockervel…
moonlight
  • 741
  • 1
  • 7
  • 15
-1
votes
1 answer

symfony : install and run behat on windows

I am trying to setup behat in my symfony2 application running locally on windows 8. I have updated my composer, set up a behat.yml at the root and with phpStorm I am trying to launch behat. I get the following error : bin/behat Cannot run program…
Sébastien
  • 5,263
  • 11
  • 55
  • 116
-1
votes
2 answers

Does Behat started to use selenium webdriver?

I know , behat framework uses Selenium stand alone server to run the files which is not very effective. Has it been updated to use selenium webdriver ??...
sharan
  • 213
  • 9
  • 17
-1
votes
2 answers

BDD framework to work for with good reports

My project requirements are 1.The framework must produce detailed Step Reports - which can be sent to the client through email. 2.The execution time must be less 3.Easy to write I know behat and Cucumber Please suggest me which…
sharan
  • 213
  • 9
  • 17
-1
votes
1 answer

Behat / Mink Step Fail

I have a question. I am wondering if there is any way in Behat/Mink to make it run trough the other remaining steps if one step fails. I did a little bit of research and couldn't find the answer I was looking for. Thank you.
-1
votes
1 answer

Python testing tool like Behat in the PHP

I am trying to test a web-application, using python, I am new in python so don't know much Python testing tools, i have written tests in Selenium/Pink/Behat in the PHP world, Now i have to use python for Behavior-Driven-Development (BDD), I have…
user3375505
  • 251
  • 1
  • 3
  • 7
-1
votes
1 answer

Unable to use Zombie JS with Behat

I am unable to run my tests using Zombie as a headless browser. The error I get is [RuntimeException] Install MinkZombieDriver in order to activate zombie session. My "behat.yml" file is …
Ramona
  • 19
  • 2
-1
votes
1 answer

Testing same type of elements with BEHAT

I want to test a website. In this website I will get maximum 10 profiles when I click on search button. For each profile I have to check "Location text" & "Age value between max.age and min.age values". And XPath for all these Locations & Ages are…
Yella
  • 1
-2
votes
1 answer

Mink/behat file attach

I am using behat/mink/sahi. I am trying to attach file to an input type element using the xpath because i can not locate it with the normal function that behat already has. My full_path is already in the behat.yml file /** * @When I attach…
pr1nc3
  • 8,108
  • 3
  • 23
  • 36
-2
votes
1 answer

Find a div with the class using mink and behat

I have a button in the page :
Conect
I want tu push on this div, so I create the methode : /** * @When I open the connection popup */ public function iOpenTheConnectionPopup() { …
user7424312
  • 137
  • 3
  • 10
-2
votes
1 answer

Use behat with jenkins in amazon ec2 server

How can I setup and configure behat,ahoy,docker with jenkins in amazon ec2 server? I want to run my behat feature's every time I push something in my Git A/c with help of jenkins and sauce labs in the ec2 server.
Amit Dinda
  • 66
  • 8
-2
votes
2 answers

PHP String Comparision

I am using below PHP function in Behat Mink to check the Email column values are in ascending or descending order.But the problem is its always fails.I just want to check if the subject or From of Email column in all rows are in ascending and…
Oasis
  • 480
  • 3
  • 16
-3
votes
1 answer

How to press Keyboard keys using PHP in Behat?

I'm using Behat with Mink functions and some custom functions to automate some websites. I hit a bump where I need to click 2 options from a list. Manually I need to press the "Control" button to select the second option. I'm trying to find help…
1 2 3
74
75