Topic : XPath Match assertion
XPath is a query language for selecting nodes from an XML document.
XPath can also used to compute values from the content of an XML document.
Usefull Tool: http://xpather.com/
XPath tutorials: https://www.w3schools.com/xml/xpath_intro.asp
WSDL (SOAP)
https://footballpool.dataaccess.eu/info.wso?WSDL
SoapUI XPath Match Assertions:
//m:AllPlayerNamesResponse/m:AllPlayerNamesResult/m:tPlayerName[1]/m:iId
1488
//m:AllPlayerNamesResponse/m:AllPlayerNamesResult/m:tPlayerName[1]/m:sName
Aaron Cresswell
Count sNametags presence:
count(//m:sName)
2328
Tag presence:
//m:AllPlayerNamesResponse/m:AllPlayerNamesResult/m:tPlayerName/m:sName
true
Check sName match:
matches(//m:AllPlayerNamesResponse/m:AllPlayerNamesResult/m:tPlayerName[1]/m:sName,"Aaron Cresswell")
true
Check Names should have only alphabets:
matches(//m:AllPlayerNamesResponse/m:AllPlayerNamesResult/m:tPlayerName[1]/m:sName,'[A-Za-z]*')
true
Check ID's should have only digits:
matches(//m:AllPlayerNamesResponse/m:AllPlayerNamesResult/m:tPlayerName[1]/m:iId,'\d')
true
#########################################
Udemy Courses
##########################################
Playwright with TypeScript
https://www.udemy.com/course/learn-playwright-web-api-testing-with-typescript/
Playwright with JavaScript
https://www.udemy.com/course/learn-playwright-with-javascript
Generative AI for Software Testing
https://shorturl.at/Uk2eM
Manual Testing + Agile with Jira Tool
https://www.udemy.com/course/learn-manual-software-testing-with-live-project-jira-tool
Selenium with Java + Cucumber
https://www.udemy.com/course/learn-selenium-with-java-live-project
Selenium with Python & PyTest
https://www.udemy.com/course/learn-selenium-with-python-d/
Selenium with Python using Robot Framework
https://www.udemy.com/course/learn-selenium-with-python-using-robot-framework
API Testing (Postman, RestAssured & SoapUI)
https://www.udemy.com/course/learn-selenium-with-python-using-robot-framework/
Web & API Automation using Cypress with JavaScript
https://www.udemy.com/course/learn-cypress-with-typescript/
JMeter - Performance Testing
https://www.udemy.com/course/learn-jmeter-m/learn/
SDET Essentials (Full Stack QA)
https://www.udemy.com/course/learn-sdet-essentials/
Appium - Mobile Automation Testing
https://www.udemy.com/course/learn-appium-latest-1110-mobile-automation-testing/
Java Collections
https://www.udemy.com/course/learn-java-collections/
Cucumber BDD Framework
https://www.udemy.com/course/learn-cucumber-bdd-framework
Protractor with JavaScript
https://www.udemy.com/course/learn-protractorangular-testing-with-javascript/