very useful video....I have a question...if we need to compare two pdf files and find out the unmatched data between them with line number and page number....How would we do that...anyone can guide with this problem??
As I know, we can read the both PDF and store in a variable and compare using if condition. But for better result like on which page and line there is a difference this is known to me. But I'll try this.
@@UiPathRPA Thank you for your response Manish, I have tried explaining whatever steps i have done till now...These are the steps I have used these steps in order to compare two pdf and get the differnces between them. 1. Read the Pdf using 'Read pdf activity'. -we used two 'Read Pdf text' activity to read the Pdf) 2. Read data and store in variable. -Where in created two variable t1 & t2. 3. Split the variable line by line. -Created two more variable to store splitted text in them. Used 'Assign activity' out_str1_array=t1.Split(Environment.Newline.ToArray()) out_str2_array=t2.Split(Environment.NewLine.ToArray()) 4. Created 'Difference' variable to store the difference -Difference=new List(of String)from {"t1", "t2"} 5. Used If condition in order to Compare to Var_1 & Var_2 not Equal to zero and List_2 greater than to List_1\ CONDITION -t1.CompareTo(t2) 0 and out_str2_array.Count() >out_str1_array.Count() Assigned activity in 'THEN' 'ELSE' Differnce=out_str2_array.Except(out_str1_array).ToList() || Differnce= out_str2_array.Except(out_str1_array).ToList() 6. Again Used If condition CONDITION Difference.Count()>0 'THEN' 'Write text File' activity in 'ELSE' "Result_pdfcompare\Untitled.txt" String.Join(" ",Difference) "message box" 'Same' 'Assign' Counter=Counter+1 Used 'Write Line' "Result_pdfcompare\Untitled.txt" String.Join(" ",Difference) I have sent an Email with Xaml file of flowgraph..please make me correct to get this done..Thank you.
hai manish.. why you change string to array..
Array of string is a collection of String. When you need to store a list of string data then you can use it.
@@UiPathRPA thnq 😊😊
Hi Manish, I have been following from 2yrs...you are one of the best in Uipath and also in Way of Teaching ...
Thank you so much for this tutorial! Great info ... improving my RPA, and bettering my Hindi! ^_^
Thank you for watching my videos!
Simply great stuff!!!
Thank you Rajiv for sharing feedback! Glad you enjoyed.
Nice video, please keep uploading new video on UiPath
Learn -How to use Split Method
Nice explanation bro
Hi, Manish make a video on how to install orchestrator in community addition with the prerequisite.
Thank you Saahil for writing your concern.. Video will be uploaded very soon
very useful video....I have a question...if we need to compare two pdf files and find out the unmatched data between them with line number and page number....How would we do that...anyone can guide with this problem??
can u please tell me
which video editing tool ur using please tell sir
Filmora
sir, can we make this program without for each loop also ?
Yes.you can get with index
how to compare two pdf files and find out differences between them?
As I know, we can read the both PDF and store in a variable and compare using if condition. But for better result like on which page and line there is a difference this is known to me. But I'll try this.
@@UiPathRPA Thank you for your response Manish, I have tried explaining whatever steps i have done till now...These are the steps
I have used these steps in order to compare two pdf and get the differnces between them.
1. Read the Pdf using 'Read pdf activity'.
-we used two 'Read Pdf text' activity to read the Pdf)
2. Read data and store in variable.
-Where in created two variable t1 & t2.
3. Split the variable line by line.
-Created two more variable to store splitted text in them.
Used 'Assign activity'
out_str1_array=t1.Split(Environment.Newline.ToArray())
out_str2_array=t2.Split(Environment.NewLine.ToArray())
4. Created 'Difference' variable to store the difference
-Difference=new List(of String)from {"t1", "t2"}
5. Used If condition in order to Compare to Var_1 & Var_2 not Equal to zero and List_2 greater than to List_1\
CONDITION
-t1.CompareTo(t2) 0 and out_str2_array.Count() >out_str1_array.Count()
Assigned activity in 'THEN' 'ELSE'
Differnce=out_str2_array.Except(out_str1_array).ToList() || Differnce= out_str2_array.Except(out_str1_array).ToList()
6. Again Used If condition
CONDITION
Difference.Count()>0
'THEN'
'Write text File' activity in 'ELSE'
"Result_pdfcompare\Untitled.txt"
String.Join(" ",Difference) "message box"
'Same'
'Assign'
Counter=Counter+1
Used 'Write Line'
"Result_pdfcompare\Untitled.txt"
String.Join(" ",Difference)
I have sent an Email with Xaml file of flowgraph..please make me correct to get this done..Thank you.
@@Rajnishkumar-em7ib sure I will check.
@@UiPathRPA Thank you Manish...appreciate your help...will be waiting for further updates on this.
If there are more than 3 name how to do that?
how can i split AA12 , character in one variable ans number is another variable
Why you make in Hindi... Please do in English language
why not make the video in English?