Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

1 like 0 dislike
5.3k views
by The go-to Tester (262 points)
retagged by
I am trying to return map which contains two values(int, String), but getting Syntax error on token "return", byte expected
by The go-to Tester (181 points)
Can you post your code by replying to this comment?

1 Answer

0 like 0 dislike
by
On the map, this usually happens when you use for loop and your counter is not incrementing.

Make sure that you have a loop where your counter is increasing properly.

If you still have any issue, post your code to get it resolved.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...