티스토리 뷰

웹개발/Tools

셀레니움 사용!

yaku 2011. 4. 26. 16:42


------ 저장 -------
Command Target Value
store paul@mysite.org userName

==  셋 ===

Command Target Value
verifyText //div/p ${userName}



==  출력 ===
Command Target Value
type id=login ${userName}


Javascript and delenese Parameters

ommand Target Value
store 10 hits
storeXpathCount //blockquote blockquotes
storeEval storedVars[‘hits’]-storedVars[‘blockquotes’] paragraphs



Command Target Value
store Edith Wharton name
storeEval storedVars[‘name’].toUpperCase() uc
storeEval storedVars[‘name’].toLowerCase() lc



Command Target Value
store league of nations searchString
type q javascript{storedVars[‘searchString’].toUpperCase()}

'웹개발 > Tools' 카테고리의 다른 글

머큐리얼 사용법 정리  (0) 2011.07.20
branches, tags, trunk 에 대한 개념  (1) 2011.06.09
git 기본 튜토리얼  (0) 2011.06.07
PHP 개발 환경 만들기 . Eclipse + PHPUnit + PHP Tools  (0) 2010.11.19
SVN 명령어.  (0) 2010.09.01
댓글
D-DAY
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2024/04   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
글 보관함