際際滷

際際滷Share a Scribd company logo
QUnit Test
      Automation
      using
      Hudson
???
      and
NHN
      Selenium
Background Knowledge
? Refactoring
? Test Driven Development

Unit Test
OK
Hudson
Selenium
{ jscamp : "Hannam" } Qunit Test Automation using Hudson and Selenium - ???
{ jscamp : "Hannam" } Qunit Test Automation using Hudson and Selenium - ???
{ jscamp : "Hannam" } Qunit Test Automation using Hudson and Selenium - ???
{ jscamp : "Hannam" } Qunit Test Automation using Hudson and Selenium - ???
{ jscamp : "Hannam" } Qunit Test Automation using Hudson and Selenium - ???
{ jscamp : "Hannam" } Qunit Test Automation using Hudson and Selenium - ???
Complex Web Application




       86
       18
      804
{ jscamp : "Hannam" } Qunit Test Automation using Hudson and Selenium - ???
QUnit Callback
QUnit.log({ result, actual, expected, message })
QUnit.testStart({ name })
QUnit.testDone({ name, failed, passed, total })
QUnit.moduleStart({ name })
QUnit.moduleDone({ name, failed, passed, total })
QUnit.begin()
QUnit.done({ failed, passed, total, runtime })
{
^1.qunit.html ̄:{result´},
^2.qunit.html ̄:{result´},
^3.qunit.html ̄:{result´},
´
}
Selenium RC
Selenium Client API

selenium = new Selenium(host, port, browser);

selenium.open(^http://hudson/jobs/foo/ws/container.html ̄);

selenium.runScript(^startTests()");

// wait for test end
String result = selenium.getEval("window._tests.analysis()");

 {
 ^1.qunit.test ̄:{^module1 ̄:{^test1 ̄:{^browser ̄: ̄ie8 ̄,^total ̄:5, ̄failed ̄:0, ̄messages ̄: ̄ ̄},
 ^2.qunit.test ̄:{^module2 ̄:{^test2 ̄:{^browser ̄: ̄ie8 ̄,^total ̄:3, ̄failed ̄:0, ̄messages ̄: ̄ ̄},
 ^3.qunit.test ̄:{^module3 ̄:{^test3 ̄:{^browser ̄: ̄ie8 ̄,^total ̄:8, ̄failed ̄:0, ̄messages ̄: ̄ ̄},
 ´
 }
Hudson Plugin w/ Selenium Client API
{ jscamp : "Hannam" } Qunit Test Automation using Hudson and Selenium - ???
One More Thing
Coverage


           Source Code

                         Danger

             Tested
JSCat(JavaScript Coverage Analysis Tool)
Toolkit




  ? JSCat
  ? JSCat Hudson Plugin
{ jscamp : "Hannam" } Qunit Test Automation using Hudson and Selenium - ???
Ready-made Toolkit




 ? js-test-driver
 ? js-test-driver qunit adapter
 ? js-test-driver coverage plugin
 ? js-test-driver hudson plugin
{ jscamp : "Hannam" } Qunit Test Automation using Hudson and Selenium - ???
{ jscamp : "Hannam" } Qunit Test Automation using Hudson and Selenium - ???
{ jscamp : "Hannam" } Qunit Test Automation using Hudson and Selenium - ???
Ad

Recommended

Microservices using Node.js and RabbitMQ
Microservices using Node.js and RabbitMQ
Carolina Pascale Campos
?
Laporan tugas network programming
Laporan tugas network programming
RahmatHamdani2
?
Testing in android
Testing in android
jtrindade
?
Browser testing with nightwatch.js - Drupal Europe
Browser testing with nightwatch.js - Drupal Europe
Salvador Molina (Slv_)
?
Binary Studio Academy: Concurrency in C# 5.0
Binary Studio Academy: Concurrency in C# 5.0
Binary Studio
?
Serenity Now
Serenity Now
Daniel MacTough
?
Performance tests with Gatling (extended)
Performance tests with Gatling (extended)
Andrzej Ludwikowski
?
Improving monitoring systems Interoperability with OpenMetrics
Improving monitoring systems Interoperability with OpenMetrics
Chan Shik Lim
?
Java ppt
Java ppt
renukarenuka9
?
Autobots @ REA
Autobots @ REA
ggiesemann
?
Continuous Integration with Robot Sweatshop
Continuous Integration with Robot Sweatshop
Justin Scott
?
Android dev 3
Android dev 3
Aravindharamanan S
?
Client server part 12
Client server part 12
fadlihulopi
?
Ajax World Comet Talk
Ajax World Comet Talk
rajivmordani
?
Reliability and Reslience
Reliability and Reslience
Donald Belcham
?
QTP with QualityCenter
QTP with QualityCenter
Praveen Gorantla
?
皆沿姻庄稼乙を喘いた芙坪ライブラリ蝕k
皆沿姻庄稼乙を喘いた芙坪ライブラリ蝕k
Recruit Lifestyle Co., Ltd.
?
WebDriver Waits
WebDriver Waits
Yaroslav Pernerovsky
?
Automation puzzlers
Automation puzzlers
Yaroslav Pernerovsky
?
Anton Moldovan "Load testing which you always wanted"
Anton Moldovan "Load testing which you always wanted"
Fwdays
?
Implicit and Explicit waits in Selenium WebDriwer, how to.
Implicit and Explicit waits in Selenium WebDriwer, how to.
Yaroslav Pernerovsky
?
Azure SQL Database - Connectivity Best Practices
Azure SQL Database - Connectivity Best Practices
Jose Manuel Jurado Diaz
?
FPV Streaming Server with ffmpeg
FPV Streaming Server with ffmpeg
Chan Shik Lim
?
Finagle - an intro to rpc & a sync programming in jvm
Finagle - an intro to rpc & a sync programming in jvm
PrasannaKumar Sathyanarayanan
?
ATG pipelines
ATG pipelines
Kate Semizhon
?
New feature of async fakeAsync test in angular
New feature of async fakeAsync test in angular
Jia Li
?
Adding replication protocol support for psycopg2
Adding replication protocol support for psycopg2
Alexander Shulgin
?
Selenium2 and Jenkins: Almost pain-free UI Testing
Selenium2 and Jenkins: Almost pain-free UI Testing
mikereedell
?
AUTOMATION TESTING prsentation about selenium basics and types of selenium co...
AUTOMATION TESTING prsentation about selenium basics and types of selenium co...
ssuser94400e
?
The way to set automation testing
The way to set automation testing
Duy Tan Geek
?

More Related Content

What's hot (19)

Java ppt
Java ppt
renukarenuka9
?
Autobots @ REA
Autobots @ REA
ggiesemann
?
Continuous Integration with Robot Sweatshop
Continuous Integration with Robot Sweatshop
Justin Scott
?
Android dev 3
Android dev 3
Aravindharamanan S
?
Client server part 12
Client server part 12
fadlihulopi
?
Ajax World Comet Talk
Ajax World Comet Talk
rajivmordani
?
Reliability and Reslience
Reliability and Reslience
Donald Belcham
?
QTP with QualityCenter
QTP with QualityCenter
Praveen Gorantla
?
皆沿姻庄稼乙を喘いた芙坪ライブラリ蝕k
皆沿姻庄稼乙を喘いた芙坪ライブラリ蝕k
Recruit Lifestyle Co., Ltd.
?
WebDriver Waits
WebDriver Waits
Yaroslav Pernerovsky
?
Automation puzzlers
Automation puzzlers
Yaroslav Pernerovsky
?
Anton Moldovan "Load testing which you always wanted"
Anton Moldovan "Load testing which you always wanted"
Fwdays
?
Implicit and Explicit waits in Selenium WebDriwer, how to.
Implicit and Explicit waits in Selenium WebDriwer, how to.
Yaroslav Pernerovsky
?
Azure SQL Database - Connectivity Best Practices
Azure SQL Database - Connectivity Best Practices
Jose Manuel Jurado Diaz
?
FPV Streaming Server with ffmpeg
FPV Streaming Server with ffmpeg
Chan Shik Lim
?
Finagle - an intro to rpc & a sync programming in jvm
Finagle - an intro to rpc & a sync programming in jvm
PrasannaKumar Sathyanarayanan
?
ATG pipelines
ATG pipelines
Kate Semizhon
?
New feature of async fakeAsync test in angular
New feature of async fakeAsync test in angular
Jia Li
?
Adding replication protocol support for psycopg2
Adding replication protocol support for psycopg2
Alexander Shulgin
?
Continuous Integration with Robot Sweatshop
Continuous Integration with Robot Sweatshop
Justin Scott
?
Client server part 12
Client server part 12
fadlihulopi
?
Ajax World Comet Talk
Ajax World Comet Talk
rajivmordani
?
Reliability and Reslience
Reliability and Reslience
Donald Belcham
?
皆沿姻庄稼乙を喘いた芙坪ライブラリ蝕k
皆沿姻庄稼乙を喘いた芙坪ライブラリ蝕k
Recruit Lifestyle Co., Ltd.
?
Anton Moldovan "Load testing which you always wanted"
Anton Moldovan "Load testing which you always wanted"
Fwdays
?
Implicit and Explicit waits in Selenium WebDriwer, how to.
Implicit and Explicit waits in Selenium WebDriwer, how to.
Yaroslav Pernerovsky
?
Azure SQL Database - Connectivity Best Practices
Azure SQL Database - Connectivity Best Practices
Jose Manuel Jurado Diaz
?
FPV Streaming Server with ffmpeg
FPV Streaming Server with ffmpeg
Chan Shik Lim
?
New feature of async fakeAsync test in angular
New feature of async fakeAsync test in angular
Jia Li
?
Adding replication protocol support for psycopg2
Adding replication protocol support for psycopg2
Alexander Shulgin
?

Similar to { jscamp : "Hannam" } Qunit Test Automation using Hudson and Selenium - ??? (10)

Selenium2 and Jenkins: Almost pain-free UI Testing
Selenium2 and Jenkins: Almost pain-free UI Testing
mikereedell
?
AUTOMATION TESTING prsentation about selenium basics and types of selenium co...
AUTOMATION TESTING prsentation about selenium basics and types of selenium co...
ssuser94400e
?
The way to set automation testing
The way to set automation testing
Duy Tan Geek
?
Automated ui-testing
Automated ui-testing
Slobodan Lohja
?
Automated Test Framework with Cucumber
Automated Test Framework with Cucumber
Ramesh Krishnan Ganesan
?
Quest to the best test automation for low code development platform kherrazi ...
Quest to the best test automation for low code development platform kherrazi ...
Rachid Kherrazi
?
Automation Testing of Web based Application with Selenium and HP UFT (QTP)
Automation Testing of Web based Application with Selenium and HP UFT (QTP)
IRJET Journal
?
Lesson_06_Software_and_Automation_Testing_Frameworks.pdf
Lesson_06_Software_and_Automation_Testing_Frameworks.pdf
Minh Qu?n ?o┐n
?
Selenium
Selenium
R
?
Test automation within a scrum process
Test automation within a scrum process
Kushan Shalindra Amarasiri - Technical QE Specialist
?
Selenium2 and Jenkins: Almost pain-free UI Testing
Selenium2 and Jenkins: Almost pain-free UI Testing
mikereedell
?
AUTOMATION TESTING prsentation about selenium basics and types of selenium co...
AUTOMATION TESTING prsentation about selenium basics and types of selenium co...
ssuser94400e
?
The way to set automation testing
The way to set automation testing
Duy Tan Geek
?
Quest to the best test automation for low code development platform kherrazi ...
Quest to the best test automation for low code development platform kherrazi ...
Rachid Kherrazi
?
Automation Testing of Web based Application with Selenium and HP UFT (QTP)
Automation Testing of Web based Application with Selenium and HP UFT (QTP)
IRJET Journal
?
Lesson_06_Software_and_Automation_Testing_Frameworks.pdf
Lesson_06_Software_and_Automation_Testing_Frameworks.pdf
Minh Qu?n ?o┐n
?
Selenium
Selenium
R
?
Ad

Recently uploaded (20)

Viral>Wondershare Filmora 14.5.18.12900 Crack Free Download
Viral>Wondershare Filmora 14.5.18.12900 Crack Free Download
Puppy jhon
?
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven Infrastructure
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven Infrastructure
Safe Software
?
FME for Distribution & Transmission Integrity Management Program (DIMP & TIMP)
FME for Distribution & Transmission Integrity Management Program (DIMP & TIMP)
Safe Software
?
Artificial Intelligence in the Nonprofit Boardroom.pdf
Artificial Intelligence in the Nonprofit Boardroom.pdf
OnBoard
?
The Future of Data, AI, and AR: Innovation Inspired by You.pdf
The Future of Data, AI, and AR: Innovation Inspired by You.pdf
Safe Software
?
You are not excused! How to avoid security blind spots on the way to production
You are not excused! How to avoid security blind spots on the way to production
Michele Leroux Bustamante
?
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik
?
AI VIDEO MAGAZINE - June 2025 - r/aivideo
AI VIDEO MAGAZINE - June 2025 - r/aivideo
1pcity Studios, Inc
?
MuleSoft for AgentForce : Topic Center and API Catalog
MuleSoft for AgentForce : Topic Center and API Catalog
shyamraj55
?
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Safe Software
?
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
?
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
biswajitbanerjee38
?
AI vs Human Writing: Can You Tell the Difference?
AI vs Human Writing: Can You Tell the Difference?
Shashi Sathyanarayana, Ph.D
?
^Key Requirements to Successfully Implement Generative AI in Edge Devices!Opt...
^Key Requirements to Successfully Implement Generative AI in Edge Devices!Opt...
Edge AI and Vision Alliance
?
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
revolcs10
?
Powering Multi-Page Web Applications Using Flow Apps and FME Data Streaming
Powering Multi-Page Web Applications Using Flow Apps and FME Data Streaming
Safe Software
?
ENERGY CONSUMPTION CALCULATION IN ENERGY-EFFICIENT AIR CONDITIONER.pdf
ENERGY CONSUMPTION CALCULATION IN ENERGY-EFFICIENT AIR CONDITIONER.pdf
Muhammad Rizwan Akram
?
Information Security Response Team Nepal_npCERT_Vice_President_Sudan_Jha.pdf
Information Security Response Team Nepal_npCERT_Vice_President_Sudan_Jha.pdf
ICT Frame Magazine Pvt. Ltd.
?
Security Tips for Enterprise Azure Solutions
Security Tips for Enterprise Azure Solutions
Michele Leroux Bustamante
?
FIDO Seminar: Evolving Landscape of Post-Quantum Cryptography.pptx
FIDO Seminar: Evolving Landscape of Post-Quantum Cryptography.pptx
FIDO Alliance
?
Viral>Wondershare Filmora 14.5.18.12900 Crack Free Download
Viral>Wondershare Filmora 14.5.18.12900 Crack Free Download
Puppy jhon
?
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven Infrastructure
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven Infrastructure
Safe Software
?
FME for Distribution & Transmission Integrity Management Program (DIMP & TIMP)
FME for Distribution & Transmission Integrity Management Program (DIMP & TIMP)
Safe Software
?
Artificial Intelligence in the Nonprofit Boardroom.pdf
Artificial Intelligence in the Nonprofit Boardroom.pdf
OnBoard
?
The Future of Data, AI, and AR: Innovation Inspired by You.pdf
The Future of Data, AI, and AR: Innovation Inspired by You.pdf
Safe Software
?
You are not excused! How to avoid security blind spots on the way to production
You are not excused! How to avoid security blind spots on the way to production
Michele Leroux Bustamante
?
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik
?
AI VIDEO MAGAZINE - June 2025 - r/aivideo
AI VIDEO MAGAZINE - June 2025 - r/aivideo
1pcity Studios, Inc
?
MuleSoft for AgentForce : Topic Center and API Catalog
MuleSoft for AgentForce : Topic Center and API Catalog
shyamraj55
?
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Safe Software
?
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
?
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
biswajitbanerjee38
?
^Key Requirements to Successfully Implement Generative AI in Edge Devices!Opt...
^Key Requirements to Successfully Implement Generative AI in Edge Devices!Opt...
Edge AI and Vision Alliance
?
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
revolcs10
?
Powering Multi-Page Web Applications Using Flow Apps and FME Data Streaming
Powering Multi-Page Web Applications Using Flow Apps and FME Data Streaming
Safe Software
?
ENERGY CONSUMPTION CALCULATION IN ENERGY-EFFICIENT AIR CONDITIONER.pdf
ENERGY CONSUMPTION CALCULATION IN ENERGY-EFFICIENT AIR CONDITIONER.pdf
Muhammad Rizwan Akram
?
Information Security Response Team Nepal_npCERT_Vice_President_Sudan_Jha.pdf
Information Security Response Team Nepal_npCERT_Vice_President_Sudan_Jha.pdf
ICT Frame Magazine Pvt. Ltd.
?
FIDO Seminar: Evolving Landscape of Post-Quantum Cryptography.pptx
FIDO Seminar: Evolving Landscape of Post-Quantum Cryptography.pptx
FIDO Alliance
?
Ad

{ jscamp : "Hannam" } Qunit Test Automation using Hudson and Selenium - ???