Hi,

  I am testing Ajax Functionality for remoteLink.

This is my code.

//Test Ajax Overlay for Edit.
    def testAjaxOverlayForAssetEdit() {

        tryLogin ( 'john', 'admin' )
        verifyText  'Import/Export'
        clickLink( label:'Assets' )
        *invoke( url: 'asset/editShow?id=1' )  // call for remoteLink in my
gsp *
        sleep(seconds:'15')
        clickLink( label:'Edit' )

    }


Error
Message

Current response is not an HTML page but of type application/json

  Here how to change response or how to check my resulting page for proper
values.
Please help me to solve this problem.

Thanks,

Mallu.

Reply via email to