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:
- Click "Find Next". Jumps to "XYZ".
- Click "Replace". Replaces with "external". Jumps to "xyz".
- Click "Replace". Does not replace anything. Jumps to "XYZ".
- Repeat from step 2
Summary: "XYZ" is always found, and always replaced. "xyz" is always found, but never replaced.