TestNg execution with VSTS

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

TestNg execution with VSTS

Hari

We are using TestNg frame work to execute functional test cases. The execution is triggered by running Batch script task and it will call chrome driver and execution goes. Now my organisation is requesting to show execution in browser at the time of execution. Can you please suggest some solution to view the execution in browser. Now i can see only the log details.

batch file content

@echo off
set classpath=%classpath%;libs/*
java -Djava.util.logging.config.file=resources/logging.properties com.framework.testng.TestNGHandler

--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: TestNg execution with VSTS

Todd Bradley-2
What do you mean by "show execution in browser"? Do you mean you want to view an HTML test report after the tests are finished?

On Mon, Oct 2, 2017 at 2:06 PM, Hari <[hidden email]> wrote:

We are using TestNg frame work to execute functional test cases. The execution is triggered by running Batch script task and it will call chrome driver and execution goes. Now my organisation is requesting to show execution in browser at the time of execution. Can you please suggest some solution to view the execution in browser. Now i can see only the log details.

batch file content

@echo off
set classpath=%classpath%;libs/*
java -Djava.util.logging.config.file=resources/logging.properties com.framework.testng.TestNGHandler

--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: TestNg execution with VSTS

Hari
We got the results in html. We need to view chrome browser execution in the server. Right now we are seeing only logs in VSTS Open chrome browser etc but Unable to view browser execution in the server. We need to view the execution parallel in the server as well

On Tuesday, October 3, 2017 at 1:16:54 AM UTC+4, Todd Bradley wrote:
What do you mean by "show execution in browser"? Do you mean you want to view an HTML test report after the tests are finished?

On Mon, Oct 2, 2017 at 2:06 PM, Hari <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="j8gFEIX4CAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">hari...@...> wrote:

We are using TestNg frame work to execute functional test cases. The execution is triggered by running Batch script task and it will call chrome driver and execution goes. Now my organisation is requesting to show execution in browser at the time of execution. Can you please suggest some solution to view the execution in browser. Now i can see only the log details.

batch file content

@echo off
set classpath=%classpath%;libs/*
java -Djava.util.logging.config.file=resources/logging.properties com.framework.testng.TestNGHandler

--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="j8gFEIX4CAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">testng-users...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="j8gFEIX4CAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">testng...@....
Visit this group at <a href="https://groups.google.com/group/testng-users" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/group/testng-users&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/group/testng-users&#39;;return true;">https://groups.google.com/group/testng-users.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: TestNg execution with VSTS

shivanshu sharma
In reply to this post by Hari
Hello,
I believe you are using jenkins and jenkins is not able to open your browser. If this is the case try install jenkins with .war file and run it from command line. 

And there is one more solution to it but that didn't work for me.
Here:-

Virus-free. www.avast.com

On Tue, Oct 3, 2017 at 1:36 AM, Hari <[hidden email]> wrote:

We are using TestNg frame work to execute functional test cases. The execution is triggered by running Batch script task and it will call chrome driver and execution goes. Now my organisation is requesting to show execution in browser at the time of execution. Can you please suggest some solution to view the execution in browser. Now i can see only the log details.

batch file content

@echo off
set classpath=%classpath%;libs/*
java -Djava.util.logging.config.file=resources/logging.properties com.framework.testng.TestNGHandler

--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: TestNg execution with VSTS

Peaceful R
I am using VSTS to execute test cases. I need to bring chrome driver execution in browser from background to foreground 

On Tuesday, October 3, 2017 at 11:18:52 AM UTC+4, shivanshu sharma wrote:
Hello,
I believe you are using jenkins and jenkins is not able to open your browser. If this is the case try install jenkins with .war file and run it from command line. 
Reference:- <a href="http://learn-automation.com/selenium-integration-with-jenkins/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Flearn-automation.com%2Fselenium-integration-with-jenkins%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGwsRrPmXt3xqVWq4Mpzq0LFx21yw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Flearn-automation.com%2Fselenium-integration-with-jenkins%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGwsRrPmXt3xqVWq4Mpzq0LFx21yw&#39;;return true;">http://learn-automation.com/selenium-integration-with-jenkins/

And there is one more solution to it but that didn't work for me.
Here:-
<a href="https://stackoverflow.com/questions/9618774/jenkins-selenium-gui-tests-are-not-visible-on-windows" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fstackoverflow.com%2Fquestions%2F9618774%2Fjenkins-selenium-gui-tests-are-not-visible-on-windows\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF8YpUT8Q8cY7Z_LozutBAAcAof2g&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fstackoverflow.com%2Fquestions%2F9618774%2Fjenkins-selenium-gui-tests-are-not-visible-on-windows\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF8YpUT8Q8cY7Z_LozutBAAcAof2g&#39;;return true;">https://stackoverflow.com/questions/9618774/jenkins-selenium-gui-tests-are-not-visible-on-windows

<a href="https://www.avast.com/sig-email?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=webmail" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Dwebmail\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFuftbSgu95389HmI-4V1nVL3tGJw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Dwebmail\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFuftbSgu95389HmI-4V1nVL3tGJw&#39;;return true;"> Virus-free. <a href="https://www.avast.com/sig-email?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=webmail" style="color:#4453ea" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Dwebmail\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFuftbSgu95389HmI-4V1nVL3tGJw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.avast.com%2Fsig-email%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Dwebmail\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFuftbSgu95389HmI-4V1nVL3tGJw&#39;;return true;">www.avast.com
<a href="#CA+FQmrV5j-5ub3a-A_iKUp69mv+9YFz8yzrY3bEP66Wty+D0AQ@mail.gmail.com_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1" rel="nofollow" onmousedown="this.href=&#39;#CA+FQmrV5j-5ub3a-A_iKUp69mv+9YFz8yzrY3bEP66Wty+D0AQ@mail.gmail.com_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2&#39;;return true;" onclick="this.href=&#39;#CA+FQmrV5j-5ub3a-A_iKUp69mv+9YFz8yzrY3bEP66Wty+D0AQ@mail.gmail.com_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2&#39;;return true;">

On Tue, Oct 3, 2017 at 1:36 AM, Hari <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="S6t0Wl4ZCQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">hari...@...> wrote:

We are using TestNg frame work to execute functional test cases. The execution is triggered by running Batch script task and it will call chrome driver and execution goes. Now my organisation is requesting to show execution in browser at the time of execution. Can you please suggest some solution to view the execution in browser. Now i can see only the log details.

batch file content

@echo off
set classpath=%classpath%;libs/*
java -Djava.util.logging.config.file=resources/logging.properties com.framework.testng.TestNGHandler

--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="S6t0Wl4ZCQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">testng-users...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="S6t0Wl4ZCQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">testng...@....
Visit this group at <a href="https://groups.google.com/group/testng-users" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/group/testng-users&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/group/testng-users&#39;;return true;">https://groups.google.com/group/testng-users.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: TestNg execution with VSTS

⇜Krishnan Mahadevan⇝
I dont think this query has got anything to do with TestNG. Request you to please post this query on the [hidden email].

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/

On Thu, Oct 5, 2017 at 1:09 PM, Peaceful R <[hidden email]> wrote:
I am using VSTS to execute test cases. I need to bring chrome driver execution in browser from background to foreground 

On Tuesday, October 3, 2017 at 11:18:52 AM UTC+4, shivanshu sharma wrote:
Hello,
I believe you are using jenkins and jenkins is not able to open your browser. If this is the case try install jenkins with .war file and run it from command line. 

And there is one more solution to it but that didn't work for me.
Here:-

Virus-free. www.avast.com

On Tue, Oct 3, 2017 at 1:36 AM, Hari <[hidden email]> wrote:

We are using TestNg frame work to execute functional test cases. The execution is triggered by running Batch script task and it will call chrome driver and execution goes. Now my organisation is requesting to show execution in browser at the time of execution. Can you please suggest some solution to view the execution in browser. Now i can see only the log details.

batch file content

@echo off
set classpath=%classpath%;libs/*
java -Djava.util.logging.config.file=resources/logging.properties com.framework.testng.TestNGHandler

--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testng-users...@googlegroups.com.
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.