Forum Discussion

cbrundell's avatar
cbrundell
Occasional Contributor
12 years ago

Cross Broweser testing failing in some areas

I am using TestComplete 9.31 to test a project page, I am setting up automated testing for this across the main browsers however some tests are failing on some browsers but if I was to test this manually I would not have a problem.



For example I record my test in IE 10 and configure this to run across all browsers, if I run the test then IE will function but the other browsers will fail the test and when reviewing the screenshots of the test run the steps at a certain point to not occur. It is not a case of the mouse click is not over the page component expected, but rather the mouse cursour stays in the same position as the last action and the steps just go through and error or provide a warning without actioning the step. The following is an example of the message returned during a test:




An error occurred while accessing the "Click" method or property of the "selectSelecteduserid" object.

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



As I have stated if I perform the same action manually then it works fine, I have made sure that my browsers have the plugins needed where required and other tests on other page elements complete ok. Can anyone offer a suggestion why I am getting these error messges?


5 Replies


  • Hi Chris,


     


    It looks like the issue is related to the fact that some unstable properties (whose values are changed) are used to map objects on a page.  In your example, I suggest that you check the Name Mapping criteria of the "selectSelecteduserid" object. Also, please remember about the browser differences listed in this article.


     

  • cbrundell's avatar
    cbrundell
    Occasional Contributor
    Thanks for the reply, however I am also having the same problems where I have recorded a test in IE 10 and then when running this as the first test again I have the same problems as the other browsers and the help is only for chrome and firefox.



    Is there a similar page for IE at all?
  • cbrundell's avatar
    cbrundell
    Occasional Contributor
    Thanks for the reply, I have turn through these steps for IE however they have made no difference to the outcome of the test log so it tells me at this stage the issues I am having are not down to the browser settings.



    I have run the site I am testing through CSS and W3C validation checks and it has come back with some issues, could this be causing problems with the tests when performing a cross browser test?