cloud testing with browser & web service using test injection technique
TRANSCRIPT
![Page 1: Cloud Testing with Browser & Web Service using test injection technique](https://reader031.vdocument.in/reader031/viewer/2022030306/58cec59a1a28ab09548b583b/html5/thumbnails/1.jpg)
How to inject test in runtime?
CloudTestSoftware.com
CTestOne
![Page 2: Cloud Testing with Browser & Web Service using test injection technique](https://reader031.vdocument.in/reader031/viewer/2022030306/58cec59a1a28ab09548b583b/html5/thumbnails/2.jpg)
Agenda
� Dynamic Test Injection
� Sample Test Case
� Creating Dataset
� Test Configuration
� Test Run & Results
![Page 3: Cloud Testing with Browser & Web Service using test injection technique](https://reader031.vdocument.in/reader031/viewer/2022030306/58cec59a1a28ab09548b583b/html5/thumbnails/3.jpg)
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
![Page 4: Cloud Testing with Browser & Web Service using test injection technique](https://reader031.vdocument.in/reader031/viewer/2022030306/58cec59a1a28ab09548b583b/html5/thumbnails/4.jpg)
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
![Page 5: Cloud Testing with Browser & Web Service using test injection technique](https://reader031.vdocument.in/reader031/viewer/2022030306/58cec59a1a28ab09548b583b/html5/thumbnails/5.jpg)
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
![Page 6: Cloud Testing with Browser & Web Service using test injection technique](https://reader031.vdocument.in/reader031/viewer/2022030306/58cec59a1a28ab09548b583b/html5/thumbnails/6.jpg)
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
![Page 7: Cloud Testing with Browser & Web Service using test injection technique](https://reader031.vdocument.in/reader031/viewer/2022030306/58cec59a1a28ab09548b583b/html5/thumbnails/7.jpg)
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
![Page 8: Cloud Testing with Browser & Web Service using test injection technique](https://reader031.vdocument.in/reader031/viewer/2022030306/58cec59a1a28ab09548b583b/html5/thumbnails/8.jpg)
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
![Page 9: Cloud Testing with Browser & Web Service using test injection technique](https://reader031.vdocument.in/reader031/viewer/2022030306/58cec59a1a28ab09548b583b/html5/thumbnails/9.jpg)
Automation Steps
� Record injectors using CTestOne recording tool
� Create Injector group for scenario
� Create Dataset
� Configure Test Steps
� Create Asserts
� Run & Verify results
![Page 10: Cloud Testing with Browser & Web Service using test injection technique](https://reader031.vdocument.in/reader031/viewer/2022030306/58cec59a1a28ab09548b583b/html5/thumbnails/10.jpg)
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