I am relatively new to test studio and i am trying to store a collection of links that i get from Find.AllByAttributes("id=
~linktext");
Then the idea is to click one from the list. Currently i am trying this code to get the last:
HtmlAnchor dellink= alllinks.Last();
dellink.Click();
I am having issues on creating the list containing the elements and then casting the link into the
HtmlAnchor... Any ideas?
Thanks and Regards.
~linktext");
Then the idea is to click one from the list. Currently i am trying this code to get the last:
HtmlAnchor dellink= alllinks.Last();
dellink.Click();
I am having issues on creating the list containing the elements and then casting the link into the
HtmlAnchor... Any ideas?
Thanks and Regards.