SlideShare une entreprise Scribd logo
Synchronizing Your Test
• When you run tests, your application may not
always respond with the same speed. For example,
it might take a few seconds:
– for a progress bar to reach 100%
– for a status message to appear
– for a button to become enabled
– for a window or pop-up message to open
• You can handle these anticipated timing problems
by synchronizing your test to ensure that
QuickTest waits until your application is ready
before performing a certain step.
Synchronizing Your Test
Tests can be synchronized either of the ways:
 Synchronization point
 Exist or Wait statements
 Increase the default timeout settings
A synchronization point is a line in the
test script that instructs QTP to wait for
a certain response from the application
during playback.
What Is a Synchronization Point?
Sends data to
database server
Waits
Why Synchronize?
Inputs data
to AUT
Accepts
input
Run script
Sends data to
database server
Attempts
next step
Without synchronization point
Continues
Client affirms
transaction is
complete
Inputs data
to AUT
Accepts
input
Run script
With synchronization point
Waits
Server
processes data
Server returns
results
Waits
Synchronization
point
Waits for
server;
cannot
continue
Script
fails
Synchronization point, which instructs QuickTest
to pause the test until an object property achieves
the value you specify.
When you insert a synchronization point into
your test, QuickTest WaitProperty step is displayed
in the Tree View with the icon for the selected
object. And also it generates the WaitProperty
statement in the Expert View.
Insert > Step > Synchronization Point
QSpiders - Chapter- 3 Synchronization point

Contenu connexe

Tendances

Express lane video 8 results
Express lane video 8   resultsExpress lane video 8   results
Express lane video 8 results
Chuck Milliken
 
Ats 20120224 v2
Ats 20120224 v2Ats 20120224 v2
Ats 20120224 v2
Milo Wang
 

Tendances (13)

Any Test presentation
Any Test presentationAny Test presentation
Any Test presentation
 
Express lane video 8 results
Express lane video 8   resultsExpress lane video 8   results
Express lane video 8 results
 
BA World Boston: Evening the Odds with Monte Carlo Project Forecasting
BA World Boston: Evening the Odds with Monte Carlo Project ForecastingBA World Boston: Evening the Odds with Monte Carlo Project Forecasting
BA World Boston: Evening the Odds with Monte Carlo Project Forecasting
 
Project Health.doc
Project Health.docProject Health.doc
Project Health.doc
 
Using Processes and Timers for Long-Running Asynchronous Tasks
Using Processes and Timers for Long-Running Asynchronous TasksUsing Processes and Timers for Long-Running Asynchronous Tasks
Using Processes and Timers for Long-Running Asynchronous Tasks
 
Ats 20120224 v2
Ats 20120224 v2Ats 20120224 v2
Ats 20120224 v2
 
An Introduction To Python - Problem Solving: Flowcharts & Test Cases, Boolean...
An Introduction To Python - Problem Solving: Flowcharts & Test Cases, Boolean...An Introduction To Python - Problem Solving: Flowcharts & Test Cases, Boolean...
An Introduction To Python - Problem Solving: Flowcharts & Test Cases, Boolean...
 
Static analysis by tools
Static analysis by toolsStatic analysis by tools
Static analysis by tools
 
Real Time Data and FME
Real Time Data and FMEReal Time Data and FME
Real Time Data and FME
 
Training from High End Compute
Training from High End ComputeTraining from High End Compute
Training from High End Compute
 
EAIESB Java CAPS Migration Program
EAIESB Java CAPS Migration ProgramEAIESB Java CAPS Migration Program
EAIESB Java CAPS Migration Program
 
Introduction to Repetition Structures
Introduction to Repetition StructuresIntroduction to Repetition Structures
Introduction to Repetition Structures
 
The right way to manage your load testing project
The right way to manage your load testing projectThe right way to manage your load testing project
The right way to manage your load testing project
 

En vedette

Get started with dropbox
Get started with dropboxGet started with dropbox
Get started with dropbox
noknaiyana
 
What's New in SQL Server 2016 for BI
What's New in SQL Server 2016 for BIWhat's New in SQL Server 2016 for BI
What's New in SQL Server 2016 for BI
Teo Lachev
 

En vedette (16)

Foro en aula virtual
Foro en aula virtualForo en aula virtual
Foro en aula virtual
 
NEM Supernode 構築・運用支援 プラン
NEM Supernode 構築・運用支援 プランNEM Supernode 構築・運用支援 プラン
NEM Supernode 構築・運用支援 プラン
 
Hybrid is the Road to a Fast & Furious OpenStack Public Cloud Future
Hybrid is the Road to a Fast & Furious OpenStack Public Cloud FutureHybrid is the Road to a Fast & Furious OpenStack Public Cloud Future
Hybrid is the Road to a Fast & Furious OpenStack Public Cloud Future
 
QSpiders - Presentation JMeter
QSpiders - Presentation JMeterQSpiders - Presentation JMeter
QSpiders - Presentation JMeter
 
Process Signal Isolated Transmitters, 4-20 ma
Process Signal Isolated Transmitters, 4-20 maProcess Signal Isolated Transmitters, 4-20 ma
Process Signal Isolated Transmitters, 4-20 ma
 
Get started with dropbox
Get started with dropboxGet started with dropbox
Get started with dropbox
 
QSpiders - Jdk Jvm Jre and Jit
QSpiders - Jdk Jvm Jre and JitQSpiders - Jdk Jvm Jre and Jit
QSpiders - Jdk Jvm Jre and Jit
 
インスタグラムの写真をオウンドメディア活用(Instagram website)
インスタグラムの写真をオウンドメディア活用(Instagram website)インスタグラムの写真をオウンドメディア活用(Instagram website)
インスタグラムの写真をオウンドメディア活用(Instagram website)
 
QSpiders - SQL (Data Base)
QSpiders - SQL (Data Base)QSpiders - SQL (Data Base)
QSpiders - SQL (Data Base)
 
RESTFul development with Apache sling
RESTFul development with Apache slingRESTFul development with Apache sling
RESTFul development with Apache sling
 
QSpiders - Aptitude Assignments
QSpiders - Aptitude AssignmentsQSpiders - Aptitude Assignments
QSpiders - Aptitude Assignments
 
Security vulnerability
Security vulnerabilitySecurity vulnerability
Security vulnerability
 
marketing 2
marketing 2marketing 2
marketing 2
 
Google ディスプレイネットワークにおける自動入札機能と寄り添うための勉強会
Google ディスプレイネットワークにおける自動入札機能と寄り添うための勉強会Google ディスプレイネットワークにおける自動入札機能と寄り添うための勉強会
Google ディスプレイネットワークにおける自動入札機能と寄り添うための勉強会
 
What's New in SQL Server 2016 for BI
What's New in SQL Server 2016 for BIWhat's New in SQL Server 2016 for BI
What's New in SQL Server 2016 for BI
 
Van UX naar Sales - UX Cocktail hour Rotterdam #17
Van UX naar Sales - UX Cocktail hour Rotterdam #17Van UX naar Sales - UX Cocktail hour Rotterdam #17
Van UX naar Sales - UX Cocktail hour Rotterdam #17
 

Similaire à QSpiders - Chapter- 3 Synchronization point

Alm qc 11_training
Alm qc 11_trainingAlm qc 11_training
Alm qc 11_training
jayant25
 
Mt s12 test_execution
Mt s12 test_executionMt s12 test_execution
Mt s12 test_execution
TestingGeeks
 

Similaire à QSpiders - Chapter- 3 Synchronization point (20)

Performance Testing using LoadRunner
Performance Testing using LoadRunnerPerformance Testing using LoadRunner
Performance Testing using LoadRunner
 
TAG Presents: NetSuite SuiteFlow 101
TAG Presents: NetSuite SuiteFlow 101 TAG Presents: NetSuite SuiteFlow 101
TAG Presents: NetSuite SuiteFlow 101
 
JMeter
JMeterJMeter
JMeter
 
QSpiders - Introduction to HP Load Runner
QSpiders - Introduction to HP Load RunnerQSpiders - Introduction to HP Load Runner
QSpiders - Introduction to HP Load Runner
 
Quick Test Professional (QTP/UFT)
Quick Test Professional (QTP/UFT)Quick Test Professional (QTP/UFT)
Quick Test Professional (QTP/UFT)
 
[DevDay2019] Power of Test Automation and DevOps combination - One click savi...
[DevDay2019] Power of Test Automation and DevOps combination - One click savi...[DevDay2019] Power of Test Automation and DevOps combination - One click savi...
[DevDay2019] Power of Test Automation and DevOps combination - One click savi...
 
Alm qc 11_training
Alm qc 11_trainingAlm qc 11_training
Alm qc 11_training
 
SAP TAO 2.0
SAP TAO 2.0SAP TAO 2.0
SAP TAO 2.0
 
Webapp Automation Testing of performance marketing and media platform
Webapp Automation Testing of performance marketing and media platformWebapp Automation Testing of performance marketing and media platform
Webapp Automation Testing of performance marketing and media platform
 
Mt s12 test_execution
Mt s12 test_executionMt s12 test_execution
Mt s12 test_execution
 
The Importance of Performance Testing Theory and Practice - QueBIT Consulting...
The Importance of Performance Testing Theory and Practice - QueBIT Consulting...The Importance of Performance Testing Theory and Practice - QueBIT Consulting...
The Importance of Performance Testing Theory and Practice - QueBIT Consulting...
 
Getting Started with Server-Side Testing
Getting Started with Server-Side TestingGetting Started with Server-Side Testing
Getting Started with Server-Side Testing
 
Oracle OSB Tutorial 2
Oracle OSB Tutorial 2Oracle OSB Tutorial 2
Oracle OSB Tutorial 2
 
[Webinar] Getting started with server-side testing - presented by WiderFunnel...
[Webinar] Getting started with server-side testing - presented by WiderFunnel...[Webinar] Getting started with server-side testing - presented by WiderFunnel...
[Webinar] Getting started with server-side testing - presented by WiderFunnel...
 
Test Automation for QTP
Test Automation for QTPTest Automation for QTP
Test Automation for QTP
 
Test Automation
Test AutomationTest Automation
Test Automation
 
Load testing with Visual Studio and Azure - Andrew Siemer
Load testing with Visual Studio and Azure - Andrew SiemerLoad testing with Visual Studio and Azure - Andrew Siemer
Load testing with Visual Studio and Azure - Andrew Siemer
 
Understanding System Performance
Understanding System PerformanceUnderstanding System Performance
Understanding System Performance
 
PAC 2019 virtual Stijn Schepers
PAC 2019 virtual Stijn SchepersPAC 2019 virtual Stijn Schepers
PAC 2019 virtual Stijn Schepers
 
SAP Test automation - fully automatic test of complex business processes incl...
SAP Test automation - fully automatic test of complex business processes incl...SAP Test automation - fully automatic test of complex business processes incl...
SAP Test automation - fully automatic test of complex business processes incl...
 

Plus de Qspiders - Software Testing Training Institute

Plus de Qspiders - Software Testing Training Institute (20)

QSpiders - Unix Operating Systems and Commands
QSpiders - Unix Operating Systems  and CommandsQSpiders - Unix Operating Systems  and Commands
QSpiders - Unix Operating Systems and Commands
 
QSpiders - Variable Length-Subnet-Masks
QSpiders - Variable Length-Subnet-MasksQSpiders - Variable Length-Subnet-Masks
QSpiders - Variable Length-Subnet-Masks
 
QSpiders - Upper layer-protocols
QSpiders - Upper layer-protocolsQSpiders - Upper layer-protocols
QSpiders - Upper layer-protocols
 
QSpiders - Dod Model
QSpiders - Dod ModelQSpiders - Dod Model
QSpiders - Dod Model
 
QSpiders - Day1 Network Basics
QSpiders - Day1 Network BasicsQSpiders - Day1 Network Basics
QSpiders - Day1 Network Basics
 
QSpiders - Chapter 7 Debugging
QSpiders - Chapter 7 DebuggingQSpiders - Chapter 7 Debugging
QSpiders - Chapter 7 Debugging
 
QSpiders - Chapter 4 Checkpoints
QSpiders - Chapter 4 CheckpointsQSpiders - Chapter 4 Checkpoints
QSpiders - Chapter 4 Checkpoints
 
QSpiders - Simple Recording and Configuration of recording options for HP Loa...
QSpiders - Simple Recording and Configuration of recording options for HP Loa...QSpiders - Simple Recording and Configuration of recording options for HP Loa...
QSpiders - Simple Recording and Configuration of recording options for HP Loa...
 
QSpiders - Wonderlic Sample Question
QSpiders - Wonderlic Sample QuestionQSpiders - Wonderlic Sample Question
QSpiders - Wonderlic Sample Question
 
QSpiders - Memory (JVM architecture)
QSpiders - Memory (JVM architecture)QSpiders - Memory (JVM architecture)
QSpiders - Memory (JVM architecture)
 
QSpiders - Simple replay and run time settings Loadrunner
QSpiders - Simple replay and run time settings LoadrunnerQSpiders - Simple replay and run time settings Loadrunner
QSpiders - Simple replay and run time settings Loadrunner
 
QSpiders - Major difference
QSpiders - Major differenceQSpiders - Major difference
QSpiders - Major difference
 
QSpiders - Interacting with My SQL Database
QSpiders - Interacting with My SQL DatabaseQSpiders - Interacting with My SQL Database
QSpiders - Interacting with My SQL Database
 
QSpiders - Automation using Selenium
QSpiders - Automation using SeleniumQSpiders - Automation using Selenium
QSpiders - Automation using Selenium
 
QSpiders - Server Architecture
QSpiders - Server ArchitectureQSpiders - Server Architecture
QSpiders - Server Architecture
 
QSpiders - Installation and Brief Dose of Load Runner
QSpiders - Installation and Brief Dose of Load RunnerQSpiders - Installation and Brief Dose of Load Runner
QSpiders - Installation and Brief Dose of Load Runner
 
QSpiders - Good to Know Network Concepts
QSpiders - Good to Know Network ConceptsQSpiders - Good to Know Network Concepts
QSpiders - Good to Know Network Concepts
 
QSpiders - Cloud computing(cloud server)
QSpiders - Cloud computing(cloud server)QSpiders - Cloud computing(cloud server)
QSpiders - Cloud computing(cloud server)
 
QSpiders - Basic intel architecture
QSpiders - Basic intel architectureQSpiders - Basic intel architecture
QSpiders - Basic intel architecture
 
QSpiders - Introduction to JMeter
QSpiders - Introduction to JMeterQSpiders - Introduction to JMeter
QSpiders - Introduction to JMeter
 

Dernier

The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptx
heathfieldcps1
 
Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training Report
Avinash Rai
 
Neurulation and the formation of the neural tube
Neurulation and the formation of the neural tubeNeurulation and the formation of the neural tube
Neurulation and the formation of the neural tube
SaadHumayun7
 
ppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyesppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyes
ashishpaul799
 

Dernier (20)

The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptx
 
Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).
 
Advances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdfAdvances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdf
 
Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training Report
 
Salient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxSalient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptx
 
“O BEIJO” EM ARTE .
“O BEIJO” EM ARTE                       .“O BEIJO” EM ARTE                       .
“O BEIJO” EM ARTE .
 
Championnat de France de Tennis de table/
Championnat de France de Tennis de table/Championnat de France de Tennis de table/
Championnat de France de Tennis de table/
 
How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
The impact of social media on mental health and well-being has been a topic o...
The impact of social media on mental health and well-being has been a topic o...The impact of social media on mental health and well-being has been a topic o...
The impact of social media on mental health and well-being has been a topic o...
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx
 
How to Manage Notification Preferences in the Odoo 17
How to Manage Notification Preferences in the Odoo 17How to Manage Notification Preferences in the Odoo 17
How to Manage Notification Preferences in the Odoo 17
 
NCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdfNCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdf
 
An Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptxAn Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptx
 
Neurulation and the formation of the neural tube
Neurulation and the formation of the neural tubeNeurulation and the formation of the neural tube
Neurulation and the formation of the neural tube
 
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & EngineeringBasic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
 
ppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyesppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyes
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
 
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
 
size separation d pharm 1st year pharmaceutics
size separation d pharm 1st year pharmaceuticssize separation d pharm 1st year pharmaceutics
size separation d pharm 1st year pharmaceutics
 

QSpiders - Chapter- 3 Synchronization point

  • 2. • When you run tests, your application may not always respond with the same speed. For example, it might take a few seconds: – for a progress bar to reach 100% – for a status message to appear – for a button to become enabled – for a window or pop-up message to open • You can handle these anticipated timing problems by synchronizing your test to ensure that QuickTest waits until your application is ready before performing a certain step. Synchronizing Your Test
  • 3. Tests can be synchronized either of the ways:  Synchronization point  Exist or Wait statements  Increase the default timeout settings
  • 4. A synchronization point is a line in the test script that instructs QTP to wait for a certain response from the application during playback. What Is a Synchronization Point?
  • 5. Sends data to database server Waits Why Synchronize? Inputs data to AUT Accepts input Run script Sends data to database server Attempts next step Without synchronization point Continues Client affirms transaction is complete Inputs data to AUT Accepts input Run script With synchronization point Waits Server processes data Server returns results Waits Synchronization point Waits for server; cannot continue Script fails
  • 6. Synchronization point, which instructs QuickTest to pause the test until an object property achieves the value you specify. When you insert a synchronization point into your test, QuickTest WaitProperty step is displayed in the Tree View with the icon for the selected object. And also it generates the WaitProperty statement in the Expert View. Insert > Step > Synchronization Point