Forum Discussion
raja2
Contributor
Thanks for your reply !
raja2
7 years agoContributor
How to pass arguments to Maven Project Java file through QA Complete Custom Args text box?
I have developed selenium script using java language without TestNG and have mapped java file to Maven project. I am passing some arguments from QA Complete Custom Args text box to Maven project Java file ? Could you please help me how to pass arguments to Maven Project java file from QA Complete Custom Args text box ? Please find the attached screenshot.
Java file : TestRunner
Java file configured in Maven Project
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>java</goal>
</goals>
<configuration>
<mainClass>TestRunner</mainClass>
<classpathScope>test</classpathScope>
</configuration>
</execution>
</executions>
Related Content
- 6 years agoZach_Aars
- 11 years agomurugans1011
Recent Discussions
- 8 hours agoibrahimoztrk