| Å×½ºÆ® :: WWW :: SELENIUM. Å×½ºÆ® :: www :: SeleniumÀº ¼¿·¹´½ ¿ø°Ý Á¦¾î¸¦ »ç¿ëÇÏ¿© ÀÀ¿ë ÇÁ·Î±×·¥À» Å×½ºÆ®ÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
Å×½ºÆ® :: WWW :: SELENIUM. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~lukec/Test-Mock-LWP-0.05/lib/Test/Mock/LWP.pm
Å×½ºÆ® :: WWW :: SELENIUM. ű×
Å×½ºÆ® :: WWW :: SELENIUM. ¼³¸í
Å×½ºÆ® :: www :: SeleniumÀº ¼¿·¹´½ ¿ø°Ý Á¦¾î¸¦ »ç¿ëÇÏ¿© ÀÀ¿ë ÇÁ·Î±×·¥À» Å×½ºÆ®ÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. Å×½ºÆ® :: www :: SeleniumÀº ¼¿·¹´½ ¿ø°Ý Á¦¾î¸¦ »ç¿ëÇÏ¿© ÀÀ¿ë ÇÁ·Î±×·¥À» Å×½ºÆ®ÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù .Synopsistest :: www :: SeleniumÀº Æí¸®ÇÑ Å×½ºÆ® ±â´ÉÀ» Á¦°øÇÏ´Â www :: SeleniumÀÇ ÇÏÀ§ Ŭ·¡½ºÀÔ´Ï´Ù. Å×½ºÆ®¸¦ »ç¿ëÇϽʽÿÀ :: ´õ ¸¹Àº Å×½ºÆ® => 5; Å×½ºÆ® :: WWW :: SELENIUM; # ¸Å°³ º¯¼ö´Â www :: Selenium ³» $ sel = test :: www :: selenium-> new (host => localhost ", port => 4444, browser =>"* firefox ", browser_url =>"http) : //www.google.com ", default_names => 1,); # Ưº° Å×½ºÆ® ·¡ÆÛ (www :: selenium) ¸í·É : $ sel-> open_ok ( "http://www.google.com"); $ sel-> type_ok ( "Q", "Hello World"); $ sel-> click_ok ( "btng"); $ sel-> wait_for_page_to_load (5000); $ sel-> titie_like (QR / Google °Ë»ö /);ÀÌ ¸ðµâÀ» »ç¿ëÇÏ·Á¸é ÀÌ¹Ì ´Ù¿î·ÎµåÇÏ¿© Selenium ¼¹ö¸¦ ½ÃÀÛÇؾßÇÕ´Ï´Ù. ¼¿·¹´½ ¼¹ö´Â Java ÀÀ¿ë ÇÁ·Î±×·¥ÀÔ´Ï´Ù.ÀÌ ¸ðµâÀº Å×½ºÆ®¸¦ ÀÛ¼ºÇÏ´Â µ¥ À¯¿ëÇÑ ¹æ¹ýÀ» Á¦°øÇÏ´Â WWW :: Selenium ÇÏÀ§ Ŭ·¡½ºÀÔ´Ï´Ù. °¢ ¼¿·¹´½ ¸í·ÉÀÇ °æ¿ì (Open, Click, Type, ...) ¹Ýȯ °ª (OPEN_OK, CLICK_OK, TYPE_OK)À» È®ÀÎÇÏ´Â ÇØ´ç _OK ¸Þ¼Òµå°¡ ÀÖ½À´Ï´Ù. °¢ ¼¿·¹´½ getter (get_title, ...) 4 °¡Áö °¡µ¿ ¹æ¹ýÀÌ ÀÖ½À´Ï´Ù. ( _is, _isnt, _ISNT, _Unlike, _Unlike) .By ±âº»°ªÀ¸·Î ¼³Á¤µÈ »ý¼ºÀÚ¸¦ È£ÃâÇÕ´Ï´Ù. true °ªÀ¸·Î ¼³Á¤µÈ true °ªÀ¸·Î ¼³Á¤Çϸé ÇÕ¸®ÀûÀÎ À̸§ÀÌ Á¦°øµË´Ï´Ù. ÀÚ½ÅÀÇ °ÍÀ» Á¦°øÇÏÁö ¾Êµµ·Ï ¼±ÅÃÇϽʽÿÀ. ¿ä±¸ »çÇ× : ¡¤ Perl.
Å×½ºÆ® :: WWW :: SELENIUM. °ü·Ã ¼ÒÇÁÆ®¿þ¾î