about verification text in element

2 posts, 0 answers
  1. Oleg
    Oleg avatar
    14 posts
    Member since:
    Mar 2012

    Posted 15 Mar 2012 Link to this post

    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.
  2. Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 20 Mar 2012 Link to this post

    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
Back to Top