I have one testcase to check whether when user clicks add new particualr page is opened or not.
When i write the script it is recognised as
I want to check withrespect to header as whether particual innertext is displayed as yahoomail or not.
But in the above script i was unable get innertext property.
Please help me in this
Based on your answers it worked fine for me.Now a new problem iam facing.When i recognised an web element it is recognised based on the created names recently in Object repository.
Ex:I have a created one sorganisational structure with name R&D
In Object Repository it is recognised as Webelement with innertext as R&D.My doubt i wont create R&D always.So it may be variating from time to time.I even tried by keeping regular expression.But not worked.So anybody can give me a suggestion pls.