Skip to content
This repository was archived by the owner on Nov 29, 2018. It is now read-only.
This repository was archived by the owner on Nov 29, 2018. It is now read-only.

Java coding (Scanner and StringTokenizer) are not working in selenium #4879

@lukeis

Description

@lukeis

Originally reported on Google Code with ID 4879

I'm using selenium RC and my testcase is not running due to some issue.
1. I wanted to read values from a text file which is having 3 columns and several rows.
columns are spilited using comma.
2. so i used java as programming language and Eclipse as IDE and used BufferedReader
and FileReader methods to read the file.
3. To identify the no of lines in the text file i used Scanner class.
4. To spilit the values in the text file i used StringTokenizer but the code is not
runnin.

I stored all the values in arrays and ran the program, it is working fine but when
i run it using the above scenario it is not working. please do the needful.

I have attached the dummy source code along with this ticket.

Selenium version : selenium-server-standalone-2.24.1
OS: Windows 7
Browser: Firefox
Browser version: 17.0.1



Reported by n.parthibann on 2012-12-06 07:58:17


- _Attachment: [sel.txt](https://storage.googleapis.com/google-code-attachments/selenium/issue-4879/comment-0/sel.txt)_

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions