본문 바로가기

3.3 Static analysis by tools (툴에 의한 정적 분석) Terms Compiler, complexity, control flow, data flow, static analysis. BackgroundThe objective of static analysis is to find defects in software source code and software models.Static analysis is performed without actually executing the software being examined by the tool; dynamic testing does execute the software code. Static analysis can locate defects that are hard to find in testing. As with .. 더보기
switch_to_window 새로운 윈도우로 페이지가 열릴 경우, 제어하기 위한 메소드self.driver.switch_to_window(self.driver.window_handles[1]) driver.window_handles를 같이 사용해서, 이동하려는 창을 전달한다. self.driver.get('http://nate.com') self.driver.find_element_by_id('newsImg0').click() self.driver.switch_to_window(self.driver.window_handles[1])네이트의 뉴스를 클릭하면 새로운 창이 출력되는데, 해당 창으로 전환하는 스크립트. 더보기
html-testRunner Selenium을 사용하다 보면 결과가 매우 코어하게 나온다.E======================================================================ERROR: runTest (__main__.test01)----------------------------------------------------------------------Traceback (most recent call last): File "/Users/jhchoi/Workspace/Private/study/test_01.py", line 34, in runTest self.driver.find_element_by_id('2query').send_keys('트와이스') File "/Users/jhchoi/.. 더보기
3.2 Review process (리뷰 프로세스) TermsEntry criteria, formal review, informal review, inspection, metric, moderator/inspection leader, peer review, reviewer, scribe, technical review, walrthrough. BackgroundThe different types of reviews vary from information (e.g. no written instructions for reviewers) to very formal (i.e. well structured and regulated). 3.2.1 Phases of a formal review A typical formal review has the following.. 더보기
3.1 Static techniques and the test process (정적 기법과 테스트 프로세스) Terms Dynamic testing, static testing, static technique. BackgroundUnlike dynamic testing, which requires the execution of software, static testing techniques rely on the manual examination (reviews) and automated analysis (static analysis) of the code or other project documentation. Reviews are a way of testing, which requires the execution of software, static testing techniques rely on the man.. 더보기
Error: Could not determine Xcode version: Could not get Xcode version. Appium에서 iOS를 돌릴 때 출력되는 Xcode 경로 설정 문제 Error: Could not determine Xcode version: Could not get Xcode version. 간단하게 Terminal에서 아래의 명령어를 입력해주면 해결 "sudo xcode-select --switch /Applications/Xcode.app" 더보기
Element가 없을 경우 체크 하기 클릭 또는 키 입력 등 찾으려는 Element 가 없을 경우, Except Error 를 뱉게 된다. 물론 개념 상, Element가 없을 경우에는 당연히 Fail 로 체크를 해야하지만, Element가 조건에 의해 나타나지거나 할 경우에는 Try, Except를 써서 처리를 해주는 것이 좋은 생각 def runTest(self): self.driver.get('https://www.naver.com') sleep(2) try : self.driver.find_element_by_id('query123').send_keys('트와이스') except : print('error') 더보기
Android Device Monitor Freeze 버그 JDK 1.8.0 161 버전 설치 후, Android device monitor가 freeze 되어, 클릭 또는 키보드 입력이 안되는 상태가 발생. 최신 버전인 9버전에서는 아예 실행조차 안된다. 찾아보니, 해당 JDK 버전에 따라 이슈가 발생되는 듯, JDK 버전을 180_1.5.1 으로 마이그레이션 해버리니 잘실행된다. (1.5.1 다운로드) 이걸로 오늘 2시간은 삽질한듯 ㅎㅎㅎ JDK 버전을 지우려면 Mac os기준으로 "sudo rm -rf /Library/Java/* 해주면 된다. 더보기