Forum Discussion

bhakti's avatar
bhakti
Contributor
10 years ago

Script of one machine is not getting executed on different machine

Hi,   Keyword test of one machine is not getting executed on different machine though browser/machine  enviorement is set. (i have converted keyword test into script and run it still not worked) ...
  • AlexKaras's avatar
    AlexKaras
    10 years ago

    Hi,

     

    I would select the object using Object Browser on both machines and compare the value of its FullName property. If the value differs, this means that the objects are different and you should consider how to identify them.

    If the value is the same, than this is the timing problem and you should investigate how this object is created and how to wait for it to appear (for example, if the object is created as a result of the async ajax query, then it might help if you try to search for the object several times (e.g. 10 times) with some delay between search attempts (e.g. 1 sec)). Considering the above example, your code will assume that the object must appear within 10 seconds and if it does not then this must be treated as the error.