- 博客(7)
- 收藏
- 关注
转载 Testing
FunctionalUI TestingUAT Testing: User Acceptance TestingAccessibilityAd-hocRegression: Test integrated functionalities. SystemSanityStressBlackboxWhiteboxEnd-to-endSmoke: Quick random test for the maj...
2018-06-25 20:48:09 239
转载 Python Day 8
The dir() command lists capabilities. SQL: Structured Query LanguageCRUD: Create Read Update Delete
2018-06-12 04:55:19 189
转载 Python Day 7
import socketmysock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)mysock.connect( ('data.pr4e.org', 80) )cmd = 'GET http://data.pr4e.ogr/romeo.txt HTTP/1.0\n\n'.encode()mysock.send(cmd)telnet ...
2018-06-06 01:56:39 178
转载 Scrpay Day 1
scrapyscrapy startproject quotes_spiderscrapy genspider quotes quotes.toscrape.comscrapy shell fetch('http://quotes.toscrape.com/') response.xpath('//h1')scrapy shell 'http://quotes.toscrape.co...
2018-06-04 09:30:55 209
转载 Python yield
What does the "yield" keyword do?When you see a function with yield statements, apply this easy trick to understand what will happen:1. Insert a line result = [] at the start of the function.2. Replac...
2018-06-04 08:06:35 144
原创 XPATH
XPATH counts from 1Python counts from 0Differnece between signle '/' or double '//':Single slash '/' anywhere in xpath signifies to look for the element immediately inside the parent element.Double sl...
2018-06-04 07:56:02 392
原创 Python Day 6
ccc = dict() #create a dictionaryccc['csev'] = 1 #Key csev Count 1ccc['cwen'] = 1 #Key cwen Count 1ccc['csev'] = ccc['cesv'] + 1 #Key csev count + 1print(ccc){'csev': 1, 'cwen': 2}Key csev has val...
2018-06-01 20:51:33 207
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人