This is a migrated thread and some comments may be shown as answers.

Identifying web page objects

1 Answer 70 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Srinivas
Top achievements
Rank 1
Srinivas asked on 25 May 2011, 02:21 PM
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"

1 Answer, 1 is accepted

Sort by
0
Stoich
Telerik team
answered on 31 May 2011, 04:33 PM
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
Tags
General Discussions
Asked by
Srinivas
Top achievements
Rank 1
Answers by
Stoich
Telerik team
Share this question
or