- tsrajonline
- Posts : 1
Join date : 2013-04-19
Parameterization Selenium Test using Excel
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.
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.
- adityacProfessional
- Posts : 101
Join date : 2013-01-17
Re: Parameterization Selenium Test using Excel
Wed Apr 24, 2013 8:19 pm
Might cause when object is not identified... try to set speed...
- selenium data driven test using dataprovider-excel
- How to genenrate excel file for test pass/fail
- Download Excel from web and copy contents from that excel and paste it to another excel
- how to print row wise data executing all @test methods for each row in excel sheet
- selenium test workflows, what about my way to develop and perform test?
Permissions in this forum:
You cannot reply to topics in this forum