Comparison amt fields with different format


#1

I have variable1 = 110.00(PDF) and variable 2 = 110(CSV) which are amount fields with

I want to compare variable1 = variable2.how do I do it?


#2

@krishnan, Duplicate :
How to check a specific column in the datatable is blank or not

Regards,
Dominic :slight_smile:


#3

Hi @krishnan,

Convert.ToDouble(variable1) = Convert.ToDouble(variable2)

Use the above code to check the values are equal using if condition

Regards,
Arivu


#4

by giving a input value in an application,i report screen is displayed.In the report screen I want to capture a text and based on this value I need to compare and go to another screen ?how to capture a text from a screen.this process as it be repeated no of times based on the records in the data table?can you help on this


#5

To be simpler for the above question,i want to execute an application screen multiple times and pick a text value from the screen ? how do I do it? can any one help on this ASAP


#6

Convert.ToDouble(variable1) .Equals(Convert.ToDouble(variable2))


#7

Hi ,
We have compared same application with different URL’s.

We used screen scrapping activity for that file.

But we are not able to see the count differences for that files.While we try to check manually we find the differences.But while trying to automate result is displaying count as “0”.Could you please resolve this problem.
For reference we are attaching xaml file and application url’s.


#8



count is not coming properly.