cancel
Showing results for 
Search instead for 
Did you mean: 

Can we automate SAP GUI Transactions starting a Web Application with CBTA tool ?

vijayjeethuri
Participant
0 Kudos

Hello All,

I have one requirement, I have to automate SAP GUI Transactions starting a Web Application.

I tried with CBTA 3.0.11.1 version, I am not abe to record IE web application which has started from SAP GUI Transaction(NWBC).

Anybody know how we can automate with combination of SAP GUI and NWBC Web application ?

Thanks in advance.

Regards,

Vijay

guidohumberg
Advisor
Advisor

Hi Vijay, this is a challenging topic, please see SAP notes

https://launchpad.support.sap.com/#/notes/1835958/

https://launchpad.support.sap.com/#/notes/1941720/

"SAP GUI transactions started from a Web Page are not detected nor recorded. An adaptation of the test script is possible but requires some additional technical knowledge"

HTH,

guido

vijayjeethuri
Participant
0 Kudos

Thank you for your reply Guido !

I have seen the Notes what you have given, Clearly mentioned SAP GUI transactions started from a Web Page are not detected nor recorded.

Is there any alternate method to automate this ?

Regards,

Vijay

former_member607958
Discoverer
0 Kudos

Hi Vijay,

One Question as you are doing some research of automation of web page.Is that CBTA supports to automate web applications (which are non SAP).

Thanks in advance

vijayjeethuri
Participant
0 Kudos

Hello Kumar,

Yes, I'm exploring on

1. How we can automate Non-Sap web applications which doesn't support full automation with CBTA.

2. Working on integration of CBTA and Selenium for automating Non-SAP web applications.

Regards,

Vijay Jeethuri

sady_2015
Participant
0 Kudos

Hi Vijay,

I am having the same issue. did you find a solution to this?

I am trying to automate nwbc script via web (Executable type: URL) and keep getting error "Unable to start recording".

However, it does start recording NWBC GUI transaction but does not record the web pages, as you said SAP GUI transactions started from a Web Page are not detected nor recorded.

Accepted Solutions (0)

Answers (9)

Answers (9)

AjayHS
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Sadhna,

I have the answer for you however may I request you to create a new thread so that it helps others are are facing the same issue instead of having the answer in thread which is not related to the query raised by you.

Thanks,

Aj

AjayHS
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Sadhna,

There can be multiple reasons as to why the recording is unable to start. Please provide more details as to what application you are automating ? (SAPGUI ? Fiori ?) Is the issue only with only this executable type ?

When you launch the same URL manually, is the application getting launched ? For URL executable type you need to provide Login Schema aswell.

Thanks,

Aj

sady_2015
Participant
0 Kudos

Hi Ajay,

That issue got resolved. I was able to start recording. It was the browser issue.

I have another question for NWBC script creation....When i record the NWBC script for a function, the CBTA recorder does not capture the screenshots of the subsequent windows. With every "Insert Screenshot", it captures the screenshot of Window 0 only. Is there a solution for this? CBTA records the steps of window 1, 2..... however, it is not not capturing the screenshots of those window. Please advise. Thank you so much!!

Regards,

Sadhna

rameshdh2009
Explorer
0 Kudos

Hi Ajay, This is Ramesh, am also trying to automate COUPA application using CBTA, while recording no issues, but during the execution due to dynamic properties it is failing. Your expertise will help me to analyze the issue, whether CBTA supports COUPA application, or as per your blog, need to automate COUPA functionalities in Selenium and integrate with CBTA. Even you have mentioned that there are issues facing inuput ,output values. Please suggest. Thank you in advance Ramesh

Fisnik
Explorer
0 Kudos

Hi Ramesh,

Where you able to get the output from selenium into CBTA report?

thanks,

Fisnik

AjayHS
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Vijay,

Thanks for the response.

Thanks,

Aj

AjayHS
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello vijayjeethuri

You have mentioned that

Working on integration of CBTA and Selenium for automating Non-SAP web applications

Where you able to integrate Selenium with CBTA ?

As I understand SolMan supports only few partner tool integration like UFT, Tosca, Worksoft etc & Selenium as I know is not supported.

Thanks,

Aj

vijayjeethuri
Participant
0 Kudos

Hi Ajay,

Yes, Integration of CBTA and Selenium is working fine for web applications.

Officially selenium is not supported by SOLMAN, but i have tried calling selenium script files in CBTA invoke component. This method is working fine.

And I'm facing some issues related to multiple Output and Input parameters to pass from CBTA to Selenium vice versa.

It was not successfull and I'm still working on it.

I tried with CBTA and UFT integration - This method is working fine - But UFT need license, so not going with CBTA-UFT.

Regards,

Vijay Jeethuri

AjayHS
Product and Topic Expert
Product and Topic Expert
0 Kudos

Ok Thanks, request you to close the thread.

Thanks,

Aj

AjayHS
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Vijay,

is there any specific reason as to why they want to do this ?

If the intention is to test the functionality of the application then this can be achieved by testing the NWBC application directly using the url.

You can try getting the url by using the NWBC transaction.

Thanks,

Aj

vijayjeethuri
Participant
0 Kudos

Hi Aj,

For security reasons, they were not providing the link.

But anyway I started working on pilot testing in SAP GUI only instead of NWBC web application.

Regards,

Vijay

vijayjeethuri
Participant
0 Kudos

Hi Ajay,

Yes, you are correct but they were not providing the direct link of NWBC application.

They wants to automate with SAPGUI to WebBrowser.

Any other way to automate this ?

Regards,

Vijay

AjayHS
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Vijay,

I have automated NWBC application by using the link to the application directly using CBTA.

You can create separate test script for SAPGUI and separate script for NWBC.

Thanks,

Aj

sady_2015
Participant
0 Kudos

Hi Ajay,

I tried doing that (using URL directly by adding executable type URL with the web link) but keep getting the error "Unable to start the recording". Not sure what am I missing. Could you please help?

Thanks,

Sadhna