<?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 Passing Selenium Component Object in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Passing-Selenium-Component-Object/m-p/2242483#M29293</link>
    <description>I'm building a Selenium component, and need a little assistance with the INPUT and OUTPUT connectors.&lt;BR /&gt;The selenium component works fine, but I want to pass the WebDriver object to the next component- which is a GET component, and will get a web page.&lt;BR /&gt;&lt;BR /&gt;In my main Selenium component, I'm storing the driver in a global variable&lt;BR /&gt;globalMap.put("conn_&amp;lt;%=cid %&amp;gt;", driver_&amp;lt;%=cid %&amp;gt;);&lt;BR /&gt;&lt;BR /&gt;And then in my GET component, I'm retrieving the driver from the global variable&lt;BR /&gt;driver_&amp;lt;%=cid %&amp;gt; = (org.openqa.selenium.firefox.FirefoxDriver)globalMap.get("&amp;lt;%=conn %&amp;gt;");&lt;BR /&gt;This part works.&lt;BR /&gt;&lt;BR /&gt;What doesn't work is the connectors - I can't connect my main selenium component to my GET component.&lt;BR /&gt;Main Selenium Component:&lt;BR /&gt;  &amp;lt;CONNECTORS&amp;gt;&lt;BR /&gt;        &amp;lt;CONNECTOR CTYPE="SUBJOB_OK" /&amp;gt;&lt;BR /&gt;        &amp;lt;CONNECTOR CTYPE="SUBJOB_ERROR" /&amp;gt;&lt;BR /&gt;        &amp;lt;CONNECTOR CTYPE="COMPONENT_OK" /&amp;gt;&lt;BR /&gt;        &amp;lt;CONNECTOR CTYPE="COMPONENT_ERROR" /&amp;gt;&lt;BR /&gt;        &amp;lt;CONNECTOR CTYPE="RUN_IF" /&amp;gt;&lt;BR /&gt;  &amp;lt;/CONNECTORS&amp;gt;&lt;BR /&gt;&lt;BR /&gt;GET Selenium Component:&lt;BR /&gt;  &amp;lt;CONNECTORS&amp;gt; &lt;BR /&gt;		&amp;lt;CONNECTOR CTYPE="SUBJOB_OK" MAX_INPUT="1" /&amp;gt;&lt;BR /&gt;		&amp;lt;CONNECTOR CTYPE="SUBJOB_ERROR" MAX_INPUT="1" /&amp;gt;&lt;BR /&gt;		&amp;lt;CONNECTOR CTYPE="COMPONENT_OK"/&amp;gt;&lt;BR /&gt;		&amp;lt;CONNECTOR CTYPE="COMPONENT_ERROR"/&amp;gt;&lt;BR /&gt;		&amp;lt;CONNECTOR CTYPE="RUN_IF"/&amp;gt;&lt;BR /&gt;  &amp;lt;/CONNECTORS&amp;gt; &lt;BR /&gt;&lt;BR /&gt;What am I doing wrong?&lt;BR /&gt;Thanks!</description>
    <pubDate>Sat, 16 Nov 2024 11:46:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T11:46:49Z</dc:date>
    <item>
      <title>Passing Selenium Component Object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Passing-Selenium-Component-Object/m-p/2242483#M29293</link>
      <description>I'm building a Selenium component, and need a little assistance with the INPUT and OUTPUT connectors.&lt;BR /&gt;The selenium component works fine, but I want to pass the WebDriver object to the next component- which is a GET component, and will get a web page.&lt;BR /&gt;&lt;BR /&gt;In my main Selenium component, I'm storing the driver in a global variable&lt;BR /&gt;globalMap.put("conn_&amp;lt;%=cid %&amp;gt;", driver_&amp;lt;%=cid %&amp;gt;);&lt;BR /&gt;&lt;BR /&gt;And then in my GET component, I'm retrieving the driver from the global variable&lt;BR /&gt;driver_&amp;lt;%=cid %&amp;gt; = (org.openqa.selenium.firefox.FirefoxDriver)globalMap.get("&amp;lt;%=conn %&amp;gt;");&lt;BR /&gt;This part works.&lt;BR /&gt;&lt;BR /&gt;What doesn't work is the connectors - I can't connect my main selenium component to my GET component.&lt;BR /&gt;Main Selenium Component:&lt;BR /&gt;  &amp;lt;CONNECTORS&amp;gt;&lt;BR /&gt;        &amp;lt;CONNECTOR CTYPE="SUBJOB_OK" /&amp;gt;&lt;BR /&gt;        &amp;lt;CONNECTOR CTYPE="SUBJOB_ERROR" /&amp;gt;&lt;BR /&gt;        &amp;lt;CONNECTOR CTYPE="COMPONENT_OK" /&amp;gt;&lt;BR /&gt;        &amp;lt;CONNECTOR CTYPE="COMPONENT_ERROR" /&amp;gt;&lt;BR /&gt;        &amp;lt;CONNECTOR CTYPE="RUN_IF" /&amp;gt;&lt;BR /&gt;  &amp;lt;/CONNECTORS&amp;gt;&lt;BR /&gt;&lt;BR /&gt;GET Selenium Component:&lt;BR /&gt;  &amp;lt;CONNECTORS&amp;gt; &lt;BR /&gt;		&amp;lt;CONNECTOR CTYPE="SUBJOB_OK" MAX_INPUT="1" /&amp;gt;&lt;BR /&gt;		&amp;lt;CONNECTOR CTYPE="SUBJOB_ERROR" MAX_INPUT="1" /&amp;gt;&lt;BR /&gt;		&amp;lt;CONNECTOR CTYPE="COMPONENT_OK"/&amp;gt;&lt;BR /&gt;		&amp;lt;CONNECTOR CTYPE="COMPONENT_ERROR"/&amp;gt;&lt;BR /&gt;		&amp;lt;CONNECTOR CTYPE="RUN_IF"/&amp;gt;&lt;BR /&gt;  &amp;lt;/CONNECTORS&amp;gt; &lt;BR /&gt;&lt;BR /&gt;What am I doing wrong?&lt;BR /&gt;Thanks!</description>
      <pubDate>Sat, 16 Nov 2024 11:46:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Passing-Selenium-Component-Object/m-p/2242483#M29293</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Passing Selenium Component Object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Passing-Selenium-Component-Object/m-p/2242484#M29294</link>
      <description>I believe I answered my own question, or at least got it to work by making the GET Selenium Component startable.   This makes sense since I'm not passing data, but passing an object.</description>
      <pubDate>Fri, 17 Jan 2014 13:27:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Passing-Selenium-Component-Object/m-p/2242484#M29294</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-17T13:27:25Z</dc:date>
    </item>
  </channel>
</rss>

