data binding test

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

    Posted 13 Mar 2012 Link to this post

    i`d succesfully binding my xml file in Test Express test  (xml file has a few columns "job","city")
    after that i`ve changed static text "qa" in typed text (inserted sucessully during test execution) to $(Input job). fails. where is mistake?

    log:

    '13.03.2012 18:42:13' - 'Fail' : 17. Type 'gara' into SearchBoxExtendedtextbox - DataDriven: [$(Input job)]
    ------------------------------------------------------------
    Failure Information: 
    ~~~~~~~~~~~~~~~
    Column name 'Input job' does not exist!
    InnerException:
    System.ArgumentException: Column name 'Input job' does not exist!
       в ArtOfTest.Common.Design.Data.DataResolver.GetMatchValue(Match match, DataRow data, Boolean throwError)
       в ArtOfTest.Common.Design.Data.DataResolver.GetMatchString(String expression, DataRow data, Boolean error)
       в ArtOfTest.Common.Design.Extensibility.Descriptors.AutomationDescriptor.BindData(String propertyName)
       в ArtOfTest.Common.Design.Extensibility.Descriptors.AutomationDescriptor.BindData[T](String propertyName)
       в ArtOfTest.WebAii.Design.IntrinsicTranslators.Silverlight.Descriptors.GenericSetTextActionDescriptor.Execute(IApplication autoHost)
       в ArtOfTest.WebAii.Design.Extensibility.XamlActionDescriptor.Execute(IAutomationHost autoHost)
       в ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
    ------------------------------------------------------------
    '13.03.2012 18:42:13' - Detected a failure. Step is marked 'ContinueOnFailure=True' continuing test execution.
    '13.03.2012 18:42:23' - 'Pass' : 18. Wait for '9500' msec.
    '13.03.2012 18:42:24' - 'Pass' : 19. Press Back
    '13.03.2012 18:42:34' - 'Pass' : 20. Wait for '9500' msec.
    '13.03.2012 18:42:35' - 'Fail' : 21. Type 'd' into SearchBoxExtendedtextbox - DataDriven: [$(Input A)]





  2. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 13 Mar 2012 Link to this post

    Hello Oleg,

    First, ensure you Attach the Column via the Data Driven Editor. Next, if your column is named Job, then that exact text is what should go in the expression:
    • $(Job)

    The Input part is unnecessary unless your column name actually contains that.

    Kind regards,
    Anthony
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  3. Oleg
    Oleg avatar
    14 posts
    Member since:
    Mar 2012

    Posted 14 Mar 2012 Link to this post

    yes, thanks, it`s working. about verification. in you answer there is a referense to such picture http://www.telerik.com/automated-testing-tools/libraries/automatedtesting-kb-files/sa-quick-tasks.sflb
    but i`m see this windows without verify text, bit verify visible is granted.why? what ..can i dooo?
  4. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 14 Mar 2012 Link to this post

    Hello Oleg,

    The available verifications are based on what type of element you're targeting. You may need to access the DOM Explorer from the Elements Menu and manually locate the correct element.

    To continue troubleshooting, it would be helpful if you can provide a public site that contains the same type of element you're verifying so we can see the issue you're facing.

    Kind regards,
    Anthony
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top
  Cast Your Vote at DevPro Connections! Cast Your Vote at  Win IT Pro Connections!