I have written selenium program for login module of my project using CSV file as you mention in Video but in my program it can't get find text filed for username and password. i also put some wait but it not work.
please help.
I solved my previous problem my self. but there is another problem encounter i can't get parameter from xml file.
It gives error like.
FAILED CONFIGURATION: @BeforeMethod launchBrowser
org.testng.TestNGException:
Parameter 'browser' is required by @Configuration on method launchBrowser
but has not been marked @Optional or defined in C:\Users\Nikunj\AppData\Local\Temp\testng-eclipse--88091466\testng-customsuite.xml
at org.testng.internal.Parameters.createParameters(Parameters.java:144)
at org.testng.internal.Parameters.createParameters(Parameters.java:342)
at org.testng.internal.Parameters.createConfigurationParameters(Parameters.java:78)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:198)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:631)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:883)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1208)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:754)
at org.testng.TestRunner.run(TestRunner.java:614)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:335)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:330)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:292)
at org.testng.SuiteRunner.run(SuiteRunner.java:241)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1169)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1094)
at org.testng.TestNG.run(TestNG.java:1006)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:107)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:199)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:170)