Run selenium from client side

Home / Uncategorized / Run selenium from client side

Question:
Hello 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


Answer:
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.
Read more

Leave a Reply

Your email address will not be published. Required fields are marked *