Closed brknlpr closed 6 years ago
I am configuring the config.xml like below but the script that i provided is not affecting the default view.
<!-- defaults to UTF-8 --> <encoding>UTF-8</encoding> <!-- protocol for script and stylesheets --> <!-- defaults to https --> <protocol>https</protocol> <!-- title of the document --> <documentTitle>Test Report</documentTitle> <!-- report name - displayed at top-nav --> <reportName>Test Report</reportName> <!-- location of charts in the test view --> <!-- top, bottom --> <testViewChartLocation>bottom</testViewChartLocation> <!-- custom javascript --> <scripts> <![CDATA[ $(document).ready(function() {$('.waves-effect:nth-child(3) a:nth-child(1) i:nth-child(1)').click();});]]> </scripts> <!-- custom styles --> <styles> <![CDATA[ ]]> </styles>
Environment Details Extent report Version used: v3.0.2 C# Operating System and version: Windows 10 If anyone made it on v3.0.2 can help ?
You need to do this:
$("a[view='dashboard-view']").click();
Hi, Thanks for the answer but didnt work.
I am configuring the config.xml like below but the script that i provided is not affecting the default view.
Environment Details Extent report Version used: v3.0.2 C# Operating System and version: Windows 10 If anyone made it on v3.0.2 can help ?