Click here to Skip to main content
15,887,350 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Task:

I have created a Selenium Automation Scripts using the Visual studio and C# language, I have the set of files including Assemblies [DLL and Executable] in the bin folder of the project.

How does it work?

When I click on the executable it automatically triggers the Firefox and launch the website and check for the automation testing scripts as it is coded, which works as expected when deployed to the "Web Server" box which has the firefox installed.

Where I face Issue?

I have to deploy the same application in the azure environment, instead of deploying in the "App Services" I found it's better to deploy the executable to be deployed as "Web Jobs" which can be executed automatically on daily basis.
When I execute Web jobs in the azure environment, where can I execute the browser from an application?

How does this work?

Is azure cannot support this kind of automation testing?

Please suggest me or correct me with the proper way of deployment.

What I have tried:

I deployed the application in Web Jobs, web jobs executes and stops with Filed status after some few seconds, hope it cannot initiate a browser.
Posted
Updated 20-Aug-16 0:44am
v3
Comments
David_Wimbley 22-Aug-16 12:57pm    
You need to post some code to show how you are running selenium. Im not familiar with azure jobs, but in general, if you want to run selenium in some autonomous manner that is not started by you directly, you need to utilize selenium RC server.
Bhuvanesh Mohankumar 22-Aug-16 13:20pm    
@David Thanks for your Comments, the selenium Automation application is similar to Console Application, say for example a simple console application used to open a browser and open a website, where now I face issue with opening browser in Azure environment, since the individual server where we will have schedule jobs will execute the browser installed in server and start that process. In Azure this is not possible, so need suggestions from Azure experts.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900