selenium - ERROR: Element name=user_login not found on session a60ba70a450c48c2901bc2b5edb3d315 and Killing Firefox -


i using selenium read values excel sheet contains 6 rows , 7 columns. have 1 java file , 1 selenium file.

the following methods used in selenium file

@before setup()

calling getdatafromexcel() , storing in valuemap array.

@test registration()

iterating valuemap array in function.

@after selenium.stop()
seleniumserver.stop()

while executing selenium file junit test first 2 records executed , got following error

got result: error: element name=user_login not found on session killing firefox...

kindly 1 resolve issue can proceed further.

there seems issues .stop() causing "lost" sessions or elements. try using .exit() instead.


Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -