Share
Go down
tsrajonline
Posts : 1
Join date : 2013-04-19

Parameterization Selenium Test using Excel

on Fri Apr 19, 2013 2:03 pm
I am using Selenium to read values from Excel Sheet which contains 6
rows and 7 columns. I have one Java file and one Selenium File

The following are the methods used in Selenium File


@Before
setup()


calling the getDataFromExcel() and storing it in valueMap array.


@Test
Registration()


Iterating the valueMap array in this function.


@After
selenium.stop()
seleniumServer.stop()


While executing the Selenium File as JUnit Test the first 2 records were executed successfully but while executing the 3rd record and i got the following error


Got result: ERROR: Element name=user_login not found on session
Killing Firefox...


Kindly help some one to resolve this issue so that i can proceed further.
adityac
Professional
Professional
Posts : 101
Join date : 2013-01-17

Re: Parameterization Selenium Test using Excel

on Wed Apr 24, 2013 8:19 pm
Might cause when object is not identified... try to set speed...
Back to top
Permissions in this forum:
You cannot reply to topics in this forum