Forum Discussion

adrianbrown's avatar
adrianbrown
New Contributor
14 years ago

icefaces

hi, Has anyone used Testcomplete with ICEFaces/Java server pages ? WHat is the best way to handle the ids injected by this  technology ? Anyonw got experience of ICEFaces with TestComplete ?



3 Replies

  • Hi,



    You can work with any web applications in the same way (see the Testing Web Applications help topic). TC works with them via a browser, and they all are simple HTML pages from the browser's point of view. It doesn't matter how exactly your web application is created.



    In general, the only possible difficulty is a dynamic structure of the tested page, which can be handled with Name Mapping (for example, see this video).
  • I have been told that the IDs can all change when an application is redeployed ( ie a new version ) would namemapping get around that as well ?  would an existing script ( That mapped to properties other than an ICEFace ID like 'J_ID123'  continue to run ? 

    I have been told by another membrr of smartbear that Find/Findall was the only way to tackle ICEFaces. So can you confirm that namemapping can handle ICEFaces between deployments ?



     
  • Hi,



    Name Mapping works mostly like Find - it uses similar mechanisms to locate objects. Consider it as an "automatic Find". So, if you don't use properties with dynamic values in Name Mapping, it will work even if they change just like Find would work.