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

about verification text in element

1 Answer 51 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Oleg
Top achievements
Rank 1
Oleg asked on 15 Mar 2012, 01:47 PM
i have Test Express (VS Plugin).i can`t perform verification of my site  (unfortunately , is a local site, don`t viewing in Internet).
in context menu (Quck task, DOM explorer,3D view i see visible ,tooltip verification, but not the text).there is a two questions
1)what site i can use for test of Test express, sorry for such words? www.google.com ?
2) more important question -this is a VS code for edit in Silverlight (in HTML verification don`t granted too)
[CodedStep(@"Type 'blabla' into SearchBoxExtendedtextbox - DataDriven: [$(job)]", RequiresSilverlight = true)]
        public void WebTest3_CodedStep2()
        {


            // GenericSetTextActionDescriptor code generation has not been implemented yet


        }


how i can edit this code for adding verification?give me a sample,please.in future i want  avtomatically create VS code for test, i can write in VS autoadding verification or something.

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 20 Mar 2012, 01:45 PM
Hello Oleg,

1) For testing purposes you can use every site that is publicly accessible. For example:

2) Looking the provided coded step, I can tell you are testing a custom TextBox control(SearchBoxExtendedtextbox)  and this is the reason you are not able to find the Text verification in the Quick Tasks menu. To get the text content from a custom control, you need to use the Text property into a coded step. Please check this video demonstrating how to do that. 


Kind regards,
Plamen
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Oleg
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or