Thank you so much naveen for all your videos.Personally it's helping me a lot. I have questions to this video What about the report? Where can I see what are all the test cases passed after running this JAR file?
Hi Naveen, thank you so much for sharing lot of knowledge on Automation skills But I have a query how to implement this feature for Cucumber frame work ? Query : How run test cases written in Cucumber frame work by using this executable jars?
Hi Naveen. Thanks for this informative video.How can we implement this with Junit + Cucumber + Maven based project ? In junit runner class we need to create main method and we need to call the stepdefintion classes?
Hi naveen i have watched all videos related to pom object model and i have learn a lot now same thing i have implemented on Appium ...and i did it thanks 😊😊
Where will be the report generated once I run the executable JAR? I checked it in the project folder's "test-output" folder, but the report is not present.
Hi Naveen, how can I able to create runnable jar containing testclasses and main classes.actually through pom.xml I am able to create jar having only classses in src/main/java but it doesn't include src/test/java classes.
Thanks Naveen its a good approach but tomorrow any changes in ref data again we have to create another jar instead of one jar we can create one folder keep all like excel and executable jar so manual tester also change data and run again and again that i think and am using same in my project also
Hi Naveen ... I have testdata in excel under src/main/resources. Executable jar is getting created but when I tried to run via CMD it is showing "FileNotFoundException" for testdata. Could you please help me out.
Thanks Naveen..I have one que I have input file and that need to change by client before running my project then how it can be handled by creating executable jar file
Hi Naveen, Its a nice video, I have tried to create a exceutable jar file by keeping the cromedriver.exe inside the project but I could not launch the browser on execution the jar But when i keep the cromedriver outside my project I am able to launch the browser kindly help me on this
My existing project they are generating .jar file using .pom, can you show the demo how we can generate .jar file using maven build for the same project?
Hi Naveen, Thanks for the detailed session! How to convert the selenium mobile framework project into Jar file. I have created the mobile framework with cucumber based approach. I wanted to convert the project into Jar file to share the test suite to client side. Kindly help the same. If you already create the session for that. Please share it. Thank you for the help!
Thank you Naveen, I have one question can we run testng-failed.xml from command line using jar.. I know we can do from eclipse not sure how to do this when we have only executable jar..
For the same testng program, I am getting failure for the command line suite but it's getting success for the test suite. Can you please let me know the reason why I am getting error only for the command suite
@Naveen AutomationLabs . when I export as runnable jar having OR.properties file. then on running the jar it does not find the path of that OR file mentioned in my java program
Thanks Navee, this is very details and helpful. I want to understand, if i have excel files which are getting use inside code and i want to export those excel files also with jar. How can i do that and how can i read that inside code. Can you please help me on this?
Hi Navin Am able to create clickable jar and running it's fine on my machine however same jar when tried to open in another machine not working I have created main class and from there passing TestNG XML file I extracted jar on another machine and TestNG XML file is no where to found M packing through eclipse only but not sure where doit it wrong Ur advice will be really helpful
Hi Naveen, In my case I have a cucumber project running with Junit and cucumber options. it does not have testNG and main class, how to convert it to a runnable jar file? Looking forward for your help, Thanks.
Hi naveen, I had followed all the steps which u have show in the above video but the problem is which i am facing is when i am sending the jar file to my manager and he is trying to run that jar it is not working , i tried with the terminal also. Error are coming like config file not found etc etc . Please help me to overcome this issue . Thanks krishnendu saha
Hello sir thank u very much for this video. But what about driver paths and csv paths ? do they work in the jar too? can i make them dynamic? Any suggetions what to study to learn this topic?
Thanks Naveen for this usefull information.I wants to know that how can we execute multiple different classes in a siquential way.Please comment onto it. i need it urgently. Thanks.
Hi Naveen, What ever you explained in above session is fantastic. We have a similar requirement but will little change. Below is the TestRunner which will trigger all the testcases by mapping "feature" and "glue". From the below code you suggested after packaging jar file ran inTestRunner class only @beforeSuite and @AfterSuite will executes, but feature and step definition files will never bind hence non of the test cases are executing. Any suggestion to make it work. TestNG testng = new TestNG(); testng.setTestClasses(new Class[] {TestRunner.class}); @CucumberOptions(strict = true, monochrome = true, format = { "pretty", "json:target/cucumber.json" }, features = {"classpath:feature" }, glue = { "stepdefinition" }, tags = { "@Sanity" }) public class TestRunner extends AbstractTestNGCucumberTests { @BeforeSuite(alwaysRun = true) public void setUp() throws Exception { driver = browserActions.openBrowser(); } @AfterSuite(alwaysRun = true) public void generateHTMLReports() {
Hello Naveen, My testNG.xml has parameters , values of which I use in my test class. Can you tell me how to add these parameters or pass value of these parameters while running ? My test cases is failing due to configuration failure.
Hi Naveen, I have on question. How can we deal with the excel data provider in runnable Jar files. Lets say we are using testNg framework and Data we are passing through excelsheet and then we create a jar file. It runs in the current PC but when we send the Jar file in other PC and run it there. It doesn't run because we dont have data Provider in that PC. Could you please provide the solution??
Hi. Could you please Help. I have exported one Jar File. In eclipse i have a Source Directory Named (Configuration). When i execute the application in Eclipse i can have access to the file located in /configuration/config.properties File propertieFile = new File(getClass().getClassLoader().getResource("configuration/config.properties").getFile()); Then i make a Test if(propertieFile.exists(){ System.out.println("exists");} My Problem is this works on Eclipse. but when i export my Project in .jar File and execute the Jar File it does not work anymore. How do i pass a new File to the File Class for checking is exists when the Project ist exported in Jar File? I have try with URL .toUri many things. I Walk aroud the Google and i dont find yet a solution. I need to check if this file exists in the Resource Folder named configuration and if not to have the chance to create the Properties File. Having a reference from File class. Very important i dont use Marven or Spring. Is really crazy sometimes the Project looks good in Eclipse and by exporting the Jar File the change the structure. You would help me really too much i you have a solution for this problem. i am studying Java and i dont want to give up. Thanks.
Hi Naveen..how to create a executable jar including Excel and .exe file and how to set path of those file in jar ?? I created executable jar keeping Excel files in src/main/resources folder but while executing getting error file not found.please provide me solution to handle this scenario.It will really help for me
A good video , passed in eclipse, but if i run the jar, I get java.lang.IllegalStateException: The driver executable does not exist. Any thoughts ? Thanks in advance.
Hi Sir Thanks for sharing this important knowledge just got single query that when I am getting error Driver doesn't Exist when I am sharing jar file to my firend.
Actually, I have also faced the same issue This is because of the Driver executable , to solve this issue I have used driver executable in my project manually I am not using webdriver manager and then while exporting I have stored the Driver executables in one folder and give it to users
Sir can we run the jar file at different systems. as its giving me the error of file paths as File not found. I am using File abc = new File("./PrjectFolder/config.properties") then abc.getabolutepath()
Hello sir. It is not working for me. when I run testing.xml file from eclipse all the testcases are running successfully but when I am running the same from TestRunner class it does not work.
Common Dude, after I have created the executable jar, browser is launching only if I run from project directory but if I run from another directory ( say from D:\Media) then browser is not launching.. I have spent 18:07 mins and didn't find answer.
Hi Naveen i have tried it is executing as java application but it is not executing as runnable jar file i have followed your concept. Why it is not executing may i know
I am getting this error while using ".addListener()" method Error - The method addListener(Object) is ambiguous for the type TestNG can you help in this?
Hello Sir After extracting the runnable jar file while running the same, it is not able to read data from excel file, could you please help me out on this, Thanks a lot in advance
thanks so much naveen it's really amazing technique... i have one silly doubt if i am sending executable jar file to Protect manager , what will be preconceptions to run the jar file on project manager machine .. is that java, eclipse maven should be already installed on not ?
@@naveenautomationlabs How about the chrome browser?and if I want to deploy to Cloud where we have various OS(like Linux, Redhat, Centos,Ubuntu)then what could we do in that case. Still just java is enough?
I have tried to do the same but There are some issue I found : 1) when Running the jar from the Cmd , it not taking the resources file like : testng and excel logs etc . As I have put the all usable files into the resources folder within the sub folder 2) I am using the below code : TestNG testng = new TestNG(); List suites = Lists.newArrayList(); suites.add("run/testng.xml"); testng.setTestSuites(suites); testng.run(); if i use your code then multiple window is opening and only run the 1st test Class. 3) In pom i am using the resource add code as well . But no luck . this is only running when it would be in parent folder directory . COULD you Please help on that ??
Hi Naveen thanks for the above video and it is really useful. I have a few clarifications on this topic. 1. upon clicking the jar, where can I view the result status once when the all test execution is completed. 2. does the same set up of eclipse and java is required in the recipient's machine when I share the jar file for execution in their machine. Because the recipient could not run the jar file. please clarify my queries.
You can create a runnable JAR so in that case you don't need to setup anything in the another machine and also the report will be created in the same folder if you were using the testng
Hi @Naveen I am getting Command line suite Total tests run: 11, Passes: 0, Failures: 0, Skips: 11 Configuration Failures: 2, Skips: 0 error. Can you please help.
Hey , we are having requirement like we have to pass the runtime parameter from the command line to the executable jar I .e -Ddriver.type = CHROME like this , how we can achieve this can anyone suggest some solutions or any article to deal with this case
Hi Naveen many thanks for this video .While running my jar file on different system getting error file not found exception.How will I fix that .Can you advise me
Hi Thanks a lot for the information. I tried to execute the same. but during Execution I am getting Configuration Failures. When the same file is executed from Eclipse it works fine. Can you please Help me on this? What could be the cause and how to resolve this issue. Thank you.
Hey Naveen implemented in my project when creating jar file it show some warning msg after when double click on exe file it create output folder where I m getting report but it didn't run the script please reply soon brother
Jar is created successfully , It is working everything fine but other PC's Not working , Other PC's also required Like java and command line or Selenium and it is possible to read properties file ?? Please help me now it is very important for me Thanks in Advance
Hi All, I hope, In this pandemic you and your family are well and enjoy the north india winter session As per discuss in this video, I have run single testng class but When i add one more testng class that second class didn't run, So anybody having occur same issue and resolved, Please let me know, I would like to say Thanks
Run suite.xml .....write the following in main method. TestNG runner=new TestNG(); List suitefiles=new ArrayList(); suitefiles.add(System.getProperty("user.dir")+"/testng.xml"); runner.setTestSuites(suitefiles); runner.run();
Thank you so much naveen for all your videos.Personally it's helping me a lot. I have questions to this video What about the report? Where can I see what are all the test cases passed after running this JAR file?
Hi Naveen, thank you so much for sharing lot of knowledge on Automation skills
But I have a query how to implement this feature for Cucumber frame work ?
Query :
How run test cases written in Cucumber frame work by using this executable jars?
I will remain forever grateful to Naveen sir for the videos. It helped me immensely.
Hi Naveen. Thanks for this informative video.How can we implement this with Junit + Cucumber + Maven based project ? In junit runner class we need to create main method and we need to call the stepdefintion classes?
Hi naveen i have watched all videos related to pom object model and i have learn a lot now same thing i have implemented on Appium ...and i did it thanks 😊😊
Where will be the report generated once I run the executable JAR? I checked it in the project folder's "test-output" folder, but the report is not present.
Thanks Naveen.. I will implement this one ASAP in my current project..
thanks for the efforts Naveen! great video as usual.
Hi Naveen, how can I able to create runnable jar containing testclasses and main classes.actually through pom.xml I am able to create jar having only classses in src/main/java but it doesn't include src/test/java classes.
Thanks Naveen its a good approach but tomorrow any changes in ref data again we have to create another jar instead of one jar we can create one folder keep all like excel and executable jar so manual tester also change data and run again and again that i think and am using same in my project also
how can i do this plz mail me 66.akash@gmail.com
thnx in advance.
Hi Naveen ... I have testdata in excel under src/main/resources. Executable jar is getting created but when I tried to run via CMD it is showing "FileNotFoundException" for testdata. Could you please help me out.
Thanks a lot for this video content, I was expecting this topic vary much to be covered.
Thanks Naveen..I have one que I have input file and that need to change by client before running my project then how it can be handled by creating executable jar file
Hi Naveen,
Its a nice video,
I have tried to create a exceutable jar file by keeping the cromedriver.exe inside the project but I could not launch the browser on execution the jar
But when i keep the cromedriver outside my project I am able to launch the browser
kindly help me on this
My existing project they are generating .jar file using .pom, can you show the demo how we can generate .jar file using maven build for the same project?
Thanks Naveen!! please let me know how to create jar from apache jar plugin also
Hi Naveen, Thanks for the detailed session!
How to convert the selenium mobile framework project into Jar file. I have created the mobile framework with cucumber based approach. I wanted to convert the project into Jar file to share the test suite to client side. Kindly help the same.
If you already create the session for that. Please share it. Thank you for the help!
Thank you Naveen, I have one question can we run testng-failed.xml from command line using jar.. I know we can do from eclipse not sure how to do this when we have only executable jar..
For the same testng program, I am getting failure for the command line suite but it's getting success for the test suite. Can you please let me know the reason why I am getting error only for the command suite
Thank you so much naveen!!
I have been looking of this topic since very long.. It is Perfect.
Hi Naveen, can we implement the same in cucumber project ?
Thanks a lot, Bro
What a Great explanation
Really Great yaar
I was looking for this information. thank you Naveen.
Thank you so much Naveen.loving your videos
Thanks for this awesome video Naveen if I want to execute more than one class then should I use , and add those class ??
Hi Naveen, thanks for your awesome knowledgeable videos. Could you please also suggest how can we configure test data sheet with our jar files.
@Naveen AutomationLabs . when I export as runnable jar having OR.properties file. then on running the jar it does not find the path of that OR file mentioned in my java program
I am facing this issue have u found the solution?
Naveen can this be implemented in junit? Also where to see the results report?
Thanks Navee, this is very details and helpful. I want to understand, if i have excel files which are getting use inside code and i want to export those excel files also with jar. How can i do that and how can i read that inside code. Can you please help me on this?
Hi Navin
Am able to create clickable jar and running it's fine on my machine however same jar when tried to open in another machine not working
I have created main class and from there passing TestNG XML file
I extracted jar on another machine and TestNG XML file is no where to found
M packing through eclipse only but not sure where doit it wrong
Ur advice will be really helpful
lot of amazing videos in ur channel.. thanks naveen for all ur hard work and sharing ur real time experiences..
Hi Naveen,
In my case I have a cucumber project running with Junit and cucumber options. it does not have testNG and main class, how to convert it to a runnable jar file? Looking forward for your help, Thanks.
Hi naveen,
I had followed all the steps which u have show in the above video but the problem is which i am facing is when i am sending the jar file to my manager and he is trying to run that jar it is not working , i tried with the terminal also. Error are coming like config file not found etc etc .
Please help me to overcome this issue .
Thanks
krishnendu saha
Hello sir thank u very much for this video. But what about driver paths and csv paths ? do they work in the jar too? can i make them dynamic? Any suggetions what to study to learn this topic?
Thanks for sharing knowledge. Can anyone execute the runnable jar which doesn't have maven,Selenium basically dont have the setup..
yes anyone can run that
Thanks Naveen for this usefull information.I wants to know that how can we execute multiple different classes in a siquential way.Please comment onto it. i need it urgently.
Thanks.
Same question bro
Hi Naveen,
What ever you explained in above session is fantastic. We have a similar requirement but will little change. Below is the TestRunner which will trigger all the testcases by mapping "feature" and "glue".
From the below code you suggested after packaging jar file ran inTestRunner class only @beforeSuite and @AfterSuite will executes, but feature and step definition files will never bind hence non of the test cases are executing.
Any suggestion to make it work.
TestNG testng = new TestNG();
testng.setTestClasses(new Class[] {TestRunner.class});
@CucumberOptions(strict = true, monochrome = true,
format = { "pretty", "json:target/cucumber.json" },
features = {"classpath:feature" },
glue = { "stepdefinition" }, tags = { "@Sanity" })
public class TestRunner extends AbstractTestNGCucumberTests {
@BeforeSuite(alwaysRun = true)
public void setUp() throws Exception {
driver = browserActions.openBrowser();
}
@AfterSuite(alwaysRun = true)
public void generateHTMLReports() {
try {
browserActions.closeBrowser();
} catch (Exception e) {
e.printStackTrace();
}
}
}
Hi Bro... I create a jar file this same way... But I'm getting a noclassdeffounderror TestNG exception... How can I resolve it?
Hi was this resolved?
@@snehabandari9002 were you able to resolve this error? If yes can you Please share the steps
Hello Naveen,
My testNG.xml has parameters , values of which I use in my test class.
Can you tell me how to add these parameters or pass value of these parameters while running ?
My test cases is failing due to configuration failure.
Hi Naveen, I have on question. How can we deal with the excel data provider in runnable Jar files. Lets say we are using testNg framework and Data we are passing through excelsheet and then we create a jar file. It runs in the current PC but when we send the Jar file in other PC and run it there. It doesn't run because we dont have data Provider in that PC. Could you please provide the solution??
Hi. Could you please Help. I have exported one Jar File. In eclipse i have a Source Directory Named (Configuration). When i execute the application in Eclipse i can have access to the file located in /configuration/config.properties File propertieFile = new File(getClass().getClassLoader().getResource("configuration/config.properties").getFile()); Then i make a Test if(propertieFile.exists(){ System.out.println("exists");}
My Problem is this works on Eclipse. but when i export my Project in .jar File and execute the Jar File it does not work anymore.
How do i pass a new File to the File Class for checking is exists when the Project ist exported in Jar File? I have try with URL .toUri many things. I Walk aroud the Google and i dont find yet a solution. I need to check if this file exists in the Resource Folder named configuration and if not to have the chance to create the Properties File. Having a reference from File class.
Very important i dont use Marven or Spring.
Is really crazy sometimes the Project looks good in Eclipse and by exporting the Jar File the change the structure.
You would help me really too much i you have a solution for this problem. i am studying Java and i dont want to give up.
Thanks.
Thanks again for this very helpful video. 👍🏻👍🏻👍🏻
Thanks for watching
Hi Naveen, I am getting blank option in Launch Configuration then how can I select framework
Hi Naveen..how to create a executable jar including Excel and .exe file and how to set path of those file in jar ??
I created executable jar keeping Excel files in src/main/resources folder but while executing getting error file not found.please provide me solution to handle this scenario.It will really help for me
Executable jar file not executed outside the project folder and xml files and json files are not available in the executable jar
A good video , passed in eclipse, but if i run the jar, I get java.lang.IllegalStateException: The driver executable does not exist. Any thoughts ? Thanks in advance.
Hi Sameera, Same issue am facing..do u get any solution for it
Hi Sir Thanks for sharing this important knowledge just got single query that when I am getting error Driver doesn't Exist when I am sharing jar file to my firend.
Actually, I have also faced the same issue This is because of the Driver executable , to solve this issue I have used driver executable in my project manually I am not using webdriver manager and then while exporting I have stored the Driver executables in one folder and give it to users
Sir can we run the jar file at different systems. as its giving me the error of file paths as File not found. I am using File abc = new File("./PrjectFolder/config.properties") then abc.getabolutepath()
Hello sir. It is not working for me. when I run testing.xml file from eclipse all the testcases are running successfully but when I am running the same from TestRunner class it does not work.
Hi Naveen i tried to create a jar from intellj ide, while running the jar , it is throwing the error as
" Could not find or load main class"
Can we implement this with Junit + Cucumber + Maven based project ?
I too have the same query..@Naveen please suggest
Hi Naveen, where I can see your implement on ExtentReportListener class? Thnak you
Hi Naveen , can we implement same with jenkins? there jenkins use for sent report on email.
Hi Naveen, thank so much for the video. is the extentReport listener required in the xml file in the video 7:14 s?
Common Dude, after I have created the executable jar, browser is launching only if I run from project directory but if I run from another directory ( say from D:\Media) then browser is not launching.. I have spent 18:07 mins and didn't find answer.
Hi Naveen i have tried it is executing as java application but it is not executing as runnable jar file i have followed your concept. Why it is not executing may i know
I am getting this error while using ".addListener()" method
Error - The method addListener(Object) is ambiguous for the type TestNG
can you help in this?
@Naveen
can you please tell me how to create jar file for testng.xml suite ?
i need to run xml because i used parallel execution
Hello Sir After extracting the runnable jar file while running the same, it is not able to read data from excel file, could you please help me out on this, Thanks a lot in advance
thanks so much naveen it's really amazing technique... i have one silly doubt if i am sending executable jar file to Protect manager , what will be preconceptions to run the jar file on project manager machine .. is that java, eclipse maven should be already installed on not ?
only Java should be installed.
@@naveenautomationlabs okey thank
@@naveenautomationlabs How about the chrome browser?and if I want to deploy to Cloud where we have various OS(like Linux, Redhat, Centos,Ubuntu)then what could we do in that case. Still just java is enough?
I have tried to do the same but There are some issue I found :
1) when Running the jar from the Cmd , it not taking the resources file like : testng and excel logs etc . As I have put the all usable files into the resources folder within the sub folder
2) I am using the below code :
TestNG testng = new TestNG();
List suites = Lists.newArrayList();
suites.add("run/testng.xml");
testng.setTestSuites(suites);
testng.run();
if i use your code then multiple window is opening and only run the 1st test Class.
3) In pom i am using the resource add code as well . But no luck .
this is only running when it would be in parent folder directory .
COULD you Please help on that ??
Iam facing the same issue, have you got any solution on this ?
Hi, I’m facing this issue has anyone got this resolved?
Can you please help me in creating jar files through junit. We are not using testng
What is inside the class in the Extent Report Listener?
Hi Naveen thanks for the above video and it is really useful. I have a few clarifications on this topic.
1. upon clicking the jar, where can I view the result status once when the all test execution is completed.
2. does the same set up of eclipse and java is required in the recipient's machine when I share the jar file for execution in their machine. Because the recipient could not run the jar file. please clarify my queries.
You can create a runnable JAR so in that case you don't need to setup anything in the another machine and also the report will be created in the same folder if you were using the testng
@@sandeepnegi4939 Same folder in the sense where? Could you elaborate more please?
Hi @Naveen
I am getting
Command line suite
Total tests run: 11, Passes: 0, Failures: 0, Skips: 11
Configuration Failures: 2, Skips: 0
error. Can you please help.
Hey , we are having requirement like we have to pass the runtime parameter from the command line to the executable jar I .e -Ddriver.type = CHROME like this , how we can achieve this can anyone suggest some solutions or any article to deal with this case
Awesome... Thanks Naveen 👍👍
I am reading xpath from config file.i am not able to run from cmd too...navin pls pls help
Thanks Naveen....
Hi,
I have not export to jar option, only export to zip. what is a problem?
Hi Naveen many thanks for this video .While running my jar file on different system getting error file not found exception.How will I fix that .Can you advise me
Hi was this resolved?
Sir how to create exe which gives us like a drop-down of test cases
How to run mutiple test cases or test suite using TestRunnner or jar
When I execute my JAR file, I get error "Error: Could not find or load main class io.cucumber.core.cli.Main" please help if anyone have idea
Hi Thanks a lot for the information. I tried to execute the same. but during Execution I am getting Configuration Failures. When the same file is executed from Eclipse it works fine. Can you please Help me on this? What could be the cause and how to resolve this issue.
Thank you.
Hi, I'm facing the same, how did you resolve this? Can you please help me on same
Great Video ! Thanks a lot!
Hey Naveen implemented in my project when creating jar file it show some warning msg after when double click on exe file it create output folder where I m getting report but it didn't run the script please reply soon brother
Did you resolve this issue?
Jar is created successfully , It is working everything fine but other PC's Not working , Other PC's also required Like java and command line or Selenium and it is possible to read properties file ?? Please help me now it is very important for me Thanks in Advance
yes, you need java JRE installed on other machine as well.
@@naveenautomationlabs Thanks a lot And one more thing Executable jar file is possible read properties file
great
how to create a runnable test jar with using gradle instead of creating it from intellij
i was waiting for this .. TYSM
How to add if we are passing the parameters through xml
i am getting JNI Error on double clicking the jar file :( Please help
Is it necessary to add listner or without listner also we can createjar file
Yes of course you can
Is there a way to do this with JUnit?
Again FIDA😊👍
Is there a way to create jars for cucumber projects?
Hi All,
I hope, In this pandemic you and your family are well and enjoy the north india winter session
As per discuss in this video, I have run single testng class but When i add one more testng class that second class didn't run, So anybody having occur same issue and resolved, Please let me know, I would like to say Thanks
where html report will be generated?
I have a JUnit project. please help
Run suite.xml .....write the following in main method.
TestNG runner=new TestNG();
List suitefiles=new ArrayList();
suitefiles.add(System.getProperty("user.dir")+"/testng.xml");
runner.setTestSuites(suitefiles);
runner.run();
How to run this main method from pom.xml
Naveen kindly reply please need the solution that's why I ping you here please have some look bro
Jar is created with warnings and i am not abke to run
nice
Thanks for watching
but how to embed chromedriver.exe in the project ?
hare baba!!!! you should specify the file location of the chrome.exe in the test base class.
@@boopathyraj9128 I know dear, just wanted to know how do we need to embed chrome.exe in jar
thank you
Facing path issue😢😮
Hi, how can we run main class from cmd and pass testng XML on runtime