<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SAP GUI Scripting using Visual Basic in Excel 2010 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-gui-scripting-using-visual-basic-in-excel-2010/m-p/9716965#M1770669</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys. The problem is resolved now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can differentiate between different SAP windows using&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;session.ActiveWindow.Text&lt;/STRONG&gt; function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Example: After entering FB03 in transaction window, we can refer the window using &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;session.ActiveWindow.Text = "Display Document: Initial Screen"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Aug 2013 10:47:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-08-26T10:47:29Z</dc:date>
    <item>
      <title>SAP GUI Scripting using Visual Basic in Excel 2010</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-gui-scripting-using-visual-basic-in-excel-2010/m-p/9716964#M1770668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have recently started with creation of SAP Test Automation Framework using Visual Basic in Excel 2010.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have recorded all the objects using SAP GUI &lt;STRONG&gt;Script Recording and Playback &lt;/STRONG&gt;option and customizing it using Visual Basic in an excel sheet wherein I have kept my Test Data as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have few doubts and questions, and would be thankful if somebody could help me answer these questions: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. How would I be able to differentiate between different SAP windows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: SAP Login Window and Display Document Window (FB03) both are referenced by&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;session.findById("wnd[0]")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would that be possible for me to differentiate between different transaction windows in SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. After entering Login id and password to the Login Window, I want the same should be reported to an excel, if or not I am able to login to SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logic:&amp;nbsp; If the login window exists even after entering login id and password and pressing enter, unsuccessful login attempt should be reported to the excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Would that be possible for me to differentiate the windows &lt;/SPAN&gt;according&lt;SPAN style="font-size: 10pt;"&gt; to specific buttons or input / read only fields on a particular screen. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Vaibhav Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Aug 2013 10:06:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-gui-scripting-using-visual-basic-in-excel-2010/m-p/9716964#M1770668</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-26T10:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: SAP GUI Scripting using Visual Basic in Excel 2010</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-gui-scripting-using-visual-basic-in-excel-2010/m-p/9716965#M1770669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys. The problem is resolved now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can differentiate between different SAP windows using&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;session.ActiveWindow.Text&lt;/STRONG&gt; function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Example: After entering FB03 in transaction window, we can refer the window using &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;session.ActiveWindow.Text = "Display Document: Initial Screen"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Aug 2013 10:47:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-gui-scripting-using-visual-basic-in-excel-2010/m-p/9716965#M1770669</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-26T10:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: SAP GUI Scripting using Visual Basic in Excel 2010</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-gui-scripting-using-visual-basic-in-excel-2010/m-p/9716966#M1770670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Goodd Day,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please de complete code for compare?&amp;nbsp; I'm trying finish my vba but the window for atacch document doesn't works in fb03&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Lucas Santana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 17:48:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-gui-scripting-using-visual-basic-in-excel-2010/m-p/9716966#M1770670</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-07-18T17:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: SAP GUI Scripting using Visual Basic in Excel 2010</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-gui-scripting-using-visual-basic-in-excel-2010/m-p/9716967#M1770671</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can I bring the remarks to the Excel sheets while running VBA and scripting&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jul 2019 07:39:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-gui-scripting-using-visual-basic-in-excel-2010/m-p/9716967#M1770671</guid>
      <dc:creator>former_member583234</dc:creator>
      <dc:date>2019-07-07T07:39:37Z</dc:date>
    </item>
  </channel>
</rss>

