search for: button_text

Displaying 4 results from an estimated 4 matches for "button_text".

2007 Oct 24
3
Working with the response DOM
Hi, Anyone know a way to traverse/query the DOM in a response? I''m trying to write reusable story step implementations and as much as possible want to work with the actual response from a previous GET. As an example, I often have buttons that POST/PUT a hidden value. My goal is a reusable step implementation that takes the button label and works the existing response DOM to make an
2007 Jan 26
0
Problems with assert_select in integration tests
...goto_home_page get "/" assert_response :success assert_template "register/list" end def click_link(link_text, destination) assert_select "a[href*=#{destination}]", link_text get destination assert_response :success end def click_button(button_text, destination, params={}) assert_select "form[action=#{destination}]" do assert_select "input[type=submit][value=#{button_text}]" end post_via_redirect destination, params assert_response :success end end Here is the failure report: 1) Failure: test_per...
2007 May 03
7
How to create a drop-down list with Markaby?
Hi I couldn''t figure out, how to create a drop-down list with Markaby. How would I create something like this: <select name="character"> <option value="marvin">Marvin the paranoid Android</option> <option value="arthur">Arthur Dent</option> <option value="zaphod">Zaphod
2010 Sep 09
1
406 Not Acceptable with swfupload
...ash/swfupload.swf'', // Button settings button_image_url: "/images/TestImageNoText_65x29.png", // Relative to the Flash file button_width: "65", button_height: "29", button_placeholder_id: "spanButtonPlaceHolder", button_text: ''<span class="theFont">Hello</span>'', button_text_style: ".theFont { font-size: 16; }", button_text_left_padding: 12, button_text_top_padding: 3, file_size_limit : ''10000'', file_types : ''*.j...