SlideShare ist ein Scribd-Unternehmen logo
1 von 7
Downloaden Sie, um offline zu lesen
Automated software testing with SikuliX
How to install SikuliX?
 Install JAVA JRE 7 or 8.
 Go to SikuliX's Launchpad page: https://launchpad.net/sikuli/+download
 Download latest setup file version - sikulixsetup-1.1.0.jar
 Click on Keep button while downloading the jar file.
 Create a folder in ‘C’ or any other drive. Copy the downloaded jar file and save into the
folder like below:
 Now double click on sikulixsetup. jar file. Then a popup window will be appeared. Select
option 1 and click on ‘Setup Now’ button
 Click on ‘Yes’ button in setup wizards
 Now installation folder is shown as this:
 To open SikuliX IDE click on sikulix.jar file:
Here is an example which describes a simple automation process of calculator application
using SikuliX.
Step 1:
Click on ‘click’ command in left side command list
Step 2:
SikuliX IDE will be disappeared and the text ‘Select an image’ will be shown in desktop
Step 3:
Now drag calculator icon in taskbar
SikuliX command will be displayed in SikuliX editor
Step 4:
Click on 6 button of calculator
Step 5:
Click on plus (+) button like below
Step 6:
Click on 8 button
Step 7:
Now click on equal (=) button
Step 8:
Now verify the result using exists () command
Total command will be shown like below:
Step 9:
Run the script by 'Run’ or ‘Run in slow’ motion command
Command list in left side panel of SikuliX IDE: SikuliX commands are shown in left side
panel. These are:
 Settings : Checking auto capture option enabled or not.
 Find: Looks for the matched GUI component on the screen or in the region.
 FindAll : Looks for All matched GUI component on the screen or in the region
 Wait : Waits the given GUI components to appear on the screen on in the Region for up
to timeout seconds
 WaitVanish : Waits the given GUI component to disappear on the screen
 Exists: Checks if the given GUI components exists on the screen.
 Click: Click on matched component on the screen or in the region.
 DoubleClick: Double click on the matched component on the screen.
 RightClick: Right click on the matched component.
 Hover: Moves the mouse cursor on the best matched GUI component.
 DragDrop: Drag the first component and drops at the second component.
 Type: Types the given text to the current focused window.
 Paste: the given text to the current focused window.

Weitere ähnliche Inhalte

Mehr von Nascenia IT

Mehr von Nascenia IT (20)

History & Introduction of Neural Network and use of it in Computer Vision
History & Introduction of Neural Network and use of it in Computer VisionHistory & Introduction of Neural Network and use of it in Computer Vision
History & Introduction of Neural Network and use of it in Computer Vision
 
Ruby on Rails: Coding Guideline
Ruby on Rails: Coding GuidelineRuby on Rails: Coding Guideline
Ruby on Rails: Coding Guideline
 
iphone 11 new features
iphone 11 new featuresiphone 11 new features
iphone 11 new features
 
Software quality assurance and cyber security
Software quality assurance and cyber securitySoftware quality assurance and cyber security
Software quality assurance and cyber security
 
Job Market Scenario For Freshers
Job Market Scenario For Freshers Job Market Scenario For Freshers
Job Market Scenario For Freshers
 
Modern Frontend Technologies (BEM, Retina)
Modern Frontend Technologies (BEM, Retina)Modern Frontend Technologies (BEM, Retina)
Modern Frontend Technologies (BEM, Retina)
 
CSS for Developers
CSS for DevelopersCSS for Developers
CSS for Developers
 
Big commerce app development
Big commerce app developmentBig commerce app development
Big commerce app development
 
Integrating QuickBooks Desktop with Rails Application
Integrating QuickBooks Desktop with Rails ApplicationIntegrating QuickBooks Desktop with Rails Application
Integrating QuickBooks Desktop with Rails Application
 
Shopify
ShopifyShopify
Shopify
 
TypeScript: Basic Features and Compilation Guide
TypeScript: Basic Features and Compilation GuideTypeScript: Basic Features and Compilation Guide
TypeScript: Basic Features and Compilation Guide
 
Clean code
Clean codeClean code
Clean code
 
Ruby conf 2016 - Secrets of Testing Rails 5 Apps
Ruby conf 2016 - Secrets of Testing Rails 5 AppsRuby conf 2016 - Secrets of Testing Rails 5 Apps
Ruby conf 2016 - Secrets of Testing Rails 5 Apps
 
COREXIT: Microsoft’s new cross platform framework
COREXIT: Microsoft’s new cross platform frameworkCOREXIT: Microsoft’s new cross platform framework
COREXIT: Microsoft’s new cross platform framework
 
An overview on the Reddot Ruby Conf 2016, Singapore
An overview on the Reddot Ruby Conf 2016, SingaporeAn overview on the Reddot Ruby Conf 2016, Singapore
An overview on the Reddot Ruby Conf 2016, Singapore
 
Software Quality Assurance: A mind game between you and devil
Software Quality Assurance: A mind game between you and devilSoftware Quality Assurance: A mind game between you and devil
Software Quality Assurance: A mind game between you and devil
 
Test driven development
Test driven developmentTest driven development
Test driven development
 
Nascenia: Road to Software Industry
Nascenia: Road to Software IndustryNascenia: Road to Software Industry
Nascenia: Road to Software Industry
 
Vagrant and Docker
Vagrant and DockerVagrant and Docker
Vagrant and Docker
 
Build JSON and XML using RABL gem
Build JSON and XML using RABL gemBuild JSON and XML using RABL gem
Build JSON and XML using RABL gem
 

Kürzlich hochgeladen

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Kürzlich hochgeladen (20)

Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 

Automated software testing with SikuliX

  • 1. Automated software testing with SikuliX How to install SikuliX?  Install JAVA JRE 7 or 8.  Go to SikuliX's Launchpad page: https://launchpad.net/sikuli/+download  Download latest setup file version - sikulixsetup-1.1.0.jar  Click on Keep button while downloading the jar file.  Create a folder in ‘C’ or any other drive. Copy the downloaded jar file and save into the folder like below:
  • 2.  Now double click on sikulixsetup. jar file. Then a popup window will be appeared. Select option 1 and click on ‘Setup Now’ button  Click on ‘Yes’ button in setup wizards
  • 3.  Now installation folder is shown as this:  To open SikuliX IDE click on sikulix.jar file:
  • 4. Here is an example which describes a simple automation process of calculator application using SikuliX. Step 1: Click on ‘click’ command in left side command list Step 2: SikuliX IDE will be disappeared and the text ‘Select an image’ will be shown in desktop Step 3: Now drag calculator icon in taskbar
  • 5. SikuliX command will be displayed in SikuliX editor Step 4: Click on 6 button of calculator Step 5: Click on plus (+) button like below
  • 6. Step 6: Click on 8 button Step 7: Now click on equal (=) button Step 8: Now verify the result using exists () command Total command will be shown like below:
  • 7. Step 9: Run the script by 'Run’ or ‘Run in slow’ motion command Command list in left side panel of SikuliX IDE: SikuliX commands are shown in left side panel. These are:  Settings : Checking auto capture option enabled or not.  Find: Looks for the matched GUI component on the screen or in the region.  FindAll : Looks for All matched GUI component on the screen or in the region  Wait : Waits the given GUI components to appear on the screen on in the Region for up to timeout seconds  WaitVanish : Waits the given GUI component to disappear on the screen  Exists: Checks if the given GUI components exists on the screen.  Click: Click on matched component on the screen or in the region.  DoubleClick: Double click on the matched component on the screen.  RightClick: Right click on the matched component.  Hover: Moves the mouse cursor on the best matched GUI component.  DragDrop: Drag the first component and drops at the second component.  Type: Types the given text to the current focused window.  Paste: the given text to the current focused window.