ERORR IN RUN TIME

3 posts, 0 answers
  1. Ndimphiwe
    Ndimphiwe avatar
    2 posts
    Member since:
    May 2012

    Posted 08 May 2012 Link to this post

    Hi guys

    I am still new on the telerik environment but I am Automated testing but I am encountering an error when I play back my recorded test and the error is as below :

    rall Result: Fail
    ------------------------------------------------------------
    '5/8/2012 1:44:39 PM' - Using .Net Run-time version: '4.0.30319.239' for tests execution.
    '5/8/2012 1:44:39 PM' - Starting execution....
    '5/8/2012 1:44:39 PM' - Detected a Silverlight Test. Setting EnableSilverlight=True
    ------------------------------------------------------------
    ------------------------------------------------------------
    '5/8/2012 1:44:48 PM' - Using 'InternetExplorer' version '8.0' as default browser.
    '5/8/2012 1:44:58 PM' - 'Pass' : 1. Navigate to : 'http://nemo3tfe.swisttech.corp/'
    '5/8/2012 1:45:07 PM' - 'Pass' : 2. Type 'xhantiza' into UsernameTextbox
    '5/8/2012 1:45:18 PM' - 'Pass' : 3. LeftClick on Item1Textboxview
    '5/8/2012 1:45:40 PM' - 'Pass' : 4. Type 'vuyisa01' into PasswordPasswordbox
    '5/8/2012 1:45:42 PM' - 'Pass' : 5. Click LoginRadbutton
    '5/8/2012 1:45:55 PM' - 'Pass' : 6. radtabitem: item 'Search' select action.
    '5/8/2012 1:45:57 PM' - 'Pass' : 7. radtabitem: item 'Notices (6)' select action.
    '5/8/2012 1:45:59 PM' - 'Pass' : 8. radtabitem: item 'Summaries' select action.
    '5/8/2012 1:46:01 PM' - 'Pass' : 9. Click RefreshDashBoardsRadbutton
    '5/8/2012 1:46:04 PM' - 'Pass' : 10. Click on AutomaticRefreshCheckbox
    '5/8/2012 1:46:06 PM' - 'Pass' : 11. Click on ShowAllCheckbox
    '5/8/2012 1:46:10 PM' - 'Pass' : 12. RightClick on PendingTextblock
    '5/8/2012 1:46:12 PM' - 'Pass' : 13. radmenuitem: 'View' click action.
    '5/8/2012 1:46:15 PM' - 'Pass' : 14. radtabitem: item 'Case 500389' select action.
    '5/8/2012 1:46:22 PM' - 'Pass' : 15. Manual: Wait...
    '5/8/2012 1:46:38 PM' - 'Fail' : 16. RightClick on BusyTextblock
    ------------------------------------------------------------
    Failure Information:
    ~~~~~~~~~~~~~~~
    Unable to locate element. Details: Attempting to find [Silverlight] element using
    Find logic
     (Html): [id 'Exact' silverlightControlHost] AND [tagname 'Exact' div][tagname 'Exact' object]
     (Silverlight): [name 'Exact' ContentControl01] AND [XamlTag 'Exact' contentcontrol][XamlPath 'Exact' /contentpresenter[0]/casesummaryview[0]/radbusyindicator[0]/grid[0]/contentcontrol[name=Content]/contentpresenter[0]/border[0]/grid[0]/radgridview[automationid=CasesGrid]/border[name=PART_MasterGridContainer]/grid[name=HierrarchyBackground]/gridviewscrollviewer[automationid=PART_ItemsScrollViewer]/grid[name=PART_RootPanel]/scrollcontentpresenter[name=PART_ScrollContentPresenter]/gridviewvirtualizingpanel[automationid=PART_GridViewVirtualizingPanel]/gridviewrow[0]/border[0]/selectivescrollinggrid[name=grid]/datacellspresenter[name=PART_DataCellsPresenter]/grid[0]/itemspresenter[0]/gridviewcellspanel[0]/gridviewcell[2]/grid[0]/contentpresenter[name=PART_ContentPresenter]/textblock[0]]

    Unable to locate element. Search failed!
    I tried to cheat it out by forcing it to contine with steps when it failed but still the same error please help
  2. Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 08 May 2012 Link to this post

    Hi Ndimphiwe,

    Thank you for the provided execution log. See here for information on how to troubleshoot the common Unable to locate element error.

    If the test is failing during Quick Execution, you can increase the global Wait on elements timeout setting in Quick Execution Options. The bottom of this page shows where to find that setting. If it's a Test List, you can do the same from the Test List Settings. This will extend the built-in wait for each action step.
     
    You can also increase the timeout for the current step as seen in this video.

    Another option is to add a "Wait for exists" step right before the failing step. Here's a video showing one way to do that.

    Regards,
    Plamen
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  3. Ndimphiwe
    Ndimphiwe avatar
    2 posts
    Member since:
    May 2012

    Posted 08 May 2012 Link to this post

    Hi  thank you I have already sorted it out but thanks for the info it helped me to do the play back a bit faster
     
Back to Top