Forum Discussion

mohanapriya's avatar
mohanapriya
New Contributor
9 years ago
Solved

Test complete with web services

HI....

 

 

 

Selected web services with WSDL document and added into the project suite.

 

Go To definition Button is not enabled in the added web services.

 

Can any one suggets how to start up and make enable the button Go To definition ......

  • Hi,

     

    The button is disabled because the returned result value is of simple type.

    As all parameters of the ConversionRate method are of simple types, the call of the method will be something like this (see the line above the table with Objects and Methods table on your screenshot):

    iRate = WebServices.WebService1.ConversionRate('UDS', 'EUR')

    Log.Message(iRate)

     

    I would recommend to go through the sample WebServices project that can be found in the C:\Users\Public\Documents\TestComplete11 Samples\ folder and read the relevant section of TestComplete documentation (https://support.smartbear.com/viewarticle/73729/) to get a better understanding on how to test web services with TestComplete.

1 Reply

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3

    Hi,

     

    The button is disabled because the returned result value is of simple type.

    As all parameters of the ConversionRate method are of simple types, the call of the method will be something like this (see the line above the table with Objects and Methods table on your screenshot):

    iRate = WebServices.WebService1.ConversionRate('UDS', 'EUR')

    Log.Message(iRate)

     

    I would recommend to go through the sample WebServices project that can be found in the C:\Users\Public\Documents\TestComplete11 Samples\ folder and read the relevant section of TestComplete documentation (https://support.smartbear.com/viewarticle/73729/) to get a better understanding on how to test web services with TestComplete.