SlideShare a Scribd company logo
1 of 46
Presentation @ selemium tool Jagdish Patel Sr. QA Engineer
[object Object],[object Object],[object Object],[object Object],[object Object],Topics for today's presentation © Copyright 2008, Gateway Group of companies.
[object Object],[object Object],[object Object],Functional testing © Copyright 2008: Gateway Group of companies.
[object Object],Regression testing © Copyright 2008, Gateway Group of companies.
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Compatibility testing © Copyright 2008, Gateway Group of companies.
[object Object],[object Object],Test Case & Test Suite © Copyright 2008, Gateway Group of companies.
[object Object],[object Object],[object Object],What is Selenium? © Copyright 2008, Gateway Group of companies.
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Why should we care? © Copyright 2008, Gateway Group of companies.
[object Object],[object Object],[object Object],[object Object],Where to get Selenium © Copyright 2008, Gateway Group of companies.
[object Object],[object Object],[object Object],[object Object],Selenium core concepts © Copyright 2008, Gateway Group of companies.
How Selenium Works © Copyright 2008, Gateway Group of companies.
[object Object],Platforms supported by Selenium © Copyright 2008, Gateway Group of companies. Browser Selenium IDE Selenium RC Selenium Core Firefox 3 Record and playback tests Start browser, run tests Run test Firefox 2 Record and playback tests Start browser, run tests Run test IE 6 not supported Start browser, run tests Run test IE 7 not supported Start browser, run tests Run test Safari 3 not supported Start browser, run tests Run test Safari 2 not supported Start browser, run tests Run test Opera 9 not supported Start browser, run tests Run test
[object Object],Platforms supported by Selenium.. © Copyright 2008, Gateway Group of companies. OS Selenium IDE Selenium RC Selenium Core Windows Works in Firefox 2+ Start browser, run tests Run test OS X Works in Firefox 2+ Start browser, run tests Run test Linux Works in Firefox 2+ Start browser, run tests Run test Solaris Works in Firefox 2+ Start browser, run tests Run test
[object Object],Platforms supported by Selenium.. © Copyright 2008, Gateway Group of companies. Language Selenium IDE Selenium RC Selenium Core C# Generate code Library ("driver") support n/a Java Generate code Library ("driver") support n/a Perl Generate code Library ("driver") support n/a PHP Generate code Library ("driver") support n/a Python Generate code Library ("driver") support n/a Ruby Generate code Library ("driver") support n/a
Selenium Core © Copyright 2008, Gateway Group of companies. ,[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],Selenium Core.. © Copyright 2008, Gateway Group of companies.
Platform and Browser Compatibility: Windows:   Internet Explorer 6.0 and 7.0  Firefox 0.8 to 2.0  Mozilla Suite 1.6+, 1.7+  Seamonkey 1.0  Opera 8 & 9 Mac OS X: Safari 2.0.4+  Firefox 0.8 to 2.0  Camino 1.0a1  Mozilla Suite 1.6+, 1.7+  Seamonkey 1.0  Not yet supported: OmniWeb  Selenium Core.. © Copyright 2008, Gateway Group of companies.
Linux:   Firefox 0.8 to 2.0  Mozilla Suite 1.6+, 1.7+  Konqueror  Opera 8 & 9 Selenium Core.. © Copyright 2008, Gateway Group of companies.
[object Object],[object Object],[object Object],Installing Selenium Core © Copyright 2008, Gateway Group of companies.
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],How does Selenium Core Work © Copyright 2008, Gateway Group of companies.
Running Selenium's Test Suite © Copyright 2008, Gateway Group of companies.
Test Suite Application being  tested Test Cases Steps of the test case Execution Control
Run All Tests Run Selected Test Pause/Play Execution Step through Execution Control Speed of  Execution Highlight Elements in  the Execution View the DOM of the current Page being tested Summary of the Test View the log of the  current execution
[object Object],[object Object],[object Object],[object Object],Limitation of  Selenium Core © Copyright 2008, Gateway Group of companies.
[object Object],[object Object],Selenium IDE © Copyright 2008, Gateway Group of companies.
The root of web application you want to test The list of actions in the actual test case to execute The log of the events that were executed, including any errors or warning that have occurred
Execution Commands Try the test in the Web based TestRunner Reference of the currently selected command  Record test actions Specify commands, including asserts
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Selenium IDE.. © Copyright 2008, Gateway Group of companies.
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Selenium IDE.. © Copyright 2008, Gateway Group of companies.
Creating a Test Suite ,[object Object],<html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot; lang=&quot;en&quot;> <head>  <meta content=&quot;text/html; charset=UTF-8&quot; http-equiv=&quot;content-type&quot; /> <title>Test Suite</title></head> <body>  <table id=&quot;suiteTable&quot; cellpadding=&quot;1&quot; cellspacing=&quot;1&quot; border=&quot;1&quot; class=&quot;selenium&quot;><tbody> <tr><td><b>Test Suite</b></td></tr> <tr><td><a href=&quot;hotel.html&quot;>hotel</a></td></tr> <tr><td> <a href=&quot;Restaurant.html&quot;>Restaurant</a></td> </tr><tr><td> <a href=&quot;Meeting.html&quot;>Meeting</a></td></tr> <tr><td> <a href=&quot;Vacancies.html&quot;>Vacancies</a></td></tr> </tbody></table> </body> </html>
[object Object],[object Object],Selenium-Remote Control © Copyright 2008, Gateway Group of companies.
[object Object],[object Object],[object Object],[object Object],Selenium-Remote Control.. © Copyright 2008, Gateway Group of companies.
Selenium-Remote Control © Copyright 2008, Gateway Group of companies.
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Selenium-Remote Control.. © Copyright 2008, Gateway Group of companies.
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Selenium-Remote Control.. © Copyright 2008, Gateway Group of companies.
Selenium-Remote Control.. © Copyright 2008, Gateway Group of companies.
(+) Java (JUnit)‏ import com.thoughtworks.selenium.*; import junit.framework.*; public class ChagallTest extends TestCase {  private Selenium browser; public void setUp() {  browser = new DefaultSelenium(&quot;localhost&quot;, 4444, &quot;*firefox&quot;, &quot;http://10.0.1.106/chagallhotel/&quot;); browser.start();  } public void testGoogle() {  browser.open(&quot;http://10.0.1.106/chagallhotel/admin&quot;); browser.type(&quot;q&quot;, &quot;ld&quot;); browser.click(&quot;btnG&quot;);  browser.waitForPageToLoad(&quot;5000&quot;); assertEquals(&quot; &quot;, browser.getTitle()); } public void tearDown() {  browser.stop(); } } Programming a Selenium RC Test © Copyright 2008, Gateway Group of companies.
(+) C# (NUnit)‏ using Selenium; using Nunit.Framework; namespace MyTests { [TestFixture] public class ChagallTest {  private ISelenium browser  public void SetUp() { browser = new DefaultSelenium(&quot;localhost&quot;, 4444,&quot;*firefox&quot;,&quot;http://http://10.0.1.106/chagallhotel/&quot;); browser.Start(); } public void testChagall() { browser.Open(&quot;http://10.0.1.106/chagallhotel/&quot;); browser.Type(&quot;q&quot;, &quot;ld&quot;);  browser.Click(&quot;btnG&quot;); browser.WaitForPageToLoad(&quot;5000&quot;); Assert.AreEqual(&quot; &quot;, browser.GetTitle()); }  public void TearDown() {  browser.Stop();  } } } Programming a Selenium RC Test © Copyright 2008, Gateway Group of companies.
(+) PHP (PHPUnit)‏ require_once 'Testing/Selenium.php'; require_once 'PHPUnit/Framework/TestCase.php'; class ChagallTest extends PHPUnit_Framework_TestCase { private $browser;  public function setUp() { $this->browser = new Testing_Selenium(&quot;*firefox&quot;, &quot;http://http://10.0.1.106/chagallhotel/&quot;); $this->browser->start();  } public function tearDown() {$this->browser->stop();} public function testChagall()‏ { $this->browser->open(&quot;/webhp?hl=en&quot;); $this->browser->type(&quot;q&quot;, &quot;ld&quot;); $this->browser->click(&quot;btnG&quot;); $this->browser->waitForPageToLoad(10000); $this->assertRegExp(&quot; &quot;, $this->browser->getTitle()); }  } Programming a Selenium RC Test © Copyright 2008, Gateway Group of companies.
[object Object],© Copyright 2008, Gateway Group of companies.
[object Object],© Copyright 2008, Gateway Group of companies.
Anand Tiwari Thanks to... © Copyright 2008, Gateway Group of companies.
Fulfilling  Customer Needs ,[object Object],[object Object]
Cost Analysis ,[object Object],[object Object]
Strengths and Advantages ,[object Object]
Next Steps of Action ,[object Object]

More Related Content

What's hot

Automated UI testing. Selenium. DrupalCamp Kyiv 2011
Automated UI testing. Selenium. DrupalCamp Kyiv 2011Automated UI testing. Selenium. DrupalCamp Kyiv 2011
Automated UI testing. Selenium. DrupalCamp Kyiv 2011Yuriy Gerasimov
 
Selenium WebDriver - Test automation for web applications
Selenium WebDriver - Test automation for web applicationsSelenium WebDriver - Test automation for web applications
Selenium WebDriver - Test automation for web applicationsTSundberg
 
Web Test Automation with Selenium
Web Test Automation with SeleniumWeb Test Automation with Selenium
Web Test Automation with Seleniumvivek_prahlad
 
Selenium Ide Tutorial
Selenium Ide TutorialSelenium Ide Tutorial
Selenium Ide Tutorialmetapix
 
Selenium webdriver course content rakesh hansalia
Selenium webdriver course content rakesh hansaliaSelenium webdriver course content rakesh hansalia
Selenium webdriver course content rakesh hansaliaRakesh Hansalia
 
Automated Web Testing With Selenium
Automated Web Testing With SeleniumAutomated Web Testing With Selenium
Automated Web Testing With SeleniumDeepak Mittal
 
Automated UI testing with Selenium
Automated UI testing with SeleniumAutomated UI testing with Selenium
Automated UI testing with SeleniumYuriy Gerasimov
 
Selenium interview questions
Selenium interview questionsSelenium interview questions
Selenium interview questionsgirichinna27
 
Automatic Functional Testing with Selenium and SauceLabs
Automatic Functional Testing with Selenium and SauceLabsAutomatic Functional Testing with Selenium and SauceLabs
Automatic Functional Testing with Selenium and SauceLabsJoseph Chiang
 
Automated Web Testing Using Selenium
Automated Web Testing Using SeleniumAutomated Web Testing Using Selenium
Automated Web Testing Using SeleniumWeifeng Zhang
 
Selenium Interview Questions and Answers For Freshers And Experienced | Edureka
Selenium Interview Questions and Answers For Freshers And Experienced | EdurekaSelenium Interview Questions and Answers For Freshers And Experienced | Edureka
Selenium Interview Questions and Answers For Freshers And Experienced | EdurekaEdureka!
 
Selenium IDE and Beyond
Selenium IDE and BeyondSelenium IDE and Beyond
Selenium IDE and BeyondSamit Badle
 

What's hot (20)

Automated UI testing. Selenium. DrupalCamp Kyiv 2011
Automated UI testing. Selenium. DrupalCamp Kyiv 2011Automated UI testing. Selenium. DrupalCamp Kyiv 2011
Automated UI testing. Selenium. DrupalCamp Kyiv 2011
 
Integration Testing in Python
Integration Testing in PythonIntegration Testing in Python
Integration Testing in Python
 
Selenium
SeleniumSelenium
Selenium
 
Selenium
SeleniumSelenium
Selenium
 
Selenium (1)
Selenium (1)Selenium (1)
Selenium (1)
 
Selenium WebDriver - Test automation for web applications
Selenium WebDriver - Test automation for web applicationsSelenium WebDriver - Test automation for web applications
Selenium WebDriver - Test automation for web applications
 
Web Test Automation with Selenium
Web Test Automation with SeleniumWeb Test Automation with Selenium
Web Test Automation with Selenium
 
Selenium Ide Tutorial
Selenium Ide TutorialSelenium Ide Tutorial
Selenium Ide Tutorial
 
Selenium webdriver course content rakesh hansalia
Selenium webdriver course content rakesh hansaliaSelenium webdriver course content rakesh hansalia
Selenium webdriver course content rakesh hansalia
 
Automated Web Testing With Selenium
Automated Web Testing With SeleniumAutomated Web Testing With Selenium
Automated Web Testing With Selenium
 
Automated UI testing with Selenium
Automated UI testing with SeleniumAutomated UI testing with Selenium
Automated UI testing with Selenium
 
Selenium
SeleniumSelenium
Selenium
 
Selenium
SeleniumSelenium
Selenium
 
Selenium interview questions
Selenium interview questionsSelenium interview questions
Selenium interview questions
 
Introduction to Selenium Web Driver
Introduction to Selenium Web DriverIntroduction to Selenium Web Driver
Introduction to Selenium Web Driver
 
Automatic Functional Testing with Selenium and SauceLabs
Automatic Functional Testing with Selenium and SauceLabsAutomatic Functional Testing with Selenium and SauceLabs
Automatic Functional Testing with Selenium and SauceLabs
 
Automated Web Testing Using Selenium
Automated Web Testing Using SeleniumAutomated Web Testing Using Selenium
Automated Web Testing Using Selenium
 
Selenium topic 1- Selenium Basic
Selenium topic 1-  Selenium BasicSelenium topic 1-  Selenium Basic
Selenium topic 1- Selenium Basic
 
Selenium Interview Questions and Answers For Freshers And Experienced | Edureka
Selenium Interview Questions and Answers For Freshers And Experienced | EdurekaSelenium Interview Questions and Answers For Freshers And Experienced | Edureka
Selenium Interview Questions and Answers For Freshers And Experienced | Edureka
 
Selenium IDE and Beyond
Selenium IDE and BeyondSelenium IDE and Beyond
Selenium IDE and Beyond
 

Similar to Selenium

test-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptxtest-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptxSyedZaeem9
 
Selenium test automation
Selenium test automationSelenium test automation
Selenium test automationSrikanth Vuriti
 
International journal of applied sciences and innovation vol 2015 - no 1 - ...
International journal of applied sciences and innovation   vol 2015 - no 1 - ...International journal of applied sciences and innovation   vol 2015 - no 1 - ...
International journal of applied sciences and innovation vol 2015 - no 1 - ...sophiabelthome
 
Steps to write Selenium
Steps to write Selenium  Steps to write Selenium
Steps to write Selenium Rohit Thakur
 
What is Selenium Introduction to Selenium Testing.pptx
What is Selenium Introduction to Selenium Testing.pptxWhat is Selenium Introduction to Selenium Testing.pptx
What is Selenium Introduction to Selenium Testing.pptxSyntax Technologies
 
Module-1_Getting-Started_with_selenium_and_Java_basics.pdf
Module-1_Getting-Started_with_selenium_and_Java_basics.pdfModule-1_Getting-Started_with_selenium_and_Java_basics.pdf
Module-1_Getting-Started_with_selenium_and_Java_basics.pdfdevika266518
 
Selenium by using JAVA
Selenium by using JAVASelenium by using JAVA
Selenium by using JAVAmahirayavarapu
 
Selenium Testing with TestingBot.com
Selenium Testing with TestingBot.comSelenium Testing with TestingBot.com
Selenium Testing with TestingBot.comtestingbot
 
Learn Selenium - Online Guide
Learn Selenium - Online GuideLearn Selenium - Online Guide
Learn Selenium - Online Guidebigspire
 
Selenium Basics by Quontra Solutions
Selenium Basics by Quontra SolutionsSelenium Basics by Quontra Solutions
Selenium Basics by Quontra SolutionsQUONTRASOLUTIONS
 
Test Automation and Selenium
Test Automation and SeleniumTest Automation and Selenium
Test Automation and SeleniumKarapet Sarkisyan
 
Automated Web Testing With Selenium
Automated Web Testing With SeleniumAutomated Web Testing With Selenium
Automated Web Testing With SeleniumJodie Miners
 
Test Automation Using Selenium
Test Automation Using SeleniumTest Automation Using Selenium
Test Automation Using SeleniumNikhil Kapoor
 

Similar to Selenium (20)

Selenium Primer
Selenium PrimerSelenium Primer
Selenium Primer
 
BCS Selenium Workshop
BCS Selenium WorkshopBCS Selenium Workshop
BCS Selenium Workshop
 
QSpiders - Automation using Selenium
QSpiders - Automation using SeleniumQSpiders - Automation using Selenium
QSpiders - Automation using Selenium
 
Selenium Primer
Selenium PrimerSelenium Primer
Selenium Primer
 
test-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptxtest-automation-selenium-160216124839.pptx
test-automation-selenium-160216124839.pptx
 
Selenium test automation
Selenium test automationSelenium test automation
Selenium test automation
 
Selenium
SeleniumSelenium
Selenium
 
International journal of applied sciences and innovation vol 2015 - no 1 - ...
International journal of applied sciences and innovation   vol 2015 - no 1 - ...International journal of applied sciences and innovation   vol 2015 - no 1 - ...
International journal of applied sciences and innovation vol 2015 - no 1 - ...
 
Steps to write Selenium
Steps to write Selenium  Steps to write Selenium
Steps to write Selenium
 
What is selenium
What is seleniumWhat is selenium
What is selenium
 
What is Selenium Introduction to Selenium Testing.pptx
What is Selenium Introduction to Selenium Testing.pptxWhat is Selenium Introduction to Selenium Testing.pptx
What is Selenium Introduction to Selenium Testing.pptx
 
Module-1_Getting-Started_with_selenium_and_Java_basics.pdf
Module-1_Getting-Started_with_selenium_and_Java_basics.pdfModule-1_Getting-Started_with_selenium_and_Java_basics.pdf
Module-1_Getting-Started_with_selenium_and_Java_basics.pdf
 
Selenium by using JAVA
Selenium by using JAVASelenium by using JAVA
Selenium by using JAVA
 
Selenium Testing with TestingBot.com
Selenium Testing with TestingBot.comSelenium Testing with TestingBot.com
Selenium Testing with TestingBot.com
 
Learn Selenium - Online Guide
Learn Selenium - Online GuideLearn Selenium - Online Guide
Learn Selenium - Online Guide
 
Selenium Basics by Quontra Solutions
Selenium Basics by Quontra SolutionsSelenium Basics by Quontra Solutions
Selenium Basics by Quontra Solutions
 
Test Automation and Selenium
Test Automation and SeleniumTest Automation and Selenium
Test Automation and Selenium
 
Automated Web Testing With Selenium
Automated Web Testing With SeleniumAutomated Web Testing With Selenium
Automated Web Testing With Selenium
 
Test Automation Using Selenium
Test Automation Using SeleniumTest Automation Using Selenium
Test Automation Using Selenium
 
Selenium
SeleniumSelenium
Selenium
 

Recently uploaded

My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsPrecisely
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power Systems
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 

Selenium

  • 1. Presentation @ selemium tool Jagdish Patel Sr. QA Engineer
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11. How Selenium Works © Copyright 2008, Gateway Group of companies.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17. Platform and Browser Compatibility: Windows: Internet Explorer 6.0 and 7.0 Firefox 0.8 to 2.0 Mozilla Suite 1.6+, 1.7+ Seamonkey 1.0 Opera 8 & 9 Mac OS X: Safari 2.0.4+ Firefox 0.8 to 2.0 Camino 1.0a1 Mozilla Suite 1.6+, 1.7+ Seamonkey 1.0 Not yet supported: OmniWeb Selenium Core.. © Copyright 2008, Gateway Group of companies.
  • 18. Linux: Firefox 0.8 to 2.0 Mozilla Suite 1.6+, 1.7+ Konqueror Opera 8 & 9 Selenium Core.. © Copyright 2008, Gateway Group of companies.
  • 19.
  • 20.
  • 21. Running Selenium's Test Suite © Copyright 2008, Gateway Group of companies.
  • 22. Test Suite Application being tested Test Cases Steps of the test case Execution Control
  • 23. Run All Tests Run Selected Test Pause/Play Execution Step through Execution Control Speed of Execution Highlight Elements in the Execution View the DOM of the current Page being tested Summary of the Test View the log of the current execution
  • 24.
  • 25.
  • 26. The root of web application you want to test The list of actions in the actual test case to execute The log of the events that were executed, including any errors or warning that have occurred
  • 27. Execution Commands Try the test in the Web based TestRunner Reference of the currently selected command Record test actions Specify commands, including asserts
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33. Selenium-Remote Control © Copyright 2008, Gateway Group of companies.
  • 34.
  • 35.
  • 36. Selenium-Remote Control.. © Copyright 2008, Gateway Group of companies.
  • 37. (+) Java (JUnit)‏ import com.thoughtworks.selenium.*; import junit.framework.*; public class ChagallTest extends TestCase { private Selenium browser; public void setUp() { browser = new DefaultSelenium(&quot;localhost&quot;, 4444, &quot;*firefox&quot;, &quot;http://10.0.1.106/chagallhotel/&quot;); browser.start(); } public void testGoogle() { browser.open(&quot;http://10.0.1.106/chagallhotel/admin&quot;); browser.type(&quot;q&quot;, &quot;ld&quot;); browser.click(&quot;btnG&quot;); browser.waitForPageToLoad(&quot;5000&quot;); assertEquals(&quot; &quot;, browser.getTitle()); } public void tearDown() { browser.stop(); } } Programming a Selenium RC Test © Copyright 2008, Gateway Group of companies.
  • 38. (+) C# (NUnit)‏ using Selenium; using Nunit.Framework; namespace MyTests { [TestFixture] public class ChagallTest { private ISelenium browser public void SetUp() { browser = new DefaultSelenium(&quot;localhost&quot;, 4444,&quot;*firefox&quot;,&quot;http://http://10.0.1.106/chagallhotel/&quot;); browser.Start(); } public void testChagall() { browser.Open(&quot;http://10.0.1.106/chagallhotel/&quot;); browser.Type(&quot;q&quot;, &quot;ld&quot;); browser.Click(&quot;btnG&quot;); browser.WaitForPageToLoad(&quot;5000&quot;); Assert.AreEqual(&quot; &quot;, browser.GetTitle()); } public void TearDown() { browser.Stop(); } } } Programming a Selenium RC Test © Copyright 2008, Gateway Group of companies.
  • 39. (+) PHP (PHPUnit)‏ require_once 'Testing/Selenium.php'; require_once 'PHPUnit/Framework/TestCase.php'; class ChagallTest extends PHPUnit_Framework_TestCase { private $browser; public function setUp() { $this->browser = new Testing_Selenium(&quot;*firefox&quot;, &quot;http://http://10.0.1.106/chagallhotel/&quot;); $this->browser->start(); } public function tearDown() {$this->browser->stop();} public function testChagall()‏ { $this->browser->open(&quot;/webhp?hl=en&quot;); $this->browser->type(&quot;q&quot;, &quot;ld&quot;); $this->browser->click(&quot;btnG&quot;); $this->browser->waitForPageToLoad(10000); $this->assertRegExp(&quot; &quot;, $this->browser->getTitle()); } } Programming a Selenium RC Test © Copyright 2008, Gateway Group of companies.
  • 40.
  • 41.
  • 42. Anand Tiwari Thanks to... © Copyright 2008, Gateway Group of companies.
  • 43.
  • 44.
  • 45.
  • 46.