Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» FlexMonkium Download Not available under Gorillalogic site
Thu Dec 08, 2016 5:40 pm by bhanu.praveen

» Selenium Script issue
Tue Dec 06, 2016 9:48 pm by njain213

» Difference between QTP, Selenium and Silk test
Tue Dec 06, 2016 7:58 pm by jessicacyrus1

» Where does selenium script pick browser from
Tue Dec 06, 2016 1:52 pm by janbaskt

» Safari throws an HTTP ERROR: 404
Tue Dec 06, 2016 1:51 pm by janbaskt

» Access Denied Error in Selenium RC
Tue Dec 06, 2016 1:51 pm by janbaskt

» Automating Flex application through selenium webdriver
Fri Dec 02, 2016 2:06 pm by abhinay.krs

» Starting with Selenium, what is Selenium?
Mon Nov 28, 2016 4:00 pm by Foma

» Getting started with Selenium
Mon Nov 28, 2016 3:23 pm by Rebbelx

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

How can I select content in this section of html??

View previous topic View next topic Go down

How can I select content in this section of html??

Post by rodale_janet on Wed May 21, 2014 6:14 pm

Code:
With this html, how can I select content without using any of the text??  This content may not be the same all the time, but I need to get to one of the selections within this html.   I have tried some things but to no avail.   The selection I go to does not matter but I would prefer it not be the first one.   Thanks in advance.

      <div class="view-content">        <div class="views-row views-row-1">    <span class="pubdate">July 31, 2012</span><h2 class="blog-post-title"><a href="/blogs/roadscholar/the-surprise-attack-and-when-not-to-do-it">The Surprise Attack (And When Not to Do It)</a></h1><p class='field-summary'>With 200 meters remaining in the 250-kilometer Men’s Olympic Road Race last Saturday, Colombia’s Rigoberto Uran made a fatal mistake: He turned his head to see what was happening behind him....</p><a href="/blogs/roadscholar/the-surprise-attack-and-when-not-to-do-it" class="read-more">Read more<span class="icon-arrow-right"></span></a><ul class="links inline"><li class="datetime first"><span>Posted at <time class="timestamp" datetime="2012-07-31T17:41:04-04:00">5:41 PM</time></span></li><li class="disqus_comments_num"><a href="/blogs/roadscholar/the-surprise-attack-and-when-not-to-do-it#disqus_thread" data-disqus-identifier="node/28978">Comments</a></li><li class="email"><a href="mailto:?subject=The%20Surprise%20Attack%20%28And%20When%20Not%20to%20Do%20It%29&amp;body=With 200 meters remaining in the 250-kilometer &lt;a href=&quot;http://www.bicycling.com/news/pro-cycling/ahead-pack-vinokourov-sprints-olympic-gold&quot;&gt;Men’s...     http://stage7.bicycling.com/blogs/roadscholar/the-surprise-attack-and-when-not-to-do-it" class="sharebtn"><span class="zicon-email"></span></a></li><li class="facebook"><a href="http://www.facebook.com/sharer.php?s=100&p[url]=http://stage7.bicycling.com/blogs/roadscholar/the-surprise-attack-and-when-not-to-do-it&p[title]=The%20Surprise%20Attack%20%28And%20When%20Not%20to%20Do%20It%29&p[summary]=With 200 meters remaining in the 250-kilometer &lt;a href=&quot;http://www.bicycling.com/news/pro-cycling/ahead-pack-vinokourov-sprints-olympic-gold&quot;&gt;Men’s..." class="sharebtn"><span class="zicon-facebook"></span></a></li><li class="twitter"><a href="https://twitter.com/intent/tweet?text=The%20Surprise%20Attack%20%28And%20When%20Not%20to%20Do%20It%29&url=http://stage7.bicycling.com/blogs/roadscholar/the-surprise-attack-and-when-not-to-do-it&via=bicyclingmag" class="sharebtn"><span class="zicon-twitter"></span></a></li><li class="pinterest"><a href="http://pinterest.com/pin/create/button/?url=http://stage7.bicycling.com/blogs/roadscholar/the-surprise-attack-and-when-not-to-do-it&description=With 200 meters remaining in the 250-kilometer &lt;a href=&quot;http://www.bicycling.com/news/pro-cycling/ahead-pack-vinokourov-sprints-olympic-gold&quot;&gt;Men’s..." class="sharebtn"><span class="zicon-pinterest"></span></a></li><li class="googleplus last"><a href="https://plus.google.com/share?url=http://stage7.bicycling.com/blogs/roadscholar/the-surprise-attack-and-when-not-to-do-it" class="sharebtn"><span class="zicon-googleplus"></span></a></li></ul>  </div>  <div class="views-row views-row-2">    <span class="pubdate">June 20, 2012</span><h2 class="blog-post-title"><a href="/blogs/roadscholar/advanced-team-construction-capstone-seminar">Advanced Team Construction (Capstone Seminar)</a></h1><p class='field-summary'>At some point this week, a selection panel consisting of Team Sky managers and coaches will sit down to make a difficult decision: which nine of the team’s 28 riders will be in Liege, Belgium, on Saturday, June 30th for the start of the 2012 Tour de France....</p><a href="/blogs/roadscholar/advanced-team-construction-capstone-seminar" class="read-more">Read more<span class="icon-arrow-right"></span></a><ul class="links inline"><li class="datetime first"><span>Posted at <time class="timestamp" datetime="2012-06-20T22:01:48-04:00">10:01 PM</time></span></li><li class="disqus_comments_num"><a href="/blogs/roadscholar/advanced-team-construction-capstone-seminar#disqus_thread" data-disqus-identifier="node/28977">Comments</a></li><li class="email"><a href="mailto:?subject=Advanced%20Team%20Construction%20%28Capstone%20Seminar%29&amp;body=At some point this week, a selection panel consisting of &lt;a href=&quot;http://www.bicycling.com/tags/team-sky&quot;&gt;Team...     http://stage7.bicycling.com/blogs/roadscholar/advanced-team-construction-capstone-seminar" class="sharebtn"><span class="zicon-email"></span></a></li><li class="facebook"><a href="http://www.facebook.com/sharer.php?s=100&p[url]=http://stage7.bicycling.com/blogs/roadscholar/advanced-team-construction-capstone-seminar&p[title]=Advanced%20Team%20Construction%20%28Capstone%20Seminar%29&p[summary]=At some point this week, a selection panel consisting of &lt;a href=&quot;http://www.bicycling.com/tags/team-sky&quot;&gt;Team..." class="sharebtn"><span class="zicon-facebook"></span></a></li><li class="twitter"><a href="https://twitter.com/intent/tweet?text=Advanced%20Team%20Construction%20%28Capstone%20Seminar%29&url=http://stage7.bicycling.com/blogs/roadscholar/advanced-team-construction-capstone-seminar&via=bicyclingmag" class="sharebtn"><span class="zicon-twitter"></span></a></li><li class="pinterest"><a href="http://pinterest.com/pin/create/button/?url=http://stage7.bicycling.com/blogs/roadscholar/advanced-team-construction-capstone-seminar&description=At some point this week, a selection panel consisting of &lt;a href=&quot;http://www.bicycling.com/tags/team-sky&quot;&gt;Team..." class="sharebtn"><span class="zicon-pinterest"></span></a></li><li class="googleplus last"><a href="https://plus.google.com/share?url=http://stage7.bicycling.com/blogs/roadscholar/advanced-team-construction-capstone-seminar" class="sharebtn"><span class="zicon-googleplus"></span></a></li></ul>  </div>  <div class="views-row views-row-3">    <span class="pubdate">June 6, 2012</span><h2 class="blog-post-title"><a href="/blogs/roadscholar/rethinking-hydration">Rethinking Hydration</a></h1><p class='field-summary'>The next time you head out for a ride on a hot day, I want you to try something:Collect every water bottle you can find and fill it with water.</p><a href="/blogs/roadscholar/rethinking-hydration" class="read-more">Read more<span class="icon-arrow-right"></span></a><ul class="links inline"><li class="datetime first"><span>Posted at <time class="timestamp" datetime="2012-06-06T23:02:39-04:00">11:02 PM</time></span></li><li class="disqus_comments_num"><a href="/blogs/roadscholar/rethinking-hydration#disqus_thread" data-disqus-identifier="node/28976">Comments</a></li><li class="email"><a href="mailto:?subject=Rethinking%20Hydration&amp;body=The next time you head out for a ride on a hot day, I want you to try something:
Collect...     http://stage7.bicycling.com/blogs/roadscholar/rethinking-hydration" class="sharebtn"><span class="zicon-email"></span></a></li><li class="facebook"><a href="http://www.facebook.com/sharer.php?s=100&p[url]=http://stage7.bicycling.com/blogs/roadscholar/rethinking-hydration&p[title]=Rethinking%20Hydration&p[summary]=The next time you head out for a ride on a hot day, I want you to try something:
Collect..." class="sharebtn"><span class="zicon-facebook"></span></a></li><li class="twitter"><a href="https://twitter.com/intent/tweet?text=Rethinking%20Hydration&url=http://stage7.bicycling.com/blogs/roadscholar/rethinking-hydration&via=bicyclingmag" class="sharebtn"><span class="zicon-twitter"></span></a></li><li class="pinterest"><a href="http://pinterest.com/pin/create/button/?url=http://stage7.bicycling.com/blogs/roadscholar/rethinking-hydration&description=The next time you head out for a ride on a hot day, I want you to try something:
Collect..." class="sharebtn"><span class="zicon-pinterest"></span></a></li><li class="googleplus last"><a href="https://plus.google.com/share?url=http://stage7.bicycling.com/blogs/roadscholar/rethinking-hydration" class="sharebtn"><span class="zicon-googleplus"></span></a></li></ul>  </div>  <div class="views-row views-row-4">    <span class="pubdate">May 24, 2012</span><h2 class="blog-post-title"><a href="/blogs/roadscholar/have-bike-will-travel">Have Bike, Will Travel</a></h1><p class='field-summary'>When you race or work for a professional cycling team, you get used to traveling—a lot. For teams competing almost exclusively in Europe, travel time is less extreme as most countries are relatively close to one another.</p><a href="/blogs/roadscholar/have-bike-will-travel" class="read-more">Read more<span class="icon-arrow-right"></span></a><ul class="links inline"><li class="datetime first"><span>Posted at <time class="timestamp" datetime="2012-05-24T17:26:13-04:00">5:26 PM</time></span></li><li class="disqus_comments_num"><a href="/blogs/roadscholar/have-bike-will-travel#disqus_thread" data-disqus-identifier="node/28975">Comments</a></li><li class="email"><a href="mailto:?subject=Have%20Bike%2C%20Will%20Travel&amp;body=When you race or work for a professional cycling team, you get used to traveling—a...     http://stage7.bicycling.com/blogs/roadscholar/have-bike-will-travel" class="sharebtn"><span class="zicon-email"></span></a></li><li class="facebook"><a href="http://www.facebook.com/sharer.php?s=100&p[url]=http://stage7.bicycling.com/blogs/roadscholar/have-bike-will-travel&p[title]=Have%20Bike%2C%20Will%20Travel&p[summary]=When you race or work for a professional cycling team, you get used to traveling—a..." class="sharebtn"><span class="zicon-facebook"></span></a></li><li class="twitter"><a href="https://twitter.com/intent/tweet?text=Have%20Bike%2C%20Will%20Travel&url=http://stage7.bicycling.com/blogs/roadscholar/have-bike-will-travel&via=bicyclingmag" class="sharebtn"><span class="zicon-twitter"></span></a></li><li class="pinterest"><a href="http://pinterest.com/pin/create/button/?url=http://stage7.bicycling.com/blogs/roadscholar/have-bike-will-travel&description=When you race or work for a professional cycling team, you get used to traveling—a..." class="sharebtn"><span class="zicon-pinterest"></span></a></li><li class="googleplus last"><a href="https://plus.google.com/share?url=http://stage7.bicycling.com/blogs/roadscholar/have-bike-will-travel" class="sharebtn"><span class="zicon-googleplus"></span></a></li></ul>  </div>

rodale_janet
Active particpant
Active particpant

Posts : 10
Join date : 2014-03-07

Back to top Go down

Re: How can I select content in this section of html??

Post by Paps_engineer on Fri Oct 10, 2014 6:14 pm

hi,
 we can select content in html using the seleniumRC highlight command
This will select the particular element in the html.

Thanks,
Papaiadasan.S,
Automation COE,
Indium Software India Limited.
(indiumsoft.com/core-qa-offerings/test-automation)

http://www.indiumsoft.com/core-qa-offerings/test-automation" title="Test Automation">Test Automation

Paps_engineer
Active particpant
Active particpant

Posts : 10
Join date : 2014-07-24

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum