Alternative to 'Location'

Ask general questions here.
User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Alternative to 'Location'

Post by Support Team » Tue Jul 28, 2015 3:19 pm

Hi Betty,

The "--disable-web-security" argument should allow you to track the elements inside that specific window.

What you could also try is to start Chrome with the following command line argument: "--ignore-certificate-errors", but please understand that this is not a Ranorex specific issue, this is a web security related issue, so this is nothing we can change from our site.
There are different arguments for Chrome, so there may also be another one which would allow you to handle your specific scenario.

In my opinion using the "ServicePointManager" class just makes sense when you would create a connection to an Internet resource in code, but not when you use an external Browser.

Thank you for your understanding.

Regards,
Markus

c676228
Posts: 176
Joined: Mon Apr 06, 2015 5:40 am

Re: Alternative to 'Location'

Post by c676228 » Tue Jul 28, 2015 9:43 pm

Hi Ranorex Support,

Ok, after a lot of pain of dealing ssl warning from Chrome etc., I export the self-signed ssl and re-import to the
Trusted Root Certificate Authorities. The ssl warnings from all browsers are gone.

No popupwatcher, no mapping is needed for unnecessary web elements which are not even part of SUT.

Betty