The problem is that if the Frame("navigation") object doesn't exist as an object, you can't call the "Exists" property... how can you check the property of an object when the object doesn't exist?
So... you need to trick it... That's what the WaitFrame method should be doing. I'm curious as to what error you got with it.
Here is how I would implement your code using WaitFrame
if (Sys.Process("iexplore", 2).Page("https://192.168.1.100/abc/defg/login.do?action=secure").WaitFrame("navigation", 10000).Exists)
{
Log.Event("new login");
}
else
{
Log.Event("existing login");
}Here's the documentation on WaitFrame
http://smartbear.com/support/viewarticle/12753/Does this help?