02-26-2013, 10:39 AM
The validation for the below code should include another object which will uniquely identify your condition. ,
This will check for the sign in button and if it exists it would mean that there are required fields else, on a successful page it will not have this button.
Helps?
Code:
If Browser("World's Largest Professional").Page("Sign In | LinkedIn"). Exist
Code:
If Browser("World's Largest Professional").Page("Sign In | LinkedIn")..WebButton("Sign In").Exist
This will check for the sign in button and if it exists it would mean that there are required fields else, on a successful page it will not have this button.
Helps?
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.