0
votes

enter image description here

I have built an ASP.net web app which implements Selenium driver . my problem is that all the tests are running fine on local machine but after deployment and logging into my website as client and start the test the driver does not launch or make any reaction neither on the server machine nor the client machine

some of log file

#Software: Microsoft Internet Information Services 8.5 #Version: 1.0 #Date: 2017-08-15 02:24:24 #Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username >c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status >time-.taken 2017-08-15 02:24:24 10.0.2.15 GET / - 80 - 217.55.249.44 Mozilla/5.0+>>(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+>(KHTML,+like+Gecko)+Chrome/60.0.3112.90+Safari/537.36 - 200 0 0 534 2017-08-15 02:24:24 10.0.2.15 GET /pages/css/Datafinderstyle.css - 80 - >217.55.249.44 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+>>(KHTML,+like+Gecko)+Chrome/60.0.3112.90+Safari/537.36 >http:/// 200 0 0 198 2017-08-15 02:24:24 10.0.2.15 GET /favicon.ico - 80 - 217.55.249.44 >Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+>(KHTML,+like+Gecko)+Chrome/60.0.3112.90+Safari/537.36 >/ 404 0 2 253 2017-08-15 02:24:28 10.0.2.15 GET / - 80 - 217.55.249.44 Mozilla/5.0+>(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+ 2017-08-15 03:40:08 10.0.2.15 GET / - 80 - 217.55.249.44 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/60.0.3112.90+Safari/537.36 - 200 0 0 288 2017-08-15 03:40:15 10.0.2.15 POST / - 80 - 217.55.249.44 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/60.0.3112.90+Safari/537.36

1
Did you check the logs on the server where you are deploying the site?Tarun Lalwani
Can you add more details, probably some relevant code where you are facing the issue with?Souvik Ghosh
yes I did still not getting the problemMoaaz Mahmoud
So I assume, I open your website, you want Selenium to a run a browser on my machine?Tarun Lalwani
no the problem is that selenium does not run any where I want it to tart running on the server machineMoaaz Mahmoud

1 Answers

0
votes

What operation system do you use on your local machine and your server? Sometimes such problems like yours are caused by: a) bad permissions on the server to the files b) firewall blocks your tests because of security issues Check both this options and give feedback.