Skip to content

Commit d8f06ab

Browse files
committed
Add browser for UI automation
1 parent b690dff commit d8f06ab

1 file changed

Lines changed: 42 additions & 62 deletions

File tree

content/ui-test.md

Lines changed: 42 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## Broswer
2+
* https://github.com/h4ckf0r0day/obscura : The headless browser for AI agents and web scraping
3+
* https://github.com/browser-use/browser-harness : Connect an LLM directly to your real browser with a thin, editable CDP harness.
4+
* [Browser Harness: LLM이 직접 Chrome을 제어하며 부족한 기능을 스스로 구현하는 자기 치유형 브라우저 자동화 프레임워크](https://discuss.pytorch.kr/t/browser-harness-llm-chrome/9821)
5+
16
## Web page test
27

38
### HTTPUnit
@@ -22,61 +27,47 @@
2227

2328
- <http://jwebunit.sourceforge.net/>
2429
- Junit + HttpUnit의 테스트코드를 더욱 간결하게 만들어서 제공
25-
- 참고자료
2630
- Junit + HTMLUnit vs jwebUnit 코드비교 : <http://jwebunit.sourceforge.net/2.x/jwebunit-htmlunit-plugin/index.html>
2731
- [jWebUnit 프레임웍으로 웹 애플리케이션 테스트를 간단하게!](http://blog.naver.com/minhan_nemo?Redirect=Log&logNo=40015688498)
2832

29-
public class HttpUnitTest { public static void main(String\[\] args) {
30-
try { WebConversation wc = new WebConversation(); WebRequest request =
31-
new GetMethodWebRequest("http://httpunit.sourceforge.net/index.html");
32-
wc.setProxyServer( "your.proxy.com", 80 ); WebResponse response =
33-
wc.getResponse(request); WebLink httpunitLink =
34-
response.getFirstMatchingLink(WebLink.MATCH_CONTAINED_TEXT,"Cookbook");
35-
response = httpunitLink.click(); System.out.println("Test successful
36-
!!"); } catch (Exception e) { System.err.println("Exception: " + e); } }
33+
```java
34+
public class HttpUnitTest {
35+
public static void main(String[] args) {
36+
try {
37+
WebConversation wc = new WebConversation();
38+
WebRequest request = new GetMethodWebRequest("http://httpunit.sourceforge.net/index.html");
39+
wc.setProxyServer("your.proxy.com", 80);
40+
WebResponse response = wc.getResponse(request);
41+
WebLink httpunitLink = response.getFirstMatchingLink(WebLink.MATCH_CONTAINED_TEXT, "Cookbook");
42+
response = httpunitLink.click();
43+
System.out.println("Test successful !!");
44+
} catch (Exception e) {
45+
System.err.println("Exception: " + e);
46+
}
47+
}
3748
}
49+
```
3850

3951
### Selenium
4052

4153
- <http://www.openqa.org/selenium/> MockStrutsTestCase
42-
43-
[Canoo
44-
WebTest](http://webtest.canoo.com/webtest/manual/WebTestHome.html)
45-
46-
<http://barcamp.tistory.com/tag/Selenium>
47-
48-
웹서비스 테스트 자동화와는 별 상관없는 작업을 위해…​\]
49-
50-
Selenium RC 를 사용해보자. I\]
51-
52-
Selenium RC 를 사용해보자. II\]
53-
54-
[Selenium을 이용한 테스트
55-
전략](http://wiki.javajigi.net/pages/viewpage.action?pageId=294914)
56-
57-
[UsingSeleniumToNaverLogin
58-
](http://openframework.or.kr/Wiki.jsp?page=UsingSeleniumToNaverLogin)
59-
60-
[Selenium RC를 이용한 웹 애플리케이션
61-
테스트](http://www.ibm.com/developerworks/kr/library/wa-testweb/index.html)
54+
- [CanooWebTest](http://webtest.canoo.com/webtest/manual/WebTestHome.html)
55+
- <http://barcamp.tistory.com/tag/Selenium>
56+
- [Selenium을 이용한 테스트 전략](http://wiki.javajigi.net/pages/viewpage.action?pageId=294914)
57+
- [UsingSeleniumToNaverLogin](http://openframework.or.kr/Wiki.jsp?page=UsingSeleniumToNaverLogin)
58+
- [Selenium RC를 이용한 웹 애플리케이션 테스트](http://www.ibm.com/developerworks/kr/library/wa-testweb/index.html)
6259

6360
### Watij
6461

65-
[WebDriver와 PageObject 패턴](http://toby.epril.com/?p=752)
62+
- [WebDriver와 PageObject 패턴](http://toby.epril.com/?p=752)
6663

6764
### Web driver
6865

69-
[WebDriver와 PageObject 패턴](http://toby.epril.com/?p=752)
70-
71-
[웹드라이버(webdriver) pom.xml에 의존성
72-
추가하기](http://whiteship.me/2223)
73-
74-
[webdriver - NextSteps](http://whiteship.me/2225)
75-
76-
[DBUnit + Cargo + Webdriver를 이용한 웹 테스트 삽질
77-
](http://whiteship.me/2224)
78-
79-
[webdriver - NextSteps](http://whiteship.me/2225)
66+
- [WebDriver와 PageObject 패턴](http://toby.epril.com/?p=752)
67+
- [웹드라이버(webdriver) pom.xml에 의존성 추가하기](http://whiteship.me/2223)
68+
- [webdriver - NextSteps](http://whiteship.me/2225)
69+
- [DBUnit + Cargo + Webdriver를 이용한 웹 테스트 삽질 중](http://whiteship.me/2224)
70+
- [webdriver - NextSteps](http://whiteship.me/2225)
8071

8172
### Cacus
8273

@@ -86,33 +77,22 @@ Selenium RC 를 사용해보자. II\]
8677

8778
### Cargo
8879

89-
<http://cargo.codehaus.org/>
90-
91-
[Cargo 메이븐 플러그인 설정하기](http://whiteship.me/2226)
92-
93-
[Cargo의 TomcatManager](http://whiteship.me/2229)
80+
- <http://cargo.codehaus.org/>
81+
- [Cargo 메이븐 플러그인 설정하기](http://whiteship.me/2226)
82+
- [Cargo의 TomcatManager](http://whiteship.me/2229)
9483

9584
### FIT
9685

97-
[웹 테스트 프레임워크(WebTUnit) 사용 시나리오 1. 웹 테스트 + 테스트
98-
클래스 단위 데이터 관리](http://fit.c2.com/)
86+
- [웹 테스트 프레임워크(WebTUnit) 사용 시나리오 1. 웹 테스트 + 테스트 클래스 단위 데이터 관리](http://fit.c2.com/)
9987

10088
### 기타
10189

102-
[웹 통합 테스트 프레임워크 개발 중](http://whiteship.me/2236)
103-
104-
[웹 테스트 프레임워크(WebTUnit) 사용 시나리오 1. 웹 테스트 + 테스트
105-
클래스 단위 데이터 관리](http://whiteship.me/2237)
106-
107-
[WebTUnit 사용 시나리오 2. 웹 테스트 + 테스트 메서드 단위 데이터
108-
관리](http://whiteship.me/2238)
109-
110-
[WebTUnit 사용 시나리오 3. 테스트 데이터가 필요 없는
111-
경우](http://whiteship.me/2239)
112-
113-
[WebTUnit에 CoC 적용 결과](http://whiteship.me/2243)
114-
115-
[WebTUnit 1.0 M1 배포합니다.](http://whiteship.me/2245)
90+
- [웹 통합 테스트 프레임워크 개발 중](http://whiteship.me/2236)
91+
- [웹 테스트 프레임워크(WebTUnit) 사용 시나리오 1. 웹 테스트 + 테스트 클래스 단위 데이터 관리](http://whiteship.me/2237)
92+
- [WebTUnit 사용 시나리오 2. 웹 테스트 + 테스트 메서드 단위 데이터 관리](http://whiteship.me/2238)
93+
- [WebTUnit 사용 시나리오 3. 테스트 데이터가 필요 없는 경우](http://whiteship.me/2239)
94+
- [WebTUnit에 CoC 적용 결과](http://whiteship.me/2243)
95+
- [WebTUnit 1.0 M1 배포합니다.](http://whiteship.me/2245)
11696

11797
## 사례
11898

0 commit comments

Comments
 (0)