Forum Discussion

Weidson_Cordeir's avatar
Weidson_Cordeir
Contributor
14 years ago

TC does not recognize property the Button

The TC generates the following code, more the run the code  TC does not recognize the button


Aliases.LGComponentesConfig.wndWindowsForms10Window8app0378734a.WindowsForms10Window8app0378734a.WindowsForms10Window8app0378734a1.btnConfigurar.ClickButton



 Log error:

 The button does not exist







 


5 Replies

  • Hi,



    When you face an "object not found" error, a link to the corresponding help topic is posted to the test log. Have you tried following the suggestions provided in the help topic, a link to which has been posted to your test log? What were the results? If the help topic was not enough for you to find the cause of the problem, let us know what problems you faced while diagnosing the problem so we can improve our documentation.



    BTW, a list of the corresponding help topics (depending on specific error messages) can be found in the Handling the 'Object Not Found' Errors help topic. Suggestions provided in the "Handling the 'Object Does Not Exist' Error" topic are usually enough to diagnose such problems.
  • This is the only error it generates.


    An error occurred when executing the "Click" method or property of the "RichEdit20W" object.

    The object or one of its parent objects was not found in the system.


    Tested Object

    ------------------

    Alias: Aliases.msiexec.wndMsiDialogCloseClass.RichEdit20W

    Mapping item: NameMapping.Sys.msiexec.wndMsiDialogCloseClass.RichEdit20W


    Missing Object

    ------------------

    Alias: Aliases.msiexec.wndMsiDialogCloseClass.RichEdit20W

    Mapping item: NameMapping.Sys.msiexec.wndMsiDialogCloseClass.RichEdit20W





     In the error log does not generate any link.

     What should I do?


     Att,

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor
    That error does not match your previous post.  It indicates that an edit field is not available.



    This appears to be, both for the RichEdit as well as for the button, a timing issue where the automated test is executing faster than the application.  If there are delays in the application under test where the time it takes to display a form or component exceeds the Auto-wait timeout in the project properties, you'll get these kinds of messages.



    I would recommend reading http://smartbear.com/support/viewarticle/14496/



    http://smartbear.com/support/viewarticle/12176/



    and 



    http://smartbear.com/support/viewarticle/12168/



    as they may be relevant to what you're experiencing.


  • Hi,



    In my previous post, I posted the help topics which provide information on resolving such errors. Have you tried troubleshooting your error using them?
  • Good Afternoon,


     The project was temporarily paralyzed.

     When I return the automation Jared i will check on your topic.


     Thank you.