Cloud Testing with Browser & Web Service using test injection technique
-
Upload
cloudtest-software -
Category
Software
-
view
107 -
download
0
Transcript of Cloud Testing with Browser & Web Service using test injection technique
How to inject test in runtime?
CloudTestSoftware.com
CTestOne
Agenda
� Dynamic Test Injection
� Sample Test Case
� Creating Dataset
� Test Configuration
� Test Run & Results
Dynamic Test Injection
� Inject Test in runtime using dataset
� Break complex tests into simple execution steps
� Use dataset instead of code
� Reduce test script or No script
� Configure test using XML
Test Cases � Test 1: Invoke a project using Web App and verify it exists in
Service call
� URI=/rest/project/rows?token=<Your TOKEN > &filters=project.name%01Like%01%%02project.status%01Like%01Open
� Test 2: Invoke a feature using Web App and verify it exists Service call
� /rest/feature/rows?token=<Your Token> &filters=feature.name%01Like%01%%02project.name%01Like%01%%02feature.status%01nLike%01Not%20Started
Browser Steps for Test1
� Step 1 : Login using browser
� Step 2 : Select Project Tab
� Step 3 : Search project
� Step 4 : Select a project and extract project name
Web Service Steps
� Step 1: Call service to get Auth token using user and password
� Step 2: Call service to get list of projects
� Step 3: Verify project name exists in service response
Browser Steps for Test-2
� Step 1 : Login using browser
� Step 2 : Select Feature Tab
� Step 3 : Search Feature
� Step 4 : Select a feature and extract feature name
Web Service Steps
� Step 1: Call service to get Auth token using user and password
� Step 2: Call service to get list of features
� Step 3: Verify feature name exists in service response
Automation Steps
� Record injectors using CTestOne recording tool
� Create Injector group for scenario
� Create Dataset
� Configure Test Steps
� Create Asserts
� Run & Verify results
Demo � Watch video for this demo
� https://youtu.be/s6m2PS0Q9io
� https://youtu.be/xbX3nCogHdo
� Articles
� https://www.linkedin.com/pulse/faq-i-am-using-my-own-homegrown-selenium-automation-so-srimanta-jana
� https://www.linkedin.com/pulse/compare-cost-release-validation-5000-browser-tests-cloudtest-software
� Website
� www.CloudTestSoftware.com