cancel
Showing results for 
Search instead for 
Did you mean: 

How to hide Information Popup

SOLVED
Contributor

How to hide Information Popup

Hi Team,

 

How to disable below Popup after running Groovy Script.

 

Popup.JPG

 

Regards,

Karthik

1 ACCEPTED SOLUTION

Accepted Solutions
Community Leader

Re: How to hide Information Popup

I believe that, that pop-up is only displayed, when running the individual script at test step level and the script return value is not null. e.g. if your script ends with a return statement (see the Groovy Script Test Step docs for more info). Which, from my understanding and usage or Ready API only happens in development of tests.

 

When running the test case you do not get the pop-up.

 

If you really want to suppress the message you can try adding the following to the end of your Groovy Script test step:

 

return null

Though that does assume that you are not using the result for anything else.

3 REPLIES 3
Community Leader

Re: How to hide Information Popup

I believe that, that pop-up is only displayed, when running the individual script at test step level and the script return value is not null. e.g. if your script ends with a return statement (see the Groovy Script Test Step docs for more info). Which, from my understanding and usage or Ready API only happens in development of tests.

 

When running the test case you do not get the pop-up.

 

If you really want to suppress the message you can try adding the following to the end of your Groovy Script test step:

 

return null

Though that does assume that you are not using the result for anything else.

Community Leader

Re: How to hide Information Popup

@maddenapally ,

 

As far as i know this pop-up gets displayed when you assigned some value to a varibale and didn't print or use it.

If you don't want this pop-up then use the value from that variable or log it.

 

But as @Radford said, it is right that this pop-up will not going to disturb your end-to-end execution as this pop-up gets generated when you execute groovy scipt step standalone.

 

 


Click "Accept as Solution" if my answer has helped, and remember to give "kudos" Smiley Happy

Thanks and Regards,
Himanshu Tayal
Highlighted
Contributor

Re: How to hide Information Popup

return null has given the solution to me. Thanks Radford.

 

Regards,

Karthik

New Here?
Join us and watch the welcome video:
Join the exciting event
SeptemberHubBub
Top Kudoed Authors
Join the September Hub-bub to show off, learn and win