Reza
Reza

Reputation: 19

How to perform assertion on CodedUI Testing?

I'm creating an automation script using CodedUI (Visual Studio 2013 Premium), where I want to perform assertion on "Proc 0001M-0005MZZ" which is my expected value. Can anyone please help me out?

Thanks in advance! :)

Upvotes: 0

Views: 345

Answers (1)

barakcaf
barakcaf

Reputation: 1324

Use the Assert class which has several methods for assertions -
i.e IsTrue() and each of those has several overloads for different situations.

Upvotes: 1

Related Questions