SlideShare a Scribd company logo
1 of 9
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 2018Justin James
 
Apex Testing and Best Practices
Apex Testing and Best PracticesApex Testing and Best Practices
Apex Testing and Best PracticesJitendra 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 FootDennis 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.0Claire Townend Gee
 
Getting to Grips with SilverStripe Testing
Getting to Grips with SilverStripe TestingGetting to Grips with SilverStripe Testing
Getting to Grips with SilverStripe TestingMark 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-2Katy Slemon
 
Using FakeIteasy
Using FakeIteasyUsing FakeIteasy
Using FakeIteasyDror 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 EclipseTom Arend
 
Intro to testing Javascript with jasmine
Intro to testing Javascript with jasmineIntro to testing Javascript with jasmine
Intro to testing Javascript with jasmineTimothy 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 2019Nahuel Garbezza
 
Testing the Grails Spring Security Plugins
Testing the Grails Spring Security PluginsTesting the Grails Spring Security Plugins
Testing the Grails Spring Security PluginsBurt Beckwith
 
Testing React Applications
Testing React ApplicationsTesting React Applications
Testing React Applicationsstbaechler
 
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 Jasminefoxp2code
 
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 sanity500Tech
 
Mobx Performance and Sanity
Mobx Performance and SanityMobx Performance and Sanity
Mobx Performance and Sanity500Tech
 
Isomorphic React Apps Testing
Isomorphic React Apps TestingIsomorphic React Apps Testing
Isomorphic React Apps TestingMikhail 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

Safety Guide
Safety GuideSafety Guide
Safety Guidesur96
 
малика нургалиева+зона отдыха+клиенты
малика нургалиева+зона отдыха+клиентымалика нургалиева+зона отдыха+клиенты
малика нургалиева+зона отдыха+клиентыМалика Нургалиева
 
CRM Mechanism
CRM MechanismCRM Mechanism
CRM Mechanismsur96
 
Diapositiva plataformas e-commerce
Diapositiva plataformas e-commerceDiapositiva plataformas e-commerce
Diapositiva plataformas e-commerceDigitadorFisico
 
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 IndustrySumit Kumar Diwan
 
Team minimums guidebook
Team minimums guidebookTeam minimums guidebook
Team minimums guidebookaiesec_poland
 
AIESEC in Poland Expansions report.pdf
AIESEC in Poland Expansions report.pdfAIESEC in Poland Expansions report.pdf
AIESEC in Poland Expansions report.pdfaiesec_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 sustainabilityAIESEC
 
Video Project Storyboard Example
Video Project Storyboard ExampleVideo Project Storyboard Example
Video Project Storyboard ExampleArniel Ping
 
Ceo leadership strategy
Ceo leadership strategyCeo leadership strategy
Ceo leadership strategyAIESEC
 
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 Presentationmrmean
 
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 MockitoRichard 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 Unitsitecrafting
 
Mockito with a hint of PowerMock
Mockito with a hint of PowerMockMockito with a hint of PowerMock
Mockito with a hint of PowerMockYing Zhang
 
Green Lantern Framework with Selenium IDE
Green Lantern Framework with Selenium IDEGreen Lantern Framework with Selenium IDE
Green Lantern Framework with Selenium IDESrilu Balla
 
RichFaces - Testing on Mobile Devices
RichFaces - Testing on Mobile DevicesRichFaces - Testing on Mobile Devices
RichFaces - Testing on Mobile DevicesPavol Pitoňák
 
Effective testing with pytest
Effective testing with pytestEffective testing with pytest
Effective testing with pytestHector Canto
 
Demystifying Keyword Driven Using Watir
Demystifying Keyword Driven Using WatirDemystifying Keyword Driven Using Watir
Demystifying Keyword Driven Using WatirHirday Lamba
 
CiklumJavaSat_15112011:Alex Kruk VMForce
CiklumJavaSat_15112011:Alex Kruk VMForceCiklumJavaSat_15112011:Alex Kruk VMForce
CiklumJavaSat_15112011:Alex Kruk VMForceCiklum 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 EasySeven Peaks Speaks
 
Unit Testing from Setup to Deployment
Unit Testing from Setup to DeploymentUnit Testing from Setup to Deployment
Unit Testing from Setup to DeploymentMark 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

VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...Suhani Kapoor
 
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一ffjhghh
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改atducpo
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubaihf8803863
 
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...shivangimorya083
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystSamantha Rae Coolbeth
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...Pooja Nehwal
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfMarinCaroMartnezBerg
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptxthyngster
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationshipsccctableauusergroup
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...Suhani Kapoor
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiSuhani Kapoor
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfSocial Samosa
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 

Recently uploaded (20)

VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
 
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
 
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
 
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
Decoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in ActionDecoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in Action
 
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 

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