<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: Closing Chrome Gracefully (Thread)</title><description> Hello,      I am trying to make a practice of including a step at the end of my RVL scripts that closes Google Chrome in a graceful manner. Previously,  a help desk person told me to include this row in my RVL script:             Action     Global       DoSendKeys        {%F4%}     At one point this seemed to work, but now I get an error message whenever I run the script saying that {%F4%} is not valid input for that step. Ive also tried replacing {%F4%} with {^+Q} (CTRL-Shfit-Q) to close it, but that produces the same error message. I stay away from using:        Action    Global    DoKillByName    chrome.exe       Action    Global    DoKillByName     rapisechrome.exe  Both of these steps work correctly, but when I use them and reopen chrome I get the little prompt in the corner of the window that says Chrome closed unexpectedly and wants to know if I want to restore the page. Personally, I dont like that little prompt because I imagine it might cause issues later on if I ever need to make a recorded manual step or do an image comparison that involves the same area of the screen that is covered by that little prompt. Does anyone know how I can close Google Chrome (better yet all browsers) at the end of my script in a way that wont cause that little restore prompt to appear. </description><language>en-US</language><copyright>(C) Copyright 2006-2026 Inflectra Corporation.</copyright><managingEditor>support@inflectra.com</managingEditor><category domain="http://www.dmoz.org">/Computers/Software/Project_Management/</category><category domain="http://www.dmoz.org">/Computers/Software/Quality_Assurance/</category><generator>KronoDesk</generator><a10:contributor><a10:email>support@inflectra.com</a10:email></a10:contributor><a10:id>http://www.inflectra.com/kronodesk/forums/threads</a10:id><ttl>120</ttl><link>/Support/Forum/rapise/issues-questions/1815.aspx</link><item><guid isPermaLink="false">threadId=1815</guid><author>Nicholas DiPinto (nicholas_dipinto@wycliffeassociates.org)</author><category domain="http://www.inflectra.com/kronodesk/thread/tag">chrome</category><title>Closing Chrome Gracefully</title><description> Hello,      I am trying to make a practice of including a step at the end of my RVL scripts that closes Google Chrome in a graceful manner. Previously,  a help desk person told me to include this row in my RVL script:             Action     Global       DoSendKeys        {%F4%}     At one point this seemed to work, but now I get an error message whenever I run the script saying that {%F4%} is not valid input for that step. Ive also tried replacing {%F4%} with {^+Q} (CTRL-Shfit-Q) to close it, but that produces the same error message. I stay away from using:        Action    Global    DoKillByName    chrome.exe       Action    Global    DoKillByName     rapisechrome.exe  Both of these steps work correctly, but when I use them and reopen chrome I get the little prompt in the corner of the window that says Chrome closed unexpectedly and wants to know if I want to restore the page. Personally, I dont like that little prompt because I imagine it might cause issues later on if I ever need to make a recorded manual step or do an image comparison that involves the same area of the screen that is covered by that little prompt. Does anyone know how I can close Google Chrome (better yet all browsers) at the end of my script in a way that wont cause that little restore prompt to appear. </description><pubDate>Wed, 07 Mar 2018 18:43:11 -0500</pubDate><a10:updated>2019-01-10T10:21:18-05:00</a10:updated><link>/Support/Forum/rapise/issues-questions/1815.aspx</link></item><item><guid isPermaLink="false">messageId=3243</guid><author>David J (adam.sandman+support@inflectra.com)</author><title> Hi Nicholas,  The classic way is to kill the process (which you mention below), however it does hav</title><description> Hi Nicholas,  The classic way is to kill the process (which you mention below), however it does have the side effect of making Chrome unhappy on startup. The alternatives are to tell Chrome to shutdown as if a user did it. The two ways are to either record a DoLClick(....) on the close button of the browser window (which will be treated as a Windows event rather than a browser event), or to use the DoSendKeys approach.  I think the issue is just that it should be:   {F4}   Regards  Adam </description><pubDate>Thu, 08 Mar 2018 14:41:24 -0500</pubDate><a10:updated>2018-03-08T14:41:24-05:00</a10:updated><link>/Support/Forum/rapise/issues-questions/1815.aspx#reply3243</link></item><item><guid isPermaLink="false">messageId=3244</guid><author>Nicholas DiPinto (nicholas_dipinto@wycliffeassociates.org)</author><title> Adam,      Thanks for the response. I added a line in my RVL script that looks like:               </title><description> Adam,      Thanks for the response. I added a line in my RVL script that looks like:                  Action       Global       DoSendKeys      keys      string       {F4}     Unfortunately, this suggestion did not produce the result I was hoping for. Chrome does not seem to close in this case. Do you have a link or something that explains the Windows event? I have not used those yet in Rapise. </description><pubDate>Thu, 08 Mar 2018 15:52:24 -0500</pubDate><a10:updated>2018-03-08T15:52:24-05:00</a10:updated><link>/Support/Forum/rapise/issues-questions/1815.aspx#reply3244</link></item><item><guid isPermaLink="false">messageId=3488</guid><author>Ray Chan (ray.chan@amway.com)</author><title> Hello Pinto18,     I think your RVL script can try this:     Action  Global  DoSendKeys  keys  stri</title><description> Hello Pinto18,     I think your RVL script can try this:     Action  Global  DoSendKeys  keys  string  (^{F4})        Thanks and regards,  Ray    </description><pubDate>Thu, 10 Jan 2019 08:05:10 -0500</pubDate><a10:updated>2019-01-10T08:05:10-05:00</a10:updated><link>/Support/Forum/rapise/issues-questions/1815.aspx#reply3488</link></item><item><guid isPermaLink="false">messageId=3489</guid><author>Dimitar Hristovski (Dimitar.Hristovski@interworks.com.mk)</author><title>  Yeah, use ^{F4} or ^w to close only the active tab, and use %{F4} to close chrome (or any other) w</title><description>  Yeah, use ^{F4} or ^w to close only the active tab, and use %{F4} to close chrome (or any other) window.   If you use any other combination, dont use {} except for special keys like {TAB}, {ENTER}, {ESCAPE} or similar (see  https://www.inflectra.com/Support/KnowledgeBase/KB85.aspx ). </description><pubDate>Thu, 10 Jan 2019 10:21:18 -0500</pubDate><a10:updated>2019-01-10T10:21:18-05:00</a10:updated><link>/Support/Forum/rapise/issues-questions/1815.aspx#reply3489</link></item></channel></rss>