Operators for verifying property values

The Verify Property matches the  actual property with the expected property based on the operator selected and the property of the object.

The following table lists the description of the Verify property action input value operator options, with example test case instances :

Operator

Description

Example Input Values

Expected Value

Contains

Verifies if the input value of the object webtextbox and property text contains "Advertising" .

InnerText,Contains

 

 

InnerText,Contains, Advertising



Advertising

Not Contains

Verifies if the input value of the object webtextbox and property  text does not contain "Google".

InnerText,NotContains

InnerText, NotContains, Google

Google

Equals

Verifies if the input value of the webtextbox object and property size is equal to 40

size, Equals, 40

40

NotEquals

Verifies if the input value of the webtextbox object and property size is not equal to 40

size, NotEquals, 40

40

Greater Than

Verifies if the input value of the webtextbox object  and property size is greater than 30

size, GreaterThan, 30

30

Lesser Than

Verifies if the input value of the webtextbox object property and size is lesser than 40

size, LesserThan, 50

50

Greater than or Equals

Verifies if the input value of the webtextbox object and  property size is greater than or equal to  40

size, GreaterThanOrEquals

40

Greater than or Equals

Verifies if the input value of the webtextbox object and property size is lesser than or equal to 40

size,LesserThanOrEquals

40

PatternMatch

Verifies if the input value of the webtextbox object and property id matches with the expression "^New"

 

InnerText, PatternMatch

^New

StartsWith

Verifies if the input value of the webtextbox object  property id matches StartsWith operator criteria "G"

id, StartsWith

G

EndsWith

Verifies if the input value of the webtextbox object  property id matches EndsWith operator criteria "q"

id, EndsWith

q

Notes:            

  • Select the Case Sensitive checkbox  to consider both the cases (upper and lower) in the search criteria defined.

  • Select the Ignore Trailing Spaces checkbox to ignore the spaces.

  • Select the Enable Synchronization Time Out checkbox and enter the time for the object overloading or you can use the global variable (Example, $$SyncTimeOut) that is declared to fix the synchronization time.