Verify field values and red box around box

Hi

For few things I need solution

  1. If on the form there is text field then how to identify then red box for mandatory came or not if field is not attempted. It can text field, dropdown, checkbox. Pls tell full steps .

  2. When I submit form there is a verification screen to view what I had entered is correct or not. How to verify the field values what I entered is correct or not. Ex - On form gift value = 50 and I need to verify that on verification screen label is Gift Value and it’s value is 50 only.

Pls help

  1. Verify that class/respective “red box” attribute has changed
  2. Use WebUI.getText() on an element which contains your value

Ok let me try this approach

Can u pls elaborate the steps I tried but it is not working yo identify color