How to configure the output directory in RobotFramework Selenium2Library Maven Project

61 views
Skip to first unread message

Venkateswara Reddy

unread,
Sep 25, 2015, 4:10:46 AM9/25/15
to robotframework-users
How can i configure the output directory...  in RobotFramework Selenium2Library Maven Project

I would like to store my report/result with the timestamp directory every time i run the test.....

Please help me ....

Venkateswara Reddy

unread,
Sep 25, 2015, 10:19:09 AM9/25/15
to robotframework-users
I got it....
Just Add the below tags to pom xml

 <properties>
         <timestamp>${maven.build.timestamp}</timestamp>
         <maven.build.timestamp.format>dd_MM_yyyy__HH_mm_ss</maven.build.timestamp.format>
    </properties> 

 <configuration>
                            <logLevel>debug</logLevel>
                             <testCasesDirectory>${project.basedir}/src/test/resources/robotframework/testsuites
                            </testCasesDirectory>
                            <outputDirectory>${project.basedir}/target/robotframework-reports/${timestamp}_Report</outputDirectory>
                        </configuration>

Reply all
Reply to author
Forward
0 new messages