Find and Replace not working as expected

9 views
Skip to first unread message

Old Grantonian

unread,
Oct 24, 2014, 4:37:04 AM10/24/14
to test...@googlegroups.com
Here is some code:
--------------------------------------------------------------
test_case "add new XYZ member to Open list" do
    f_click_list_name("Show Open", vListName)
    browser.button(:value => "Add Member").click   
    f_add_member_xyz("adam s", "Adam Smith")
    browser.button(:id => "btnAddMemberError", :text => "Close").when_present.click
  end
--------------------------------------------------------------

There are many similar examples.  

Here is the Find and Replace info.Note that, for safety, I don't use "Replace All". I only use "Replace" step-by-step.

Find:  XYZ
Replace by:  external

Both checkboxes unchecked.

Here is what happens:
  1. Click "Find Next". Jumps to "XYZ". 
  2. Click "Replace". Replaces with "external". Jumps to "xyz".
  3. Click "Replace". Does not replace anything. Jumps to "XYZ". 
  4. Repeat from step 2
Summary:  "XYZ" is always found, and always replaced. "xyz" is always found, but never replaced.

Xindi

unread,
Oct 25, 2014, 6:32:51 AM10/25/14
to test...@googlegroups.com
Thanks for feedback.
This has been logged in our system #1047, we will try to rectify in next update.

Xindi

unread,
Oct 27, 2014, 7:23:51 PM10/27/14
to test...@googlegroups.com
This issue has been addressed in TestWise 4.1.4.  The new community version is also released. 

thanks again for your feedback. 
Reply all
Reply to author
Forward
0 new messages