<?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 How to obtain window title in Web application? in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/How-to-obtain-window-title-in-Web-application/m-p/49771#M5113</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;I'm automating share point through Internet Explorer . I want to Obtain window&amp;nbsp; title for attached Application. How can iI obtain title for Attached Web application. I was aware&amp;nbsp; I can spy the title and read the value . My question&amp;nbsp; is there any other way other than spying the title of the window to capture the window value?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Harish&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Harish&lt;BR /&gt;RPA Developer&lt;BR /&gt;------------------------------</description>
    <pubDate>Tue, 04 Feb 2020 20:12:00 GMT</pubDate>
    <dc:creator>HarishM2</dc:creator>
    <dc:date>2020-02-04T20:12:00Z</dc:date>
    <item>
      <title>How to obtain window title in Web application?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-obtain-window-title-in-Web-application/m-p/49771#M5113</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;I'm automating share point through Internet Explorer . I want to Obtain window&amp;nbsp; title for attached Application. How can iI obtain title for Attached Web application. I was aware&amp;nbsp; I can spy the title and read the value . My question&amp;nbsp; is there any other way other than spying the title of the window to capture the window value?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Harish&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Harish&lt;BR /&gt;RPA Developer&lt;BR /&gt;------------------------------</description>
      <pubDate>Tue, 04 Feb 2020 20:12:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-obtain-window-title-in-Web-application/m-p/49771#M5113</guid>
      <dc:creator>HarishM2</dc:creator>
      <dc:date>2020-02-04T20:12:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to obtain window title in Web application?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-obtain-window-title-in-Web-application/m-p/49772#M5114</link>
      <description>Hi, Harish,&lt;BR /&gt;&lt;BR /&gt;you can but you need to understand code stage. If you look at VBO Utility - General, action Window Exists you will see this code in code stage. So instead of searching for window title you can just read it via&amp;nbsp;p.mainwindowtitle.&lt;BR /&gt;&lt;BR /&gt;try&lt;BR /&gt;if wildcard then &lt;BR /&gt;&amp;nbsp; &amp;nbsp; title = title.replace("*", ".*") &lt;BR /&gt;&amp;nbsp; &amp;nbsp; title = title.replace("?", "\w")&lt;BR /&gt;end if&lt;BR /&gt;&lt;BR /&gt;exists = false&lt;BR /&gt;&lt;BR /&gt;for each p as system.diagnostics.process in system.diagnostics.process.getprocesses() &lt;BR /&gt;&amp;nbsp; if wildcard then &lt;BR /&gt;&amp;nbsp; &amp;nbsp; if system.text.regularexpressions.regex.ismatch(p.mainwindowtitle, title) then &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; exists = true &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; exit sub &lt;BR /&gt;&amp;nbsp; &amp;nbsp;end if &lt;BR /&gt;else &lt;BR /&gt;&amp;nbsp; &amp;nbsp; if p.mainwindowtitle.tolower = title.tolower then &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; exists = true &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; exit sub &lt;BR /&gt;&amp;nbsp; &amp;nbsp; end if &lt;BR /&gt;end if&lt;BR /&gt;next&lt;BR /&gt;&lt;BR /&gt;catch e as exception&lt;BR /&gt;end try&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Zdeněk Kabátek&lt;BR /&gt;Head of Professional Services&lt;BR /&gt;NEOOPS&lt;BR /&gt;&lt;A href="http://www.neoops.com/" target="test_blank"&gt;http://www.neoops.com/&lt;/A&gt;&lt;BR /&gt;Europe/Prague&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Feb 2020 08:34:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-obtain-window-title-in-Web-application/m-p/49772#M5114</guid>
      <dc:creator>zdenek.kabatek</dc:creator>
      <dc:date>2020-02-05T08:34:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to obtain window title in Web application?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-obtain-window-title-in-Web-application/m-p/49773#M5115</link>
      <description>I just noticed I posted in the non-active version of this thread, so I'm pasting here too.&lt;BR /&gt;&lt;BR /&gt;Here's the other thread where I responded:&amp;nbsp;&lt;A href="https://community.blueprism.com/communities/community-home/digestviewer/viewthread?GroupId=85&amp;amp;MessageKey=68bb596c-e350-4d4e-8ef1-727948c820ee&amp;amp;CommunityKey=3743dbaa-6766-4a4d-b7ed-9a98b6b1dd01&amp;amp;tab=digestviewer&amp;amp;ReturnUrl=%2fcommunities%2fallrecentposts" target="_blank" rel="noopener"&gt;The other thread&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And here's the same text I posted over there:&lt;BR /&gt;&lt;BR /&gt;You should be able to use a Read stage to get an attribute value. I suppose it depends what element you're retrieving the attribute value from.&lt;BR /&gt;&lt;BR /&gt;If you spy the entire window in Win32 mode, then you should be able to get the Window Title out of the 'Window Text' attribute. Use a Read stage on the Win32 element using the action 'Get Text'.&lt;BR /&gt;&lt;BR /&gt;If you use AA mode to spy the entire window, then you can do something similar but this time in the Read stage, the attribute may be called 'Name' and the action may be called 'Get Name'. But it gets the same text.&lt;BR /&gt;&lt;BR /&gt;For UIA mode again spy the entire window, and then it's the same as AA where the Read stage action is called 'Get Name', but attribute in the list is actually called 'UIA Name'.&lt;BR /&gt;&lt;BR /&gt;I'm not sure you can get the actual window title name from HTML mode. Maybe there's a way, but I don't see it and I think it'd be webpage dependent.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Dave Morris&lt;BR /&gt;3Ci @ Southern Company&lt;BR /&gt;Atlanta, GA&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Feb 2020 13:11:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-obtain-window-title-in-Web-application/m-p/49773#M5115</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2020-02-05T13:11:00Z</dc:date>
    </item>
  </channel>
</rss>

