is there a way to get the protected mode setting from ie using RFt? We've applied the fix to get RFT to work when protected mode is on (setText doesn't work previously) but we also find that it takes the page a bit longer to load when protected mode is on. Is there a way to get that property from IE??
Thank you for the link. But my situation is different. We don't necessary wants to change the the mode and we can't anyway as we are not an admin. Our organization had set Protected mode OFF if the site is intranet and it set the Protected mode on if the website is Internet. Unfortunately, some sites that we tests are from intranet but at times, it have links to internet. The problem arise when we reach Internet sites and RFT having difficulty due to the Protected mode being on. Ideally, we want to able to detect when the protected mode is on and create a "IF" or "CASE" to deal with when "protected mode is on."
I am trying to find a property or ways to know when the status changed from protected mode off to ON
Ideally in your test run environment, you'll install fake certificates so internally your site will look like a secure internet site.
A lot of new test engineers don't think of their tests as things that are deployed. So you'll want to think about when you run your automated tests, how to deploy your test certs and settings prior to executing the tests. Imagine you have a fresh machine instances straight off the cloud. What are all the things you need to do to get a test running smoothly and unsupervised.
This might involve imagine and versioning your runtime enviornment.
When I use to run RFT.. I had Jenkins compile the test into a Jar file. Then when the test was run in a downstream job, it spun up a versioned virtual machine with the test envionrment with all the software and test certs installed, deployed the jar file on that machine, ran the test, and exported the test results back to jenkins.
Last edited by dlai; 10-01-2014 at 12:51 PM.