RE: How to verify fields position in text file using Selenium Webdriver and Autoit

RE: How to verify fields position in text file using Selenium Webdriver and Autoit

this is my text file which I used to open in notepad++ and manually verify all the columns position are correctly populated or not. Now I want to automate this.
So please help me
Thanks

Add Comment
2 Answers

You dont need a Selenium and AutoIt to do this. Once you have a text file you can read it line by line to verify the content in a fixed order. Also if you have the expected results in exactly the way you want your actual file to appear, then you can simple do a bit by bit comparison using Java constructs.

Try a file reader class in java. If you are not able to find the solution after doing this do let us know.

Professor Answered on April 10, 2015.

Thanks Virender Singh.
I want to verify columns positions of my fields as defined in below image, starting position of the Date value .
Please suggest solution how  can i automate this.

RE: How to verify fields position in text file using Selenium Webdriver and Autoit

on April 10, 2015.

can u share a file with 4-5 records I will try to provide exact java code.

on April 13, 2015.

amitjain, Can u please tell me from where i can attach my file, as no option has given here.Thanks  

on April 13, 2015.

I dont know where to do attachments

u can send here amitjain.coer191@gmail.com

on April 15, 2015.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.