<?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: Introduction to Lightning Test Services with Jasmine	</title>
	<atom:link href="https://www.jitendrazaa.com/blog/salesforce/introduction-to-lightning-test-services-with-jasmine/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.jitendrazaa.com/blog/salesforce/introduction-to-lightning-test-services-with-jasmine/</link>
	<description>AI, Salesforce, ServiceNow &#38; Enterprise Tech Guides</description>
	<lastBuildDate>Fri, 18 Jan 2019 13:24:36 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.4</generator>
	<item>
		<title>
		By: Chiranjeevi		</title>
		<link>https://www.jitendrazaa.com/blog/salesforce/introduction-to-lightning-test-services-with-jasmine/#comment-4996</link>

		<dc:creator><![CDATA[Chiranjeevi]]></dc:creator>
		<pubDate>Fri, 18 Jan 2019 13:24:36 +0000</pubDate>
		<guid isPermaLink="false">https://www.jitendrazaa.com/blog/?p=6419#comment-4996</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.jitendrazaa.com/blog/salesforce/introduction-to-lightning-test-services-with-jasmine/#comment-4466&quot;&gt;Uma&lt;/a&gt;.

Hi Uma,

We can implement UI automation for the Lightning component using Selenium Web Driver. You can avoid using Id&#039;s to locate the Web Elements. Below are the list of Xpath&#039;s which could be useful:

If you are trying to perform a &quot;sendkeys&quot; action on the leads page, you can follow similar XPath Locators that I&#039;ve created for my project:

   By.xpath(&quot;//fieldset[contains(@class,&#039;uiInput&#039;)]//span[contains(text(),&#039;Last Name&#039;)]/following::input[1]&quot;);

   By.xpath(&quot;//*[contains(@class,&#039;inputLabel&#039;)]//span[contains(text(),&#039;Phone&#039;)]/following::input[1]&quot;);

    By.xpath(&quot;//*[contains(@class,&#039;inputLabel&#039;)]//span[contains(text(),&#039;Email&#039;)]/following::input[1]&quot;);

    By.xpath(&quot;//div[contains(@class,&#039;forceInputPicklist&#039;)]//span[contains(text(), &#039;Lead Source&#039;)]/following::a[1]&quot;); 


If you follow this dynamic XPath pattern, you will never have to use dynamic @id tags used for Lightning.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.jitendrazaa.com/blog/salesforce/introduction-to-lightning-test-services-with-jasmine/#comment-4466">Uma</a>.</p>
<p>Hi Uma,</p>
<p>We can implement UI automation for the Lightning component using Selenium Web Driver. You can avoid using Id&#8217;s to locate the Web Elements. Below are the list of Xpath&#8217;s which could be useful:</p>
<p>If you are trying to perform a &#8220;sendkeys&#8221; action on the leads page, you can follow similar XPath Locators that I&#8217;ve created for my project:</p>
<p>   By.xpath(&#8220;//fieldset[contains(@class,&#8217;uiInput&#8217;)]//span[contains(text(),&#8217;Last Name&#8217;)]/following::input[1]&#8221;);</p>
<p>   By.xpath(&#8220;//*[contains(@class,&#8217;inputLabel&#8217;)]//span[contains(text(),&#8217;Phone&#8217;)]/following::input[1]&#8221;);</p>
<p>    By.xpath(&#8220;//*[contains(@class,&#8217;inputLabel&#8217;)]//span[contains(text(),&#8217;Email&#8217;)]/following::input[1]&#8221;);</p>
<p>    By.xpath(&#8220;//div[contains(@class,&#8217;forceInputPicklist&#8217;)]//span[contains(text(), &#8216;Lead Source&#8217;)]/following::a[1]&#8221;); </p>
<p>If you follow this dynamic XPath pattern, you will never have to use dynamic @id tags used for Lightning.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Vishal Ranjan		</title>
		<link>https://www.jitendrazaa.com/blog/salesforce/introduction-to-lightning-test-services-with-jasmine/#comment-4994</link>

		<dc:creator><![CDATA[Vishal Ranjan]]></dc:creator>
		<pubDate>Fri, 18 Jan 2019 07:31:09 +0000</pubDate>
		<guid isPermaLink="false">https://www.jitendrazaa.com/blog/?p=6419#comment-4994</guid>

					<description><![CDATA[Hi Jitendra,

I am new to lightning testing services. I came across to a scenario where I have to write LTS for onblur event which is present in  tag and when onblur is called, it will invoke a controller method.

Can you please help we this scenario.

Thanks,
Vishal]]></description>
			<content:encoded><![CDATA[<p>Hi Jitendra,</p>
<p>I am new to lightning testing services. I came across to a scenario where I have to write LTS for onblur event which is present in  tag and when onblur is called, it will invoke a controller method.</p>
<p>Can you please help we this scenario.</p>
<p>Thanks,<br />
Vishal</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Uma		</title>
		<link>https://www.jitendrazaa.com/blog/salesforce/introduction-to-lightning-test-services-with-jasmine/#comment-4466</link>

		<dc:creator><![CDATA[Uma]]></dc:creator>
		<pubDate>Mon, 11 Jun 2018 21:14:27 +0000</pubDate>
		<guid isPermaLink="false">https://www.jitendrazaa.com/blog/?p=6419#comment-4466</guid>

					<description><![CDATA[Hi Jitendra,

Nice and informative article..
What is your view on automated testing with Selenium in Lightning. I have seen your videos on Selenium testing in classic. Have you had any luck with using Selenium to test lightning pages. For eg: Creation of account to make it simple. Due to the fact that ids are generated dynamically Selenium is not able to find the target. Any ideas to overcome this issue?

Thanks
Uma]]></description>
			<content:encoded><![CDATA[<p>Hi Jitendra,</p>
<p>Nice and informative article..<br />
What is your view on automated testing with Selenium in Lightning. I have seen your videos on Selenium testing in classic. Have you had any luck with using Selenium to test lightning pages. For eg: Creation of account to make it simple. Due to the fact that ids are generated dynamically Selenium is not able to find the target. Any ideas to overcome this issue?</p>
<p>Thanks<br />
Uma</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Salesforce Apex Hours :- Lightning Testing Service (LTS) &#8211; ApexHours		</title>
		<link>https://www.jitendrazaa.com/blog/salesforce/introduction-to-lightning-test-services-with-jasmine/#comment-4243</link>

		<dc:creator><![CDATA[Salesforce Apex Hours :- Lightning Testing Service (LTS) &#8211; ApexHours]]></dc:creator>
		<pubDate>Sun, 11 Mar 2018 16:55:44 +0000</pubDate>
		<guid isPermaLink="false">https://www.jitendrazaa.com/blog/?p=6419#comment-4243</guid>

					<description><![CDATA[[&#8230;] 1) https://www.jitendrazaa.com/blog/salesforce/introduction-to-lightning-test-services-with-jasmine/ [&#8230;]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] 1) <a href="https://www.jitendrazaa.com/blog/salesforce/introduction-to-lightning-test-services-with-jasmine/" rel="ugc">https://www.jitendrazaa.com/blog/salesforce/introduction-to-lightning-test-services-with-jasmine/</a> [&#8230;]</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Minified using Disk

Served from: www.jitendrazaa.com @ 2026-08-30 22:40:29 by W3 Total Cache
-->