Forum Discussion

pradeep4_kumar's avatar
pradeep4_kumar
New Contributor
11 years ago

Cross browser issue in Demo version of TestComplete 10.40

I have created keyword driven tests in IE browser in TestComplete 10.40 ( Demo version) and I want to run the same tests in Firefox and Chrome browser. I have done all the required settings for Chrome and Firefox browsers. On execution these tests are passing on IE browser but same tests are failing on Chrome and Firefox browser after login to Web application( Application Under Test). Why this issue is happening ? Is this happening due to demo version of TestComplete or there is some other reason for it.

Please suggest how these cross browser tests become successful ?

3 Replies

  • nebti_nassim's avatar
    nebti_nassim
    Occasional Contributor
    Hello,



    More informations will be usefull here, what is your error message ? What do you try to perform at the instant where the error is raised ?

    Your error could also be that your version of TC is not patched for the versions of Firefox and Chrome that you are using.



    Regards, 



    Nebti Nassim
  • Hi Nebti,



    I have added the required patches for Chrome and Firefox browsers and have done the other required settings for these browsers. But the Keyword tests which are passing for IE browser are failing for  Chrome and Firefox browsers due to "object does not exist" issue. Test are failing at the first step only after login to the Web Application ( Application under test) due to object does not exist issue. If the same keyword test is passing in IE and getting all the objects in Name Mapping then why that object is changed in Firefox or Chrome browsers.

                 These keyword tests are failing randomly at different steps due to this "Object does not exist" issue. So, I am not able to understand how objects are changing for Chrome and Firefox browsers. Please let me know the solution for this issue or this is happeing due to demo version of TestComplete; please let me know.



    Thanks,

    Pradeep
  • nebti_nassim's avatar
    nebti_nassim
    Occasional Contributor


    I don't think that you objects are changing really. If I have to guess, I should say that, maybe your properties used for map your objects only exist for IE, try to open a console in Chrome(F12 in Chrome) or Firefox and inspect your application's elements that fail to be recognized and see if they got there the properties used for your name mapping.

    If you can't find them, then we can assume that those properties used for mapping are generated by IE (just like in Win objects ControlID and WndClass are generated automaticaly).



    If that's not the case then, sorry but I don't know much than this,



    EDIT: I didn't think about it but, do you wait for all your elements to be loaded before testing them ? If it's not the case, before testing an object do like this in your keyword test :



    While...Loop(my.object.exist() == false )

    {

        delay(t)

    }



    Hope that can help you,



    Nassim