Value comparison

Hi there,

I have 2 different pages. Which names are FirstPage and SecondPage. The FirstPage shows the first total fee. And the SecondPage shows the detailled fee. But 2 pages must show same price.

How can I comparison this values?

Generically speaking, the code for that would look similar to this:

if(variableName!= variableName2)}
perform some action

You would need to locate the correct element and read the value for both pages. With those stored in variables, you can use the IF statement to compare them and perform some action.

Thank you Peter, your code showed the way.