jeudi 2 janvier 2020

Compare two numeric string values in selenium

Checking the balance after reload so i have pointafter and pointbefore. The pointbefore will show the amount ex: 28.5 and after unsuccessful reload,point at the wallet show 28.50. When i run the test by comparing the pointafter and pointbefore it give me 'PASS' result, that mean the reload is success. By right it is same amount with different decimal places.

Aucun commentaire:

Enregistrer un commentaire