SlideShare a Scribd company logo
Experiment-9
Test case execution- (i) Pause test case execution (ii) Resume it later (iii) Stop test case
execution at a required step: Using breakpoint (iv) Start test case execution from a
required step: Using Set Start point
(i) Pause test case execution
Command Target Value
open http://www.google.co.in
type name=btnK selenium
verifyTextNotPresent Downloads
SCREENSHOT:
(ii) Resume it later
Command Target Value
open http://www.yahoo.in
type id=UHSearchBox selenium
verifyTextNotPresent Downloads
SCREENSHOT:
(iii) Stop test case execution at a required step: Using breakpoint
Command Target Value
open http://www.ebay.com
type id=gh-ac electronics
type id=gh-ac computers
(iv) Start test case execution from a required step: Using Set Start point
Command Target Value
open http://www.ebay.com
type id=gh-ac electronics
type id=gh-ac computers
open http://www.ebay.com
type id=gh-ac electronics
type id=gh-ac computers
SCREENSHOT:
Experiment-10
Commands to input data to AUT- type, sendKeys, select, check, uncheck, click, submit,
AndWait
AUT is application under test i.e website or web applications. Following commands are used
to input or insert data to these web components:
(i) Check: To check a checkbox
(ii) Click- To submit and navigate on same page.
(iii) ClickAndWait- To submit and navigate on other page.
(iv) Echo- To print the output
(v) SendKeys- To simulate with the keyboard
Test Case: input.html
Command Target Value
open https://www.slideshare.net/login
uncheck id=remember
check id=remember
submit id=user_login
sendKeys id=user_login 1333sample
OUTPUT:
Experiment-11
Retrieve data from AUT- storeText, storeAttribute, storeElementPresent
The commands used to retrieve and store data are as follows:
(i) storeText- To store a text display or present on an element
(ii) storeAttribute- To store specific attribute value
(iii) storeElementPresent- To store true or false based on element present or not
Test Case: store.html
Command Target Value
open https://www.slideshare.net/login
storeText id=fb-login FBtext
echo ${FBtext}
storeAttribute id=fb-login@class FBclass
echo ${FBclass}
storeElementPresent id=fb-login FBpresent
echo ${FBpresent}
OUTPUT:
Experiment-12
Wait for events in AUT- waitForText, waitForElementPresent, waitForAtrribute
Wait for event commands work for 30s or 30000ms for any operation to be performed by a
given default value in selenium.
(i) waitForText- wait for a text to appear & it is specific to a variable or a locating
strategy.
(ii) waitForElementPresent- wait for certain element present in the webpage.
(iii) waitForAtrribute- wait for an attribute value as we have to wait for a variable to
attain that value.
Test Case: wait.html
Command Target Value
Open https://www.slideshare.net/login
waitForAttribute id=login_from_loginpage@type submit
waitForText All fields are required.
waitForElementPresent id=fb-login
OUTPUT
Experiment-13
Create a test case for various assert commands to examine the direction of test cases
and display the result
 Choosing between assert and verify commands depend on how you want to manage
failures:
o on assert failure- It will fail the test case & abort the current test case
execution
o on verify failure- It will fail the test case & continue the current test case
execution
 Use assert commands to make sure your test case is going in right direction e.g. right
user configuration is loaded or correct page is loaded.
 The best use of this feature is to logically group your test commands.
(i) assertTitle- Used to assert the title of current page.
(ii) assertAttribute- Used to assert the attribute of an element
(iii) assetElementPresent- To check whether the element is present or not.
Test Case: assert.html
Command Target Value
Open https://in.yahoo.com/
Type id=UHSearchBox selenium
Click id=UHSearchWeb
assertAttribute name=p@class sbq
assertTitle selenium - Yahoo India Search Results
assertElementPresent id=logo
captureEntirePageScreenshot C:UsersarshpreetDesktop3.png
OUTPUT:
Experiment-14
Demonstrate the use of verify commands to compare test results or output values
Use Verify commands to actually compare test results or output values as assert page fails it
will automatically or immediately go on the page & check the output values.
(i) verifyElementPresent- To verify a particular web element is present on webpage
or not.
(ii) verifyValue- To verify the value of the text present within the element present.
(iii) verifyAttribute- To verify a attribute value.
Test Case: verify.html
Command Target Value
Open https://in.yahoo.com/
Type id=UHSearchBox selenium
clickAndWait id=UHSearchWeb
verifyTitle selenium - Yahoo India Search Results
verifyElementPresent id=logo
verifyAttribute id=yschsp@autocomplete off
verifyValue id=yschsp selenium
OUTPUT

More Related Content

What's hot

Angular Unit Testing NDC Minn 2018
Angular Unit Testing NDC Minn 2018Angular Unit Testing NDC Minn 2018
Angular Unit Testing NDC Minn 2018
Justin James
 
Apex Testing and Best Practices
Apex Testing and Best PracticesApex Testing and Best Practices
Apex Testing and Best Practices
Jitendra Zaa
 
How To Practice TDD Without Shooting Yourself In The Foot
How To Practice TDD Without Shooting Yourself In The FootHow To Practice TDD Without Shooting Yourself In The Foot
How To Practice TDD Without Shooting Yourself In The Foot
Dennis Doomen
 
Swift LA Meetup at eHarmony- What's New in Swift 2.0
Swift LA Meetup at eHarmony- What's New in Swift 2.0Swift LA Meetup at eHarmony- What's New in Swift 2.0
Swift LA Meetup at eHarmony- What's New in Swift 2.0
Claire Townend Gee
 
Basics of Akka
Basics of AkkaBasics of Akka
Basics of Akka
佑介 九岡
 
Getting to Grips with SilverStripe Testing
Getting to Grips with SilverStripe TestingGetting to Grips with SilverStripe Testing
Getting to Grips with SilverStripe Testing
Mark Rickerby
 
Unit Testing in Angular(7/8/9) Using Jasmine and Karma Part-2
Unit Testing in Angular(7/8/9) Using Jasmine and Karma Part-2Unit Testing in Angular(7/8/9) Using Jasmine and Karma Part-2
Unit Testing in Angular(7/8/9) Using Jasmine and Karma Part-2
Katy Slemon
 
Using FakeIteasy
Using FakeIteasyUsing FakeIteasy
Using FakeIteasy
Dror Helper
 
Getting Started with Maven and Cucumber in Eclipse
Getting Started with Maven and Cucumber in EclipseGetting Started with Maven and Cucumber in Eclipse
Getting Started with Maven and Cucumber in Eclipse
Tom Arend
 
Intro to testing Javascript with jasmine
Intro to testing Javascript with jasmineIntro to testing Javascript with jasmine
Intro to testing Javascript with jasmine
Timothy Oxley
 
Lessons learned from a huge Rails app - RubyConf Brasil 2019
Lessons learned from a huge Rails app - RubyConf Brasil 2019Lessons learned from a huge Rails app - RubyConf Brasil 2019
Lessons learned from a huge Rails app - RubyConf Brasil 2019
Nahuel Garbezza
 
Testing the Grails Spring Security Plugins
Testing the Grails Spring Security PluginsTesting the Grails Spring Security Plugins
Testing the Grails Spring Security Plugins
Burt Beckwith
 
Testing React Applications
Testing React ApplicationsTesting React Applications
Testing React Applications
stbaechler
 
Les06
Les06Les06
AngularJS Unit Testing w/Karma and Jasmine
AngularJS Unit Testing w/Karma and JasmineAngularJS Unit Testing w/Karma and Jasmine
AngularJS Unit Testing w/Karma and Jasmine
foxp2code
 
Les06
Les06Les06
Les06 (using subqueries to solve queries)
Les06 (using subqueries to solve queries)Les06 (using subqueries to solve queries)
Les06 (using subqueries to solve queries)
Achmad Solichin
 
Mobx - performance and sanity
Mobx - performance and sanityMobx - performance and sanity
Mobx - performance and sanity
500Tech
 
Mobx Performance and Sanity
Mobx Performance and SanityMobx Performance and Sanity
Mobx Performance and Sanity
500Tech
 
Isomorphic React Apps Testing
Isomorphic React Apps TestingIsomorphic React Apps Testing
Isomorphic React Apps Testing
Mikhail Larchanka
 

What's hot (20)

Angular Unit Testing NDC Minn 2018
Angular Unit Testing NDC Minn 2018Angular Unit Testing NDC Minn 2018
Angular Unit Testing NDC Minn 2018
 
Apex Testing and Best Practices
Apex Testing and Best PracticesApex Testing and Best Practices
Apex Testing and Best Practices
 
How To Practice TDD Without Shooting Yourself In The Foot
How To Practice TDD Without Shooting Yourself In The FootHow To Practice TDD Without Shooting Yourself In The Foot
How To Practice TDD Without Shooting Yourself In The Foot
 
Swift LA Meetup at eHarmony- What's New in Swift 2.0
Swift LA Meetup at eHarmony- What's New in Swift 2.0Swift LA Meetup at eHarmony- What's New in Swift 2.0
Swift LA Meetup at eHarmony- What's New in Swift 2.0
 
Basics of Akka
Basics of AkkaBasics of Akka
Basics of Akka
 
Getting to Grips with SilverStripe Testing
Getting to Grips with SilverStripe TestingGetting to Grips with SilverStripe Testing
Getting to Grips with SilverStripe Testing
 
Unit Testing in Angular(7/8/9) Using Jasmine and Karma Part-2
Unit Testing in Angular(7/8/9) Using Jasmine and Karma Part-2Unit Testing in Angular(7/8/9) Using Jasmine and Karma Part-2
Unit Testing in Angular(7/8/9) Using Jasmine and Karma Part-2
 
Using FakeIteasy
Using FakeIteasyUsing FakeIteasy
Using FakeIteasy
 
Getting Started with Maven and Cucumber in Eclipse
Getting Started with Maven and Cucumber in EclipseGetting Started with Maven and Cucumber in Eclipse
Getting Started with Maven and Cucumber in Eclipse
 
Intro to testing Javascript with jasmine
Intro to testing Javascript with jasmineIntro to testing Javascript with jasmine
Intro to testing Javascript with jasmine
 
Lessons learned from a huge Rails app - RubyConf Brasil 2019
Lessons learned from a huge Rails app - RubyConf Brasil 2019Lessons learned from a huge Rails app - RubyConf Brasil 2019
Lessons learned from a huge Rails app - RubyConf Brasil 2019
 
Testing the Grails Spring Security Plugins
Testing the Grails Spring Security PluginsTesting the Grails Spring Security Plugins
Testing the Grails Spring Security Plugins
 
Testing React Applications
Testing React ApplicationsTesting React Applications
Testing React Applications
 
Les06
Les06Les06
Les06
 
AngularJS Unit Testing w/Karma and Jasmine
AngularJS Unit Testing w/Karma and JasmineAngularJS Unit Testing w/Karma and Jasmine
AngularJS Unit Testing w/Karma and Jasmine
 
Les06
Les06Les06
Les06
 
Les06 (using subqueries to solve queries)
Les06 (using subqueries to solve queries)Les06 (using subqueries to solve queries)
Les06 (using subqueries to solve queries)
 
Mobx - performance and sanity
Mobx - performance and sanityMobx - performance and sanity
Mobx - performance and sanity
 
Mobx Performance and Sanity
Mobx Performance and SanityMobx Performance and Sanity
Mobx Performance and Sanity
 
Isomorphic React Apps Testing
Isomorphic React Apps TestingIsomorphic React Apps Testing
Isomorphic React Apps Testing
 

Viewers also liked

Revisando las etiquetas
Revisando las etiquetasRevisando las etiquetas
Revisando las etiquetas
María José Moya Jiménez
 
Safety Guide
Safety GuideSafety Guide
Safety Guide
sur96
 
малика нургалиева+зона отдыха+клиенты
малика нургалиева+зона отдыха+клиентымалика нургалиева+зона отдыха+клиенты
малика нургалиева+зона отдыха+клиенты
Малика Нургалиева
 
CRM Mechanism
CRM MechanismCRM Mechanism
CRM Mechanism
sur96
 
Diapositiva plataformas e-commerce
Diapositiva plataformas e-commerceDiapositiva plataformas e-commerce
Diapositiva plataformas e-commerce
DigitadorFisico
 
Hội chứng Carol: xinh + thông minh vì sao ế
Hội chứng Carol: xinh + thông minh vì sao ếHội chứng Carol: xinh + thông minh vì sao ế
Hội chứng Carol: xinh + thông minh vì sao ế
Tony Auditor
 
Future of Animation, design, visual effects Industry
Future of Animation, design, visual effects IndustryFuture of Animation, design, visual effects Industry
Future of Animation, design, visual effects Industry
Sumit Kumar Diwan
 
Team minimums guidebook
Team minimums guidebookTeam minimums guidebook
Team minimums guidebook
aiesec_poland
 
AIESEC in Poland Expansions report.pdf
AIESEC in Poland Expansions report.pdfAIESEC in Poland Expansions report.pdf
AIESEC in Poland Expansions report.pdf
aiesec_poland
 
華語教學面面觀 (1)
華語教學面面觀 (1)華語教學面面觀 (1)
華語教學面面觀 (1)
Yifei Su
 
Ceo plaing for ce os ensuring sustainability
Ceo plaing for ce os ensuring sustainabilityCeo plaing for ce os ensuring sustainability
Ceo plaing for ce os ensuring sustainability
AIESEC
 
Video Project Storyboard Example
Video Project Storyboard ExampleVideo Project Storyboard Example
Video Project Storyboard Example
Arniel Ping
 
Ceo leadership strategy
Ceo leadership strategyCeo leadership strategy
Ceo leadership strategy
AIESEC
 
Cestodes - Hymenolepis nana - Taenia solium - Taenia saginata - Echinococcus ...
Cestodes - Hymenolepis nana - Taenia solium - Taenia saginata - Echinococcus ...Cestodes - Hymenolepis nana - Taenia solium - Taenia saginata - Echinococcus ...
Cestodes - Hymenolepis nana - Taenia solium - Taenia saginata - Echinococcus ...
SOMESHWARAN R
 
Media and Information Literacy (MIL) - 1. Introduction to Media and Informati...
Media and Information Literacy (MIL) - 1. Introduction to Media and Informati...Media and Information Literacy (MIL) - 1. Introduction to Media and Informati...
Media and Information Literacy (MIL) - 1. Introduction to Media and Informati...
Arniel Ping
 

Viewers also liked (15)

Revisando las etiquetas
Revisando las etiquetasRevisando las etiquetas
Revisando las etiquetas
 
Safety Guide
Safety GuideSafety Guide
Safety Guide
 
малика нургалиева+зона отдыха+клиенты
малика нургалиева+зона отдыха+клиентымалика нургалиева+зона отдыха+клиенты
малика нургалиева+зона отдыха+клиенты
 
CRM Mechanism
CRM MechanismCRM Mechanism
CRM Mechanism
 
Diapositiva plataformas e-commerce
Diapositiva plataformas e-commerceDiapositiva plataformas e-commerce
Diapositiva plataformas e-commerce
 
Hội chứng Carol: xinh + thông minh vì sao ế
Hội chứng Carol: xinh + thông minh vì sao ếHội chứng Carol: xinh + thông minh vì sao ế
Hội chứng Carol: xinh + thông minh vì sao ế
 
Future of Animation, design, visual effects Industry
Future of Animation, design, visual effects IndustryFuture of Animation, design, visual effects Industry
Future of Animation, design, visual effects Industry
 
Team minimums guidebook
Team minimums guidebookTeam minimums guidebook
Team minimums guidebook
 
AIESEC in Poland Expansions report.pdf
AIESEC in Poland Expansions report.pdfAIESEC in Poland Expansions report.pdf
AIESEC in Poland Expansions report.pdf
 
華語教學面面觀 (1)
華語教學面面觀 (1)華語教學面面觀 (1)
華語教學面面觀 (1)
 
Ceo plaing for ce os ensuring sustainability
Ceo plaing for ce os ensuring sustainabilityCeo plaing for ce os ensuring sustainability
Ceo plaing for ce os ensuring sustainability
 
Video Project Storyboard Example
Video Project Storyboard ExampleVideo Project Storyboard Example
Video Project Storyboard Example
 
Ceo leadership strategy
Ceo leadership strategyCeo leadership strategy
Ceo leadership strategy
 
Cestodes - Hymenolepis nana - Taenia solium - Taenia saginata - Echinococcus ...
Cestodes - Hymenolepis nana - Taenia solium - Taenia saginata - Echinococcus ...Cestodes - Hymenolepis nana - Taenia solium - Taenia saginata - Echinococcus ...
Cestodes - Hymenolepis nana - Taenia solium - Taenia saginata - Echinococcus ...
 
Media and Information Literacy (MIL) - 1. Introduction to Media and Informati...
Media and Information Literacy (MIL) - 1. Introduction to Media and Informati...Media and Information Literacy (MIL) - 1. Introduction to Media and Informati...
Media and Information Literacy (MIL) - 1. Introduction to Media and Informati...
 

Similar to Exp 9 to exp-14

Solit 2013, Автоматизация тестирования сложных систем: mixed mode automated t...
Solit 2013, Автоматизация тестирования сложных систем: mixed mode automated t...Solit 2013, Автоматизация тестирования сложных систем: mixed mode automated t...
Solit 2013, Автоматизация тестирования сложных систем: mixed mode automated t...
solit
 
Wicket Security Presentation
Wicket Security PresentationWicket Security Presentation
Wicket Security Presentation
mrmean
 
Junit_.pptx
Junit_.pptxJunit_.pptx
Junit_.pptx
Suman Sourav
 
More on Fitnesse and Continuous Integration (Silicon Valley code camp 2012)
More on Fitnesse and Continuous Integration (Silicon Valley code camp 2012)More on Fitnesse and Continuous Integration (Silicon Valley code camp 2012)
More on Fitnesse and Continuous Integration (Silicon Valley code camp 2012)
Jen Wong
 
Mocking in Java with Mockito
Mocking in Java with MockitoMocking in Java with Mockito
Mocking in Java with Mockito
Richard Paul
 
iOS Keychain by 흰, 민디
iOS Keychain by 흰, 민디iOS Keychain by 흰, 민디
iOS Keychain by 흰, 민디
MINJICHO20
 
Better Testing With PHP Unit
Better Testing With PHP UnitBetter Testing With PHP Unit
Better Testing With PHP Unit
sitecrafting
 
2310 b 15
2310 b 152310 b 15
2310 b 15
Krazy Koder
 
2310 b 15
2310 b 152310 b 15
2310 b 15
Krazy Koder
 
Mockito with a hint of PowerMock
Mockito with a hint of PowerMockMockito with a hint of PowerMock
Mockito with a hint of PowerMock
Ying Zhang
 
Green Lantern Framework with Selenium IDE
Green Lantern Framework with Selenium IDEGreen Lantern Framework with Selenium IDE
Green Lantern Framework with Selenium IDE
Srilu Balla
 
RichFaces - Testing on Mobile Devices
RichFaces - Testing on Mobile DevicesRichFaces - Testing on Mobile Devices
RichFaces - Testing on Mobile Devices
Pavol Pitoňák
 
Effective testing with pytest
Effective testing with pytestEffective testing with pytest
Effective testing with pytest
Hector Canto
 
Demystifying Keyword Driven Using Watir
Demystifying Keyword Driven Using WatirDemystifying Keyword Driven Using Watir
Demystifying Keyword Driven Using Watir
Hirday Lamba
 
Soaoui
SoaouiSoaoui
Soaoui
Vikas Singh
 
Clean tests good tests
Clean tests   good testsClean tests   good tests
Clean tests good tests
Shopsys Framework
 
CiklumJavaSat_15112011:Alex Kruk VMForce
CiklumJavaSat_15112011:Alex Kruk VMForceCiklumJavaSat_15112011:Alex Kruk VMForce
CiklumJavaSat_15112011:Alex Kruk VMForce
Ciklum Ukraine
 
Seven Peaks Speaks - Compose Screenshot Testing Made Easy
Seven Peaks Speaks - Compose Screenshot Testing Made EasySeven Peaks Speaks - Compose Screenshot Testing Made Easy
Seven Peaks Speaks - Compose Screenshot Testing Made Easy
Seven Peaks Speaks
 
Testing untestable code - DPC10
Testing untestable code - DPC10Testing untestable code - DPC10
Testing untestable code - DPC10
Stephan Hochdörfer
 
Unit Testing from Setup to Deployment
Unit Testing from Setup to DeploymentUnit Testing from Setup to Deployment
Unit Testing from Setup to Deployment
Mark Niebergall
 

Similar to Exp 9 to exp-14 (20)

Solit 2013, Автоматизация тестирования сложных систем: mixed mode automated t...
Solit 2013, Автоматизация тестирования сложных систем: mixed mode automated t...Solit 2013, Автоматизация тестирования сложных систем: mixed mode automated t...
Solit 2013, Автоматизация тестирования сложных систем: mixed mode automated t...
 
Wicket Security Presentation
Wicket Security PresentationWicket Security Presentation
Wicket Security Presentation
 
Junit_.pptx
Junit_.pptxJunit_.pptx
Junit_.pptx
 
More on Fitnesse and Continuous Integration (Silicon Valley code camp 2012)
More on Fitnesse and Continuous Integration (Silicon Valley code camp 2012)More on Fitnesse and Continuous Integration (Silicon Valley code camp 2012)
More on Fitnesse and Continuous Integration (Silicon Valley code camp 2012)
 
Mocking in Java with Mockito
Mocking in Java with MockitoMocking in Java with Mockito
Mocking in Java with Mockito
 
iOS Keychain by 흰, 민디
iOS Keychain by 흰, 민디iOS Keychain by 흰, 민디
iOS Keychain by 흰, 민디
 
Better Testing With PHP Unit
Better Testing With PHP UnitBetter Testing With PHP Unit
Better Testing With PHP Unit
 
2310 b 15
2310 b 152310 b 15
2310 b 15
 
2310 b 15
2310 b 152310 b 15
2310 b 15
 
Mockito with a hint of PowerMock
Mockito with a hint of PowerMockMockito with a hint of PowerMock
Mockito with a hint of PowerMock
 
Green Lantern Framework with Selenium IDE
Green Lantern Framework with Selenium IDEGreen Lantern Framework with Selenium IDE
Green Lantern Framework with Selenium IDE
 
RichFaces - Testing on Mobile Devices
RichFaces - Testing on Mobile DevicesRichFaces - Testing on Mobile Devices
RichFaces - Testing on Mobile Devices
 
Effective testing with pytest
Effective testing with pytestEffective testing with pytest
Effective testing with pytest
 
Demystifying Keyword Driven Using Watir
Demystifying Keyword Driven Using WatirDemystifying Keyword Driven Using Watir
Demystifying Keyword Driven Using Watir
 
Soaoui
SoaouiSoaoui
Soaoui
 
Clean tests good tests
Clean tests   good testsClean tests   good tests
Clean tests good tests
 
CiklumJavaSat_15112011:Alex Kruk VMForce
CiklumJavaSat_15112011:Alex Kruk VMForceCiklumJavaSat_15112011:Alex Kruk VMForce
CiklumJavaSat_15112011:Alex Kruk VMForce
 
Seven Peaks Speaks - Compose Screenshot Testing Made Easy
Seven Peaks Speaks - Compose Screenshot Testing Made EasySeven Peaks Speaks - Compose Screenshot Testing Made Easy
Seven Peaks Speaks - Compose Screenshot Testing Made Easy
 
Testing untestable code - DPC10
Testing untestable code - DPC10Testing untestable code - DPC10
Testing untestable code - DPC10
 
Unit Testing from Setup to Deployment
Unit Testing from Setup to DeploymentUnit Testing from Setup to Deployment
Unit Testing from Setup to Deployment
 

Recently uploaded

Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024
ElizabethGarrettChri
 
Global Situational Awareness of A.I. and where its headed
Global Situational Awareness of A.I. and where its headedGlobal Situational Awareness of A.I. and where its headed
Global Situational Awareness of A.I. and where its headed
vikram sood
 
Learn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queriesLearn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queries
manishkhaire30
 
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
hyfjgavov
 
End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024
Lars Albertsson
 
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
sameer shah
 
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
mkkikqvo
 
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
v7oacc3l
 
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
Timothy Spann
 
Experts live - Improving user adoption with AI
Experts live - Improving user adoption with AIExperts live - Improving user adoption with AI
Experts live - Improving user adoption with AI
jitskeb
 
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens""Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
sameer shah
 
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
apvysm8
 
writing report business partner b1+ .pdf
writing report business partner b1+ .pdfwriting report business partner b1+ .pdf
writing report business partner b1+ .pdf
VyNguyen709676
 
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
nuttdpt
 
Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......
Sachin Paul
 
The Ipsos - AI - Monitor 2024 Report.pdf
The  Ipsos - AI - Monitor 2024 Report.pdfThe  Ipsos - AI - Monitor 2024 Report.pdf
The Ipsos - AI - Monitor 2024 Report.pdf
Social Samosa
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
Social Samosa
 
原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理
原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理
原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理
a9qfiubqu
 
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Kaxil Naik
 
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdfUdemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Fernanda Palhano
 

Recently uploaded (20)

Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024
 
Global Situational Awareness of A.I. and where its headed
Global Situational Awareness of A.I. and where its headedGlobal Situational Awareness of A.I. and where its headed
Global Situational Awareness of A.I. and where its headed
 
Learn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queriesLearn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queries
 
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
 
End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024
 
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
 
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
 
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
 
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
 
Experts live - Improving user adoption with AI
Experts live - Improving user adoption with AIExperts live - Improving user adoption with AI
Experts live - Improving user adoption with AI
 
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens""Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
 
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
 
writing report business partner b1+ .pdf
writing report business partner b1+ .pdfwriting report business partner b1+ .pdf
writing report business partner b1+ .pdf
 
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
 
Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......
 
The Ipsos - AI - Monitor 2024 Report.pdf
The  Ipsos - AI - Monitor 2024 Report.pdfThe  Ipsos - AI - Monitor 2024 Report.pdf
The Ipsos - AI - Monitor 2024 Report.pdf
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
 
原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理
原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理
原版一比一弗林德斯大学毕业证(Flinders毕业证书)如何办理
 
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
 
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdfUdemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
 

Exp 9 to exp-14

  • 1. Experiment-9 Test case execution- (i) Pause test case execution (ii) Resume it later (iii) Stop test case execution at a required step: Using breakpoint (iv) Start test case execution from a required step: Using Set Start point (i) Pause test case execution Command Target Value open http://www.google.co.in type name=btnK selenium verifyTextNotPresent Downloads SCREENSHOT: (ii) Resume it later Command Target Value open http://www.yahoo.in
  • 2. type id=UHSearchBox selenium verifyTextNotPresent Downloads SCREENSHOT: (iii) Stop test case execution at a required step: Using breakpoint Command Target Value open http://www.ebay.com type id=gh-ac electronics type id=gh-ac computers
  • 3. (iv) Start test case execution from a required step: Using Set Start point Command Target Value open http://www.ebay.com type id=gh-ac electronics type id=gh-ac computers open http://www.ebay.com type id=gh-ac electronics type id=gh-ac computers SCREENSHOT:
  • 4.
  • 5. Experiment-10 Commands to input data to AUT- type, sendKeys, select, check, uncheck, click, submit, AndWait AUT is application under test i.e website or web applications. Following commands are used to input or insert data to these web components: (i) Check: To check a checkbox (ii) Click- To submit and navigate on same page. (iii) ClickAndWait- To submit and navigate on other page. (iv) Echo- To print the output (v) SendKeys- To simulate with the keyboard Test Case: input.html Command Target Value open https://www.slideshare.net/login uncheck id=remember check id=remember submit id=user_login sendKeys id=user_login 1333sample OUTPUT:
  • 6. Experiment-11 Retrieve data from AUT- storeText, storeAttribute, storeElementPresent The commands used to retrieve and store data are as follows: (i) storeText- To store a text display or present on an element (ii) storeAttribute- To store specific attribute value (iii) storeElementPresent- To store true or false based on element present or not Test Case: store.html Command Target Value open https://www.slideshare.net/login storeText id=fb-login FBtext echo ${FBtext} storeAttribute id=fb-login@class FBclass echo ${FBclass} storeElementPresent id=fb-login FBpresent echo ${FBpresent} OUTPUT:
  • 7. Experiment-12 Wait for events in AUT- waitForText, waitForElementPresent, waitForAtrribute Wait for event commands work for 30s or 30000ms for any operation to be performed by a given default value in selenium. (i) waitForText- wait for a text to appear & it is specific to a variable or a locating strategy. (ii) waitForElementPresent- wait for certain element present in the webpage. (iii) waitForAtrribute- wait for an attribute value as we have to wait for a variable to attain that value. Test Case: wait.html Command Target Value Open https://www.slideshare.net/login waitForAttribute id=login_from_loginpage@type submit waitForText All fields are required. waitForElementPresent id=fb-login OUTPUT
  • 8. Experiment-13 Create a test case for various assert commands to examine the direction of test cases and display the result  Choosing between assert and verify commands depend on how you want to manage failures: o on assert failure- It will fail the test case & abort the current test case execution o on verify failure- It will fail the test case & continue the current test case execution  Use assert commands to make sure your test case is going in right direction e.g. right user configuration is loaded or correct page is loaded.  The best use of this feature is to logically group your test commands. (i) assertTitle- Used to assert the title of current page. (ii) assertAttribute- Used to assert the attribute of an element (iii) assetElementPresent- To check whether the element is present or not. Test Case: assert.html Command Target Value Open https://in.yahoo.com/ Type id=UHSearchBox selenium Click id=UHSearchWeb assertAttribute name=p@class sbq assertTitle selenium - Yahoo India Search Results assertElementPresent id=logo captureEntirePageScreenshot C:UsersarshpreetDesktop3.png OUTPUT:
  • 9. Experiment-14 Demonstrate the use of verify commands to compare test results or output values Use Verify commands to actually compare test results or output values as assert page fails it will automatically or immediately go on the page & check the output values. (i) verifyElementPresent- To verify a particular web element is present on webpage or not. (ii) verifyValue- To verify the value of the text present within the element present. (iii) verifyAttribute- To verify a attribute value. Test Case: verify.html Command Target Value Open https://in.yahoo.com/ Type id=UHSearchBox selenium clickAndWait id=UHSearchWeb verifyTitle selenium - Yahoo India Search Results verifyElementPresent id=logo verifyAttribute id=yschsp@autocomplete off verifyValue id=yschsp selenium OUTPUT