search for a webelement
In my script I am searching for a string which is a webelement and if the element is found then test is pass if not fail. I have the following code
Browser("title:=name").Page("title:=name").Link("t ext:="&Channel, "html tag:=A").Click
'rc = Browser("title:=name").Page("title:=name").WebElem ent("text:="&display_name".GetToProperty("innertex t")
But it is not working. It is displaying a message that Link Object is not in repository.
But as I have given the text and html tag, shouldn't it work?
Re: search for a webelement
This is confusing, your title has WebElement, your last statement says Link?
Which line is failing the Link or the WebElement?
Don't know if it's a typo but your WebElement has a ) missing.
Are you sure your Browser/Page title is name?