Forum Discussion

lucas_souza's avatar
11 years ago

Can't find object


Hello

I'm having a problem when trying to execute a test on our application's web page.



There is a grid with many itens, and i need to select one of them.



If I go on the object browser, and look for the object, I can find it.

I can also find and point to it using the object spy:

Aliases.browser.pagePcFactoryV40.panelUiPageUiPageThemeAUiPageAct.panelContainer.panelNgviewportNgScope.panelNgScopeNgrowOdd.linkTlinkTbluserCode



But when I try to use this object to do an operation, the test stops and I get an error that the object can't be found.



Even if I record the test and try to execute it again, it gives me the same error.



I'm recording the test and playing back both on Internet Explorer.



If I do play the very same test on Chrome or Firefox, the component is located, and the test does not fail.



But this same problem happened with other objects and with other browsers, and I managed to correct it by recording the test one more time, or pointing to the object again.





Up to until now I had only used TestComplete to test our Delphi aplications.

It's the first time I'm working with the Web module.

Am I doing anything wrong here?



Thanks


1 Reply


  • Hi Lucas,


     


    Refer to the AdditionalInfo tab of the error you get in the Test Log. It contains more information about the problem, as well as the steps describing how to troubleshoot it.


    If this doesn't help, post here the text from the AdditionalInfo tab.