December 2015
Intermediate to advanced
192 pages
3h
English
CHAPTER 10
![]()
Assertion
Without assertions, often known as checks, a test script is incomplete. Common assertions for testing web applications are the following:
Assert page title
Assert.AreEqual("TestWise IDE", driver.Title);
Assert page text
Figure 10-1 shows an example web page.
![]()
Figure 10-1. An example web page
Read now
Unlock full access