When I navigate to a webpage in my test, I would like to set the browser title displayed with a custom text when running my test. Is it possible to do this by code ?
Thanks
1 Answer, 1 is accepted
0
Stoich
Telerik team
answered on 15 Apr 2011, 09:53 AM
Hello Michel,
the title of a page is defined in the HTML code describing that page: http://www.w3schools.com/TAGS/tag_title.asp
You can get the title of a page in code like this:
String title = ActiveBrowser.PageTitle;
But there's no way Test Studio can actually change the HTML code to change the title.
Hope to hear from you soon.
Greetings,
Stoich
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items