Refactor URL using in edit and delete testcase