store | Charging Station Name,Status; | returnText |
loadVars | station_export.csv | |
if | "${Charging Station Name}" != "" | |
open | https://www.vattenfall.de/emobility-portal-web/operation/SearchOperation.action?search=&mainNav=mainOperation&subNav= | |
type | id=filter.name | ${Charging Station Name} |
click | name=result | |
storeElementPresent | css=.statusLight > .disabled | disabled |
storeElementPresent | css=.statusLight > .ok | ok |
storeElementPresent | css=.statusLight > .error | error |
if | ${disabled} | |
store | ${returnText}${Charging Station Name},disabled; | returnText |
elseIf | ${ok} | |
store | ${returnText}${Charging Station Name},ok; | returnText |
else | | |
click | link=Show | |
click | link=Deactivate | |
click | id=text | |
type | id=text | Amir: Yet to be installed (New Station). |
click | name=save | |
click | link=Deactivate | |
click | id=text | |
type | id=text | Amir: Yet to be installed (New Station). |
click | name=save | |
storeText | css=.info | info |
store | ${returnText}${Charging Station Name},deactivated; | returnText |
endIf | | |
endIf | | |
endLoadVars | | |
echo | ${returnText} | |