Mink is an open source acceptance test framework for web applications, written in PHP 5.3.
Questions tagged [mink]
460 questions
0
votes
2 answers
Asserting on data that is derived from a previous step
When a piece of data that I want to assert on in a later test is derived from an earlier step, is there an accepted method of storing and recalling that data later on in the scenario?
For example:
Scenario: Recently viewed product
Given I am on…

Tom Griffin
- 435
- 4
- 9
0
votes
1 answer
Mink+Behat: missing session
I was just trying to follow the http://docs.behat.org/cookbook/behat_and_mink.html tutorial
I installed Mink+Behat using the following composer.json:
"require": {
"behat/behat": "2.4.*@stable",
"behat/mink": "1.4.*@stable",
…

Nishant Shrivastava
- 527
- 3
- 11
0
votes
1 answer
The mouseOver() function doesnt work when the browser is minimized
I need to hover over an element and click a link on the overlay that comes on hovering a div element. I use mouseOver() function and it works fine when the browser is in view area. However, if I minimize the browser, the mouseover doesn't work and…

user2596377
- 61
- 1
- 4
0
votes
1 answer
behat & mink in symfony2 : @javascript tag issue
I am facing an issue while trying to use Behat and mink within a symfony project (sf2.4).
Situation:
I just started to test behat for symfony2 projects, which looks like awesome. I would also be able to use mink, as my main projects are currently…

Wisebes
- 475
- 4
- 14
0
votes
0 answers
check if I stayed in the same page or not
I use mink to test a website and I want to write a test scenario to check for error scenarios. So I want to see If I insert invalid data a page should return error and I should be in the same page as before. I mean I don't want to go to another…

Shadi Hariri
- 197
- 16
0
votes
1 answer
PHP "Cannot unset string offsets" mink behat Selenium2Driver.php
Started Selenium:
java -jar vendor\selenium\selenium-server-standalone-2.40.0.jar
Ran: php run.php Test.xlsx
Getting the following error:
Fatal error: Cannot unset string offsets in....src\Behat\Mink\Driver\Selenium2Driver.php on line 101
Inside…

user3469411
- 1
- 1
0
votes
1 answer
Can Behat tables be used to check multiple text labels
Using Behat with mink and Drupal extensions.
I essentually have a page with multiple labels and I want to confirm the text of them all. I want to do this without having to enter something like.
Then I should see "Filter"
Is there a way to check all…

Scotty G
- 11
- 1
- 6
0
votes
1 answer
How do I test conditional behaviour with Behat/Mink?
I have a condition I'd like to test in my Behat scenario but I can't think how it should be described.
I am testing a webpage displaying articles - if there is one sponsored article then there should be two featured articles, if there is no…

Alastair
- 1,710
- 2
- 17
- 33
0
votes
1 answer
Behat/Mink strategy for testing with contexts
I have a question on how to implement behat/mink functional tests.
In my web app, I have users that can access some data sheets if they have the required credentials (i.e. no access/ read only / write).
I want to be able to test all the possible…

Guiguiboy
- 1
- 1
0
votes
1 answer
getHash and getRowsHash limitation
I have a feature file in Behat (below) where I define the table headings. I have been using getRowsHash() to get the table headings and it has been working fine.
| TableHeadings |
| FlagIcon |
| Flight |
| Stand |
| From …

vijay pujar
- 1,683
- 4
- 19
- 32
0
votes
1 answer
Behat-Mink Read "Link Address" value from textbox and open this link in a second tab
I am a newbie Behat/php programmer. I am stuck with the following problem. I would appreciate any help...
I have a popup, where I need to read the link address from a textbox and open this link in a different tab.I have tried it in many ways,but I…

CompFreak
- 37
- 1
- 5
0
votes
1 answer
Is it possible to get values from an HTML table using Behat/Mink
I am starting to use Behat/Mink with the Selenium2 driver and I wondered if it was possible to get the value from a particular cell of a HTML table that might be on my page. The td tags do not have anything to identify them. But I used to use…

Antony D'Andrea
- 991
- 1
- 16
- 35
0
votes
1 answer
Behat / Mink Opens Blank Page in Browser
I'm using Behat and Mink on Ubuntu for BDD. I've three steps in my feature:
Given I am on "/control.php"
And I wait for "3000"
Then print last response
If I do not include the @javascript tag, the test completes successfully and prints the correct…

Paul Sandel
- 235
- 2
- 13
0
votes
2 answers
How to run Behat with Internet Explorer?
I have spent a lot of time searching for the solution and it seems like it should be possible however I have been unable to find a way so far.
I have it running chrome without a problem using the following configurations in yml:
behat.yml
default:
…

MikeCon94
- 463
- 1
- 6
- 17
0
votes
2 answers
Selenium does not work when we get a upgrade from firefox
I am working on Automation tool Behat/Mink . After upgrading Firefox version to 25 , i am seeing this error .
Curl error thrown for http POST to http://localhost:4444/wd/hub/session/execute with params: {"script":"return…

sharan
- 213
- 9
- 17