Are you talking about user controls contained in .ascx files? In general, LTAF doesn't care how the HTML got into the page, all you need is a way to locate the HTML elements that you care about. The easiest thing to use is the ID of the element, this can
be a little tricky with user controls because asp.net will auto generate concatenated id's for controls contained in the user control. To mitigate this fact, LTAF has multiple ways to locate by id (checkout the overloads of the Find method).
If this is not what you meant, can you provide some more details?
- Federico
Marked as answer by osbornm on Oct 10, 2009 12:15 AM
akisasp
0 Points
4 Posts
Custom User controls
May 19, 2009 11:49 AM|LINK
Hello,
first of all congratulations for a really nice work.
Could you please give me an example how to test pages that contain custom user controls?
Thannks
farmas
Participant
1164 Points
259 Posts
Microsoft
Re: Custom User controls
May 20, 2009 03:34 AM|LINK
Hello,
Are you talking about user controls contained in .ascx files? In general, LTAF doesn't care how the HTML got into the page, all you need is a way to locate the HTML elements that you care about. The easiest thing to use is the ID of the element, this can be a little tricky with user controls because asp.net will auto generate concatenated id's for controls contained in the user control. To mitigate this fact, LTAF has multiple ways to locate by id (checkout the overloads of the Find method).
If this is not what you meant, can you provide some more details?
- Federico
akisasp
0 Points
4 Posts
Re: Custom User controls
May 21, 2009 10:23 AM|LINK
Thanks,
that was what I meant.