?????? ? ????DSL
???????????? ???????[ 2011/10/14 13:42:49 ] ????????
??????????????????????????????????????????????????????????????????????????????????????????????????????????谓???DSL????????????????????
????????????????????????????????????????????????????????????????????????????????????小?????????????????????????????????????????????????????????????????????????????????????械??????????????械??????
????1??????????????????????????????????????
????2???????????????????????????????????????????????
????3????????????????????????????????效??
??????????????????????????????????????????????????谩???????????????????????????????????????????????????濉�
?????????????????????????????校??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????小?
????????????????????????械???????????????????????????????????????????些????????????????????????????斜????????????????????些????????眉??????????????????????????????????????????????????????????????????械?????????????????????????????????伞?
????????t???????????????????????????????????????????些????
????1?????????????围?????????????????????????????????????????????????????小?
????2?????????????????????????????????????????????些????????????????????????位?????????????????????????椤�
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????貌???????
???????????????????????????????????????????????????????
???????????????????????????????????????????????????????????????尾????????????????????????
selenium.open(??/??)
selenium.type(??id=username???? ??myname??)
selenium.type(??id=password???? ??mypassword??)
selenium.click(??id=btnLogin??)
selenium.waitForPageToLoad(30000)
assertTrue(selenium.isTextPresent(??Welcome to our website!??))
????????????校?????????????????妫�?????????????id?username???????????myname???????????????id?password???????????password????????????id?btnLogin?????????30??????????????贸?????????
????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
??????????????????泻??????????????????????????????谐?????????????????????????????????????????????????????????????????????????????????????谐???????????????????骞�?????位?????????????
?????????????????????????械?????????????????写?????????????????????????????????????????????????????????????????????????????????????????????????澹�????????????????????校??????????????效???
?????????????????????????????????????????????????????胁?????????????????????????????????????????魏??????????????????????????????????????????????????????????????????????些????????????????????????效?婊�???????????????
?????????????????????
???????????????DSL????????????
????????????????????????????????????斜???????????????????????????????????????????????????????????????Java??C#?????????????????魏???????????????????????????????????????????????????????????????
?????貌???????????????????????????????????????????????????????????????效????DSL?????????????????
?????????????????????未???
selenium.open(??/??)
selenium.type(??id=username???? ??myname??)
selenium.type(??id=password???? ??mypassword??)
selenium.click(??id=btnLogin??)
selenium.waitForPageToLoad(30000)
assertTrue(selenium.isTextPresent(??Welcome to our website!??))
??????????????????????????????????????贸???????霉???????????????????????????????????
????????DSL???????????????????????????????????????锟�?
Given I am on login page
When I provide username and password
Then I can enter the system
?????????????????????????????????些????????????????????????????????????????????????????????????????????????????????????些DSL??????????械???????????????????????????????????????????????????????????????????????????些?????????????????????????????????????????????薪??蟹?????????DSL????????????????????????
?????????????????????贸????校????????????????????????????????????????????????????????????????
Given I am on login page
When I provide ??david?? and ??davidpassword??
Then I can enter the system
Given I am on login page
When I provide ??kate?? and ??kate_p@ssword??
Then I can enter the system
??????

???路???
??????????????????
2023/3/23 14:23:39???写?貌??????????
2023/3/22 16:17:39????????????????????些??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???路???????路
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11