<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: QTP: Get Link&#8217;s Mouse Over (Hover) Color</title>
	<atom:link href="http://relevantcodes.com/qtp-get-links-mouseover-color/feed/" rel="self" type="application/rss+xml" />
	<link>http://relevantcodes.com/qtp-get-links-mouseover-color/</link>
	<description>A Test Development Resource for HP QuickTest Professional.</description>
	<lastBuildDate>Thu, 09 Feb 2012 12:13:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: Abhilash</title>
		<link>http://relevantcodes.com/qtp-get-links-mouseover-color/#comment-54677</link>
		<dc:creator>Abhilash</dc:creator>
		<pubDate>Tue, 24 Jan 2012 07:27:04 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=1889#comment-54677</guid>
		<description>Hi,
Anshoo Arora

can u tell me how i can use the data i receive from mouse event to be validated instead of printing it???

example if  i want Reporter.ReportEvent to fail if color is black and pass if color returned is orange....

Thanks 
Abhilash</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Anshoo Arora</p>
<p>can u tell me how i can use the data i receive from mouse event to be validated instead of printing it???</p>
<p>example if  i want Reporter.ReportEvent to fail if color is black and pass if color returned is orange&#8230;.</p>
<p>Thanks<br />
Abhilash</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anshoo Arora</title>
		<link>http://relevantcodes.com/qtp-get-links-mouseover-color/#comment-53006</link>
		<dc:creator>Anshoo Arora</dc:creator>
		<pubDate>Tue, 27 Dec 2011 11:58:48 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=1889#comment-53006</guid>
		<description>Ankit, the way I generally do this is not visible to the user but the link is clicked. If you want to make it visible, then I guess you can consider changing the replaytype:

&lt;pre&gt;
Setting.WebPackage(&quot;ReplayType&quot;) = 2

Browser(&quot;title:=Relevant Codes.*&quot;).Link(&quot;innertext:=Articles&quot;).FireEvent &quot;onmouseover&quot;
Browser(&quot;title:=Relevant Codes.*&quot;).Link(&quot;innertext:=VBScript&quot;, &quot;index:=0&quot;).Click

Setting.WebPackage(&quot;ReplayType&quot;) = 1
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Ankit, the way I generally do this is not visible to the user but the link is clicked. If you want to make it visible, then I guess you can consider changing the replaytype:</p>
<pre>
Setting.WebPackage("ReplayType") = 2

Browser("title:=Relevant Codes.*").Link("innertext:=Articles").FireEvent "onmouseover"
Browser("title:=Relevant Codes.*").Link("innertext:=VBScript", "index:=0").Click

Setting.WebPackage("ReplayType") = 1
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: ankit</title>
		<link>http://relevantcodes.com/qtp-get-links-mouseover-color/#comment-52122</link>
		<dc:creator>ankit</dc:creator>
		<pubDate>Mon, 12 Dec 2011 11:38:32 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=1889#comment-52122</guid>
		<description>Hi Anshoo,
How to click on a sublink which becomes visible when mouse is put over the parent link.
Like in your website first fire a onmouseover event for Articles link(this part I am able to do) then select and click on any of the sublink.

Thanks
Ankit</description>
		<content:encoded><![CDATA[<p>Hi Anshoo,<br />
How to click on a sublink which becomes visible when mouse is put over the parent link.<br />
Like in your website first fire a onmouseover event for Articles link(this part I am able to do) then select and click on any of the sublink.</p>
<p>Thanks<br />
Ankit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ankit</title>
		<link>http://relevantcodes.com/qtp-get-links-mouseover-color/#comment-51301</link>
		<dc:creator>ankit</dc:creator>
		<pubDate>Mon, 05 Dec 2011 14:37:58 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=1889#comment-51301</guid>
		<description>Hi Anshoo,
How to click on a sublink which becomes visible when mouse is put over the parent link.
Like in your portal first fire a onmouseover event for Articles link(this part I am able to do) then select and click on any of the sublink.

Thanks
Ankit</description>
		<content:encoded><![CDATA[<p>Hi Anshoo,<br />
How to click on a sublink which becomes visible when mouse is put over the parent link.<br />
Like in your portal first fire a onmouseover event for Articles link(this part I am able to do) then select and click on any of the sublink.</p>
<p>Thanks<br />
Ankit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anshoo Arora</title>
		<link>http://relevantcodes.com/qtp-get-links-mouseover-color/#comment-32735</link>
		<dc:creator>Anshoo Arora</dc:creator>
		<pubDate>Wed, 17 Aug 2011 01:45:59 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=1889#comment-32735</guid>
		<description>Maruti, try this:

&lt;pre&gt;
Print Browser(&quot;&quot;).WebTable(&quot;&quot;).Object.rows(0).cells(0).currentStyle.backgroundColor
&#039;or
Print Browser(&quot;&quot;).WebTable(&quot;&quot;).Object.rows(0).cells(0).currentStyle.color
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Maruti, try this:</p>
<pre>
Print Browser("").WebTable("").Object.rows(0).cells(0).currentStyle.backgroundColor
'or
Print Browser("").WebTable("").Object.rows(0).cells(0).currentStyle.color
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maruti</title>
		<link>http://relevantcodes.com/qtp-get-links-mouseover-color/#comment-32079</link>
		<dc:creator>Maruti</dc:creator>
		<pubDate>Wed, 10 Aug 2011 20:44:43 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=1889#comment-32079</guid>
		<description>Dear Sir,
I am automating a web application and I need to find the color of data which is in a WebTable. When I am using Object Spy, the cell inside the table identifying as a webelement.

I used the below code retreive the colror, but while running it is not identifying the object. I used DP as well.

Set objWebEl= Browser().Page().WebTable().ChildItem(2,2,&quot;WebElement&quot;, 0)
Print objWebEl.Object.currentStyle.color 

I tried searching in google, I didn&#039;t get anything useful. Please advice.

Thanks,
Maruti</description>
		<content:encoded><![CDATA[<p>Dear Sir,<br />
I am automating a web application and I need to find the color of data which is in a WebTable. When I am using Object Spy, the cell inside the table identifying as a webelement.</p>
<p>I used the below code retreive the colror, but while running it is not identifying the object. I used DP as well.</p>
<p>Set objWebEl= Browser().Page().WebTable().ChildItem(2,2,&#8221;WebElement&#8221;, 0)<br />
Print objWebEl.Object.currentStyle.color </p>
<p>I tried searching in google, I didn&#8217;t get anything useful. Please advice.</p>
<p>Thanks,<br />
Maruti</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anshoo Arora</title>
		<link>http://relevantcodes.com/qtp-get-links-mouseover-color/#comment-24828</link>
		<dc:creator>Anshoo Arora</dc:creator>
		<pubDate>Fri, 24 Jun 2011 16:19:57 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=1889#comment-24828</guid>
		<description>Siva:  Why this requirement?  It can be done as well using other methods..</description>
		<content:encoded><![CDATA[<p>Siva:  Why this requirement?  It can be done as well using other methods..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: siva</title>
		<link>http://relevantcodes.com/qtp-get-links-mouseover-color/#comment-24764</link>
		<dc:creator>siva</dc:creator>
		<pubDate>Fri, 24 Jun 2011 08:59:03 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=1889#comment-24764</guid>
		<description>in my application i need to select the dropdown trough mouse, guys if any body knows send mail to me.</description>
		<content:encoded><![CDATA[<p>in my application i need to select the dropdown trough mouse, guys if any body knows send mail to me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prasant</title>
		<link>http://relevantcodes.com/qtp-get-links-mouseover-color/#comment-16630</link>
		<dc:creator>Prasant</dc:creator>
		<pubDate>Tue, 15 Mar 2011 01:23:34 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=1889#comment-16630</guid>
		<description>After the sub link menu displays, learn it (it may be learned as a table) or again describe this sub menu object. Then find the required item in that and try to click that object.
Hope it will work</description>
		<content:encoded><![CDATA[<p>After the sub link menu displays, learn it (it may be learned as a table) or again describe this sub menu object. Then find the required item in that and try to click that object.<br />
Hope it will work</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prasant</title>
		<link>http://relevantcodes.com/qtp-get-links-mouseover-color/#comment-16629</link>
		<dc:creator>Prasant</dc:creator>
		<pubDate>Tue, 15 Mar 2011 01:06:59 +0000</pubDate>
		<guid isPermaLink="false">http://relevantcodes.com/?p=1889#comment-16629</guid>
		<description>Vikramjit,

split the return value using SPLIT { Split(&quot;58 782&quot;, &quot; &quot; ) } method with space as a delimiter and then typecast using the CINT { n1 = Cint(arr(0)) and n2 = Cint(arr(1)) }</description>
		<content:encoded><![CDATA[<p>Vikramjit,</p>
<p>split the return value using SPLIT { Split(&#8220;58 782&#8243;, &#8221; &#8221; ) } method with space as a delimiter and then typecast using the CINT { n1 = Cint(arr(0)) and n2 = Cint(arr(1)) }</p>
]]></content:encoded>
	</item>
</channel>
</rss>

