Jquery data table filter checking with cucumber test case

113 views
Skip to first unread message

Neetu Vyas

unread,
Apr 1, 2014, 1:40:01 PM4/1/14
to cu...@googlegroups.com
Hi I am using jquery DataTable for creating the table with five field and added the filter with select box in wit the column could, when I am going to write the cucumber test case then I am unable to find the element of the select box which I am using to create the filter in table, is any buddy can help me if he worked with this.


Aslak Hellesøy

unread,
Apr 1, 2014, 7:37:32 PM4/1/14
to cu...@googlegroups.com

On Tuesday, 1 April 2014 at 18:40, Neetu Vyas wrote:

Hi I am using jquery DataTable
What is this Jquery DataTable you're talking about?

Aslak 
for creating the table with five field and added the filter with select box in wit the column could, when I am going to write the cucumber test case then I am unable to find the element of the select box which I am using to create the filter in table, is any buddy can help me if he worked with this.


--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Neetu Vyas

unread,
Apr 2, 2014, 1:24:54 AM4/2/14
to cu...@googlegroups.com

Arvind Vyas

unread,
Apr 2, 2014, 1:57:15 AM4/2/14
to cu...@googlegroups.com
HI I am also finding the same issue , I am also unable to write the test case for that 


my feature is 
Scenario: Rom user should be able to filter the list by Start Date
    When the user select "4/1/14" from "start_date" 
    Then the booking should be list by Start Date

step definition

When(/^the user select "(.*?)" from "(.*?)"$/) do |option,field|
  page.has_select?(field, :options => ["#{option}"]).should == true
end

but selector is not taking the value  

Aslak Hellesøy

unread,
Apr 2, 2014, 2:26:48 AM4/2/14
to cu...@googlegroups.com

On Wednesday, 2 April 2014 at 06:24, Neetu Vyas wrote:

If I understand correctly your question is about Capybara/Selenium and this jQuery plugin, and not related to Cucumber at all.

Have you considered seeking help in a more relevant forum?

We're trying to keep the scope of this group to Cucumber and BDD.

Aslak

Arvind Vyas

unread,
Apr 2, 2014, 5:56:03 AM4/2/14
to cu...@googlegroups.com
Hi  Aslak
  when we use this in our rails application then we need to write the test case for this so could you tell it is possible to write the test case for this jqueryDataTabl, I have also mention scenario above

aslak hellesoy

unread,
Apr 2, 2014, 9:13:44 AM4/2/14
to Cucumber Users
On Wed, Apr 2, 2014 at 10:56 AM, Arvind Vyas <arvind...@gmail.com> wrote:
Hi  Aslak
  when we use this in our rails application then we need to write the test case for this so could you tell it is possible to write the test case for this jqueryDataTabl, I have also mention scenario above

This group is for helping people with Cucumber and BDD.

Your question is not related to either of those. Kindly seek help in a more relevant forum such as Capybara or Selenium's forum.

Thanks,
Reply all
Reply to author
Forward
0 new messages