Here is the way to do it
classname: is filename of java :Ex: AutomationFileSequence
arg: Any arguments if required to run the class needs to be mentioned here.
<target name="run_PostData" >
<java fork="false" failonerror="yes" classname="com.qa.automation.main.AutomationFileSequence" classpathref="classpath">
<arg line="${basedir}/Automation_PostData.properties"/>
<arg line="PostData"/>
</java>
</target>
classname: is filename of java :Ex: AutomationFileSequence
arg: Any arguments if required to run the class needs to be mentioned here.
<target name="run_PostData" >
<java fork="false" failonerror="yes" classname="com.qa.automation.main.AutomationFileSequence" classpathref="classpath">
<arg line="${basedir}/Automation_PostData.properties"/>
<arg line="PostData"/>
</java>
</target>
Thanks for sharing this information.It was very nice blog to learn about Selenium
ReplyDeleteThanks for sharing this information.It was very nice blog to learn about Selenium
ReplyDeleteGreat work on this article. The practical details make the content more useful and engaging.online business analyst course
ReplyDeleteThis was a refreshing read. The information feels practical and relevant for people who are trying to understand the topic better.training boomi
ReplyDeleteA mulesoft developer course focuses on API development, integration flows, connectors, and MuleSoft application development. Learners can strengthen their development knowledge through hands-on examples and exercises.
ReplyDelete