I am trying to read a .txt file that has rows as
110 43506 201023344 2636
200 65656 201366666 5555
300 66366 201909886 3222
110 36566 209998888 3333
200 76677 328788878 7777
300 77377 773777377 0000
so I have written a if loop to get the value from row 1, 2 , 3 if substring='110', '200', '300' in three different if loops
once I read the values from .txt file , I get the values from DB & then compare whether values from file & DB match,
The ISSUE I have is the output is being printed thrice .I only wanted it to print once , is there better way to read file ?? this is automation of .txt file in selenium using java
question from:
https://stackoverflow.com/questions/65946600/issue-with-reading-txt-file 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…