11-02 généralisation nom champ
This commit is contained in:
parent
c62913022b
commit
41ddc76dcf
36
membres.side
36
membres.side
@ -27649,6 +27649,20 @@
|
|||||||
"target": "xpath=//input[@id=\"f_label\"]",
|
"target": "xpath=//input[@id=\"f_label\"]",
|
||||||
"targets": [],
|
"targets": [],
|
||||||
"value": "${libelle_champ}"
|
"value": "${libelle_champ}"
|
||||||
|
}, {
|
||||||
|
"id": "845fdf99-1b9f-4c77-87b6-fbf0ade6608b",
|
||||||
|
"comment": "",
|
||||||
|
"command": "executeScript",
|
||||||
|
"target": "return g.normalizeString(${libelle_champ}).replace(/[^a-z_]+/g, '_')",
|
||||||
|
"targets": [],
|
||||||
|
"value": "nom_champ"
|
||||||
|
}, {
|
||||||
|
"id": "2c288443-6692-43ee-aa6f-60aac15d8c84",
|
||||||
|
"comment": "",
|
||||||
|
"command": "executeScript",
|
||||||
|
"target": "return 'f_' + ${nom_champ}",
|
||||||
|
"targets": [],
|
||||||
|
"value": "id_champ"
|
||||||
}, {
|
}, {
|
||||||
"id": "20ade5bb-6b60-4bc1-b242-341e07d2ec02",
|
"id": "20ade5bb-6b60-4bc1-b242-341e07d2ec02",
|
||||||
"comment": "afficher dans la liste",
|
"comment": "afficher dans la liste",
|
||||||
@ -27758,14 +27772,14 @@
|
|||||||
"command": "store",
|
"command": "store",
|
||||||
"target": "polo",
|
"target": "polo",
|
||||||
"targets": [],
|
"targets": [],
|
||||||
"value": "surnom"
|
"value": "valeur_champ"
|
||||||
}, {
|
}, {
|
||||||
"id": "073a7fc5-5f65-4726-9568-b083c9f77469",
|
"id": "073a7fc5-5f65-4726-9568-b083c9f77469",
|
||||||
"comment": "",
|
"comment": "",
|
||||||
"command": "type",
|
"command": "type",
|
||||||
"target": "id=f_surnom",
|
"target": "id=${id_champ}",
|
||||||
"targets": [],
|
"targets": [],
|
||||||
"value": "${surnom}"
|
"value": "${valeur_champ}"
|
||||||
}, {
|
}, {
|
||||||
"id": "1313a108-34ec-46a7-b9a3-87df1e191f5f",
|
"id": "1313a108-34ec-46a7-b9a3-87df1e191f5f",
|
||||||
"comment": "",
|
"comment": "",
|
||||||
@ -27813,7 +27827,7 @@
|
|||||||
"command": "assertText",
|
"command": "assertText",
|
||||||
"target": "xpath=//dt[contains(.,\"${libelle_champ}\")]/following-sibling::dd",
|
"target": "xpath=//dt[contains(.,\"${libelle_champ}\")]/following-sibling::dd",
|
||||||
"targets": [],
|
"targets": [],
|
||||||
"value": "${surnom}"
|
"value": "${valeur_champ}"
|
||||||
}, {
|
}, {
|
||||||
"id": "4a0698e9-cdff-4e39-9e74-81a97de40993",
|
"id": "4a0698e9-cdff-4e39-9e74-81a97de40993",
|
||||||
"comment": "",
|
"comment": "",
|
||||||
@ -27825,7 +27839,7 @@
|
|||||||
"id": "fa4f70ea-2669-4e4a-9695-3cff3c635db4",
|
"id": "fa4f70ea-2669-4e4a-9695-3cff3c635db4",
|
||||||
"comment": "",
|
"comment": "",
|
||||||
"command": "assertElementPresent",
|
"command": "assertElementPresent",
|
||||||
"target": "xpath=//thead[@class=\"userOrder\"]//a[contains(@href,\"surnom\")]",
|
"target": "xpath=//thead[@class=\"userOrder\"]//a[contains(@href,\"${nom_champ}\")]",
|
||||||
"targets": [],
|
"targets": [],
|
||||||
"value": ""
|
"value": ""
|
||||||
}, {
|
}, {
|
||||||
@ -27953,7 +27967,7 @@
|
|||||||
"command": "assertText",
|
"command": "assertText",
|
||||||
"target": "xpath=//dt[contains(.,\"${libelle_champ}\")]/following-sibling::dd",
|
"target": "xpath=//dt[contains(.,\"${libelle_champ}\")]/following-sibling::dd",
|
||||||
"targets": [],
|
"targets": [],
|
||||||
"value": "${surnom}"
|
"value": "${valeur_champ}"
|
||||||
}, {
|
}, {
|
||||||
"id": "1c880cb2-fee1-4bd7-8075-7a0b71edaedc",
|
"id": "1c880cb2-fee1-4bd7-8075-7a0b71edaedc",
|
||||||
"comment": "",
|
"comment": "",
|
||||||
@ -27967,14 +27981,14 @@
|
|||||||
"command": "store",
|
"command": "store",
|
||||||
"target": "marco",
|
"target": "marco",
|
||||||
"targets": [],
|
"targets": [],
|
||||||
"value": "surnom"
|
"value": "valeur_champ"
|
||||||
}, {
|
}, {
|
||||||
"id": "ba6cd831-80eb-4206-b1d7-38372904088c",
|
"id": "ba6cd831-80eb-4206-b1d7-38372904088c",
|
||||||
"comment": "",
|
"comment": "",
|
||||||
"command": "type",
|
"command": "type",
|
||||||
"target": "id=f_surnom",
|
"target": "id=${id_champ}",
|
||||||
"targets": [],
|
"targets": [],
|
||||||
"value": "${surnom}"
|
"value": "${valeur_champ}"
|
||||||
}, {
|
}, {
|
||||||
"id": "6491e095-4aab-41e0-88fe-9c1f4b0fbca7",
|
"id": "6491e095-4aab-41e0-88fe-9c1f4b0fbca7",
|
||||||
"comment": "",
|
"comment": "",
|
||||||
@ -27994,7 +28008,7 @@
|
|||||||
"command": "assertText",
|
"command": "assertText",
|
||||||
"target": "xpath=//dt[contains(.,\"${libelle_champ}\")]/following-sibling::dd",
|
"target": "xpath=//dt[contains(.,\"${libelle_champ}\")]/following-sibling::dd",
|
||||||
"targets": [],
|
"targets": [],
|
||||||
"value": "${surnom}"
|
"value": "${valeur_champ}"
|
||||||
}, {
|
}, {
|
||||||
"id": "bf886799-82d7-48fc-a5b5-f527f2fc6640",
|
"id": "bf886799-82d7-48fc-a5b5-f527f2fc6640",
|
||||||
"comment": "Déconnexion",
|
"comment": "Déconnexion",
|
||||||
@ -28133,7 +28147,7 @@
|
|||||||
"id": "7aa7dae4-a0e7-40a8-9afb-866382235c78",
|
"id": "7aa7dae4-a0e7-40a8-9afb-866382235c78",
|
||||||
"comment": "",
|
"comment": "",
|
||||||
"command": "assertElementNotPresent",
|
"command": "assertElementNotPresent",
|
||||||
"target": "xpath=//thead[@class=\"userOrder\"]//a[contains(@href,\"surnom\")]",
|
"target": "xpath=//thead[@class=\"userOrder\"]//a[contains(@href,\"${nom_champ}\")]",
|
||||||
"targets": [],
|
"targets": [],
|
||||||
"value": ""
|
"value": ""
|
||||||
}]
|
}]
|
||||||
|
Loading…
Reference in New Issue
Block a user