Identifying web page objects

2 posts, 0 answers
  1. Srinivas
    Srinivas avatar
    2 posts
    Member since:
    May 2011

    Posted 25 May 2011 Link to this post

    Hi,
    I am trying to use .settings file to take care of my web objects. Like, i have a web page where i have a  text box.

    Please see the file that i attached to have a look at my settings file in VS.

    I have given name for my object as "MyTextBoxHere", type as "ArtOfTest.WebAii.Controls.HtmlControls.HtmlInpuTextbox", scope as "user" and i am not sure of the format of passing the value....

    However, i tried to pass html tag name, ID etc..but, when i tried to save the same , i was getting an error pop up like, cannot convert to an instance of type "ArtOfTest.WebAii.Controls.HtmlControls.HtmlInpuTextbox"
  2. Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 31 May 2011 Link to this post

    Hi Srinivas,
           you're trying to use the Settings.Settings file in a way that it isn't intended to be used. You can identify elements in the code itself - you don't need a Settings file. Check out this section of our online docs:
    http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/telerik-testing-framework/intermediate-topics/element-identification/finding-page-elements.aspx

    Let me know if you require any further assistance on this.

    Best wishes,
    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
Back to Top