Forum Discussion

maxthomassin2's avatar
maxthomassin2
Occasional Contributor
11 years ago

Working only on one user

Hello everyone,



I created many scripts using TestComplete 9 and its working well.



But, we have a problem when we want to run the script using another user. We tried on different computer and with my username its working, but not with other user even on my computer.

9 Replies

  • maxthomassin2's avatar
    maxthomassin2
    Occasional Contributor
    Im reading the url from a Excel file. The url is fine and its the good page, but its not found. If im on my user, its working, but not with other user.
  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Maxime,


     


    I suppose the issue is related to the fact that some user-specific parameters are used in your test. For example, directory name where the Excel file is located.


    BTW, can you post the URLs you are getting from the file here?


     

  • Hi Maxime



    I guess Tanya is asking for the Excel file location.

    BTW what error message are you getting in TC log?



    My project scripts are running successfully on different machines and with different users. I'm interested to know what is the issue with your project.



    Regards

    Mughees Siddiqui.
  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Maxime,


     


    First of all, you missed the dot before the site name: https://www.sys.sipad.rtss.qc.ca


    I know that Chrome can handle this situation. However, I'm not sure about other browsers.


     


    Also, try using the Wait method to wait until the page is fully loaded, and you can execute testing over it. Please refer to the "Wait Method (Page Objects)" article for more information.


     

  • maxthomassin2's avatar
    maxthomassin2
    Occasional Contributor
    The url is good, the web page load correctly, but the overlay say : Waiting for page



    https://wwwsys.sipad.rtss.qc.ca/sipadFon/authentification.do*



    I only have this issue when it's not my account.



    Heres the addionnal information in the log :

    The Process("iexplore") does not contain Page("https://wwwsys.sipad.rtss.qc.ca/sipadFon/authentification.do*").



    I attached the webpage (there is no overlay since my printscreen wasnt capturing it)
  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Maxime,


     


    According to the error, TestComplete cannot obtain the Page object for some reason. Could you please describe in detail how you are running your test under another user? Did you try launching TestComplete as an Administrator when you logged in under the problematic account?