Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    isc.AutoTest api

    Hi,

    I think you need to update API documentation for AutoTest class on your website.
    http://www.smartclient.com/docs/8.2/a/b/c/go.html#classMethod..AutoTest.locateCanvasFromDOMElement

    e.g. getLocatorFormItem is not documented. I am not sure if there are other methods which might be useful for testing.

    Thanks.

    #2
    I was using isc.AutoTest.getLocatorFormItem method to find error messages next to the form item for my automated testing but I see this method is no more available in 8.3

    Code:
    var formItem = isc.AutoTest.getLocatorFormItem(scLocator); 
    return formItem.getError();
    Can you please provide an alternative to get the formItem from a locator?

    Thanks, Amit

    Comment


      #3
      I'm not sure why you think it's been removed. I verified this function is still present both in our public www showcase http://www.smartclient.com/#main (v8.3) and the v8.3 Eval SDK download http://www.smartclient.com/builds/SmartClient/8.3p/Eval. This FAQ explains how to check your version: http://forums.smartclient.com/showth...t=8159#aUpdate.

      However, you should probably be using the publicly documented isc.AutoTest.getObject() API, which should do the same thing in the case of FormItems.
      Last edited by Isomorphic; 29 Nov 2012, 11:52.

      Comment


        #4
        My apologies for the confusion created. Yes it is still there and I see the getObject method in 8.3 (it was not there in 8.2). I shall change my code to use this method.

        Comment

        Working...
        X