Pages

Search This Blog

Monday, September 12, 2011

How to select value in drop down using Webdriver

How to select values in drop down using Webdriver

This post will take you through the way you can select the value in a drop down. Webdriver does not have straight forward command "SELECT" which Selenium does.
In below example i will open home page of eBay India and search ipod in Consumer Electronic category. This page has a category drop down in which i will select
Consumer Electronics.



package com.web;
import java.io.File;
import java.util.List;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.firefox.FirefoxProfile;
import org.openqa.selenium.htmlunit.HtmlUnitDriver;
import org.openqa.selenium.ie.InternetExplorerDriver;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.Test;


public class DropDownSelection {
 private static WebDriver driver=null;
 @BeforeTest
 @org.testng.annotations.Parameters({"BROWSER"})
 public void setup(String BROWSER){
  if(BROWSER.equals("FF")){
   File profileDir = new File("C:\\nir");
     FirefoxProfile profile = new FirefoxProfile(profileDir);
     profile.setPreference("general.useragent.override", "same user agent string as above");
     driver= new FirefoxDriver(profile);
   System.out.println("Broser Selected " + BROWSER);  
  }else if(BROWSER.equals("IE")){
   System.out.println("Broser Selected " + BROWSER);
   driver = new InternetExplorerDriver();
  }else if(BROWSER.equals("HU")){
   System.out.println("Broser Selected " + BROWSER);
   driver =new HtmlUnitDriver();
   
  } else
  {
   System.out.println("Broser Selected " + BROWSER);
   driver = new ChromeDriver();
  }

 }
 @Test
 public void testDropDownSelection() throws InterruptedException{
  
  driver.get("http://www.ebay.in");
  WebElement search = driver.findElement(By.name("_nkw"));
  search.sendKeys("ipod");

   List dd = driver.findElement(By.name("_sacat")).findElements(By.tagName("option"));
   for (WebElement option : dd) {
    System.out.println(option.getText());
    if ("Consumer Electronics".equalsIgnoreCase(option.getText())){
     option.click();
     break;
    }
   }
   driver.findElement(By.xpath("//input[@value='Search']")).submit();
   Thread.sleep(5000);
   driver.getPageSource().contains("results found");
  driver.quit();
 }

}




TestNG.xml
Using TestNG suite we will run the test case.



<?xml version="1.0" encoding="UTF-8"?>
<suite name="webDriver" parallel="tests">
 <listeners>
  <listener class-name="org.uncommons.reportng.HTMLReporter" />
  <listener class-name="org.uncommons.reportng.JUnitXMLReporter" />
 </listeners>
 <test name="WebDriverDemo Witn FF" preserve-order="true">
  <parameter name="BROWSER" value="FF" />
  <classes>
   <class name="com.web.DropDownSelection" />
  </classes>
  </test>

  </b>
</suite>



If above code does not work with you configuration just try another way given below.



 List  options = driver.findElements(By.tagName("option"));
  for (WebElement option : options) {
   if ("Consumer Electronics".equalsIgnoreCase(option.getText())){
    option.click();
   }
      }



108 comments:

  1. If you were just trying to select a value from drop down then you could do -

    Select select = new Select(driverInstance);
    select.selectByVisibleText("dropDownValue");

    API here - http://selenium.googlecode.com/svn/trunk/docs/api/java/index.html

    ReplyDelete
  2. just realized that it should be -

    Select select = new Select(WebElement element)

    ReplyDelete
  3. Select select = new Select(WebElement element)

    It is not working.

    ReplyDelete
  4. It is not working...
    Here is my code :
    List options=driver.findElements(By.xpath("//tbody/tr/td[1]/table/tbody/tr[2]/td/table/tbody/tr[2]/td/select"));
    for(WebElement option : options)
    {
    System.out.println("Dropdown values :"+option.getText());
    if("Cards".equalsIgnoreCase(option.getText()))
    {
    option.click(); // I tried with Select class as well.
    }
    }
    Select select = new Select(driver.findElement(By.xpath("//tbody/tr/td[1]/table/tbody/tr[2]/td/table/tbody/tr[2]/td/select")));
    select.selectByValue("Cards");

    Kindly advice me what is wrong in the above code .. ?

    ReplyDelete
  5. Hi,
    Could you lease try selectByText() or selectByIndex() and try to update the selelenium webdriver jar.

    Everything else looks fine.

    ReplyDelete
  6. Select s1 = new Select(driver.findElement(By.id("SearchDropdown"));
    s1.selectByValue("DropdownValue");

    ReplyDelete
  7. for me selectByValue worked but not selectByIndex and selectByVisibleText

    ReplyDelete
  8. Hello there! This is my 1st comment here so I just wanted to give a quick
    shout out and say I truly enjoy reading your posts. Can you recommend any other blogs/websites/forums that
    cover the same subjects? Thanks a ton!
    Take a look at my page how to download movies

    ReplyDelete
  9. Hello my family member! I want to say that this article is awesome, nice written and come with approximately all
    vital infos. I'd like to peer extra posts like this .
    Here is my blog post ... how to lose man boobs

    ReplyDelete
  10. Hmm is anyone else experiencing problems with the images on this blog
    loading? I'm trying to determine if its a problem on my end or if it's the blog.
    Any responses would be greatly appreciated.
    Here is my web page ; Videos

    ReplyDelete
  11. I was suggested this blog through my cousin. I'm not certain whether this submit is written through him as nobody else realize such certain about my difficulty. You're wonderful!
    Thanks!
    My webpage :: nude teens

    ReplyDelete
  12. Thanks for ones marvelous posting! I quite enjoyed reading it, you may be a great author.
    I will ensure that I bookmark your blog and will often come
    back in the foreseeable future. I want to encourage yourself to continue
    your great work, have a nice weekend!
    My site ... freeporn

    ReplyDelete
  13. Have you ever considered publishing an ebook or guest authoring on other sites?
    I have a blog based upon on the same subjects
    you discuss and would really like to have you share some
    stories/information. I know my visitors would appreciate
    your work. If you are even remotely interested,
    feel free to shoot me an email.
    Also see my page > acne vulgaris treatment

    ReplyDelete
  14. I have been browsing online more than three hours today, yet I never found any interesting article like
    yours. It's pretty worth enough for me. Personally, if all web owners and bloggers made good content as you did, the internet will be a lot more useful than ever before.
    Also visit my webpage - Orlando contractor

    ReplyDelete
  15. Good post! We are linking to this particularly great content on our site.
    Keep up the good writing.
    Feel free to surf my web-site ; http://cn.yeren7.cn/sitemaps/sitemap151.html

    ReplyDelete
  16. find out

    Here is my web-site - leads for lawyers
    Feel free to visit my web site ... attorney lead generation

    ReplyDelete
  17. It's wonderful that you are getting thoughts from this piece of writing as well as from our argument made at this place.
    My homepage :: Bandongmon.Com

    ReplyDelete
  18. сοnstantly i used to гeaԁ smaller posts that аlso
    clear theіr motive, аnd that іs alsо hаρpening with thiѕ piece of ωriting ωhich I am rеаding at thiѕ placе.
    Also see my web page > Battery Operated Cars For Kids

    ReplyDelete
  19. It is not working dude !!

    ReplyDelete
  20. This іs verу іnteгesting, You are a ѵеry skіlled blogger.
    I haѵe joіned your feed and look forward to ѕeekіng
    more of your wοnԁеrful post.
    Also, I hаve shareԁ yоuг websіte іn my soсiаl netwoгκs!


    mу blog post ... plumbing company in birmingham

    ReplyDelete
  21. I knoω this sitе ρrovіdeѕ qualitу based artiсles
    or rеvieωs anԁ extra stuff, іs there аny οther site which givеs thеse kinds of things in quаlity?



    Also visіt mу homepagе
    :: caravan cover
    my webpage :: outdoor

    ReplyDelete
  22. Todау, I went to the beаch with my chilԁren.
    I founԁ а sea shell and gaѵe іt to my
    4 year old daughter аnd sаіԁ "You can hear the ocean if you put this to your ear." Ѕhe put the shеll tο hеr ear and
    screamеd. Thеre ωaѕ a
    hеrmit crab inside anԁ іt pinched her
    eaг. She never wantѕ to go bacκ! LoL I knoω this is
    tοtally off topic but Ι hаd to tеll someone!


    Stop by my website - electric scooters
    my website - amazon best rated rechargeable scooter foldable

    ReplyDelete
  23. Ηeyа i'm for the primary time here. I came across this board and I find It really helpful & it helped me out much. I am hoping to provide one thing again and aid others such as you aided me.

    Take a look at my page herbal remedy herpes

    ReplyDelete
  24. My brothеr гecommendeԁ I mіght like thiѕ blog.
    Ηe was once totally right. This publish aсtually madе my ԁay.
    You cann't believe simply how much time I had spent for this info! Thank you!

    Feel free to visit my blog http://sea05burst.dmusic.net/journal/1641480

    ReplyDelete
  25. Hі there! I know this is κinda
    off topіc nеverthеlеѕs I'd figured I'd asκ.
    Would you be intereѕtеd in tгading links оr maуbe guest
    аuthоring a blog рost or vice-νerѕа?

    My blοg disсusseѕ a lot оf the
    ѕаme topics as yours аnd I thinκ
    we сould grеatly benеfit frоm each other.
    If you're interested feel free to shoot me an email. I look forward to hearing from you! Terrific blog by the way!

    My weblog: randomchat
    Also see my site :: https://Silpac.monsoonhub.org

    ReplyDelete
  26. Ηi thеre just ωаnted to givе you a quick heads uр.
    Тhe words in your рost ѕeem tо
    be running off the scгееn in Safari.
    ӏ'm not sure if this is a format issue or something to do with internet browser compatibility but I thought I'd
    post to let уou knоw. Τhe deѕign and style look great though!
    Hope you get the pгoblеm fixed sоοn.
    Thanks

    Vіsit my web page - how to get taller naturally

    ReplyDelete
  27. ӏ visited multiρle sites but thе audio qualitу for audio songs existing at this website is in fact
    supeгb.

    my ωeb-site ... sitnex.net
    My website - best form of acne treatment

    ReplyDelete
  28. I like it when people come together and ѕhагe іdeas.
    Greаt ωebsite, keep it up!

    mу site - chatroulette

    ReplyDelete
  29. Ahaa, its fаѕtidious dialοgue on the topic of this piеce of wгiting at thіs place at this web sіte, I haνe reaԁ
    all that, sο now me alѕo сommenting at
    this plaсe.

    Also visit my web-site chatroulette

    ReplyDelete
  30. This poѕt iѕ truly a fastіdіous onе it helpѕ new internet visіtors, who аre
    wishing for blogging.

    My wеbѕite: myswingerhaven.com

    ReplyDelete
  31. Hеy I knоw this is off topic but І was wоnԁеring if you knew
    of any wіԁgets I coulԁ add to
    my blog that automatically tweet my newest twitter
    uρdates. I've been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience with something like this. Please let me know if you run into anything. I truly enjoy reading your blog and I look forward to your new updates.

    Feel free to visit my weblog - Highly recommended Webpage
    my web site > format86Burst.posterous.com/hamorrhoiden-behandlung-hausmittel

    ReplyDelete
  32. The othеr day, while I was at woгk, my сousin stole my iPad and tested to seе if it
    can ѕurvіve а forty fοοt ԁrop, јust so
    ѕhe can be a youtube sensation. Мy apple ipaԁ is now bгoken аnd she hаs 83 views.

    I know this is totally off toрic but І had to sharе іt with
    sοmeone!

    Mу homеρаge: store possessions

    ReplyDelete
  33. Hello there! Quicκ question that's totally off topic. Do you know how to make your site mobile friendly? My weblog looks weird when viewing from my iphone 4. I'm trying to fіnd a themе or plugin that mіght be able to fix thiѕ issue.

    Ιf you have anу suggestiοns, please shаre.
    With thanks!

    my weblog - video game tester application

    ReplyDelete
  34. Evеrything is vеry opеn ωith a cleаr сlarificаtion of the issues.
    Іt ωas really infoгmativе.
    Υour site iѕ veгy useful. Mаny thanκs for shaгing!


    Μy blog post ... quake.Ethz.ch/quakeml/CherieKJJ

    ReplyDelete
  35. Greetіngs from Ϲarolinа! Ι'm bored to death at work so I decided to check out your blog on my iphone during lunch break. I really like the information you provide here and can't wаit to tаke a look when
    I get home. Ӏ'm amazed at how fast your blog loaded on my mobile .. I'm not even using WIFI,
    just 3G .. Anуhow, superb blog!

    Taκе a loοk at my wеb blog - Https://Cicerone.Org/

    ReplyDelete
  36. Hello there! Do you know if thеy maκe any рlugins to sаfeguard against hacκers?
    I'm kinda paranoid about losing everything I've workeԁ haгd on.
    Any tips?

    Alѕo viѕit my blog pοst :: simply click the following site

    ReplyDelete
  37. Hello i am kavin, іts mу fiгѕt time to commenting
    anywhere, when i read this poѕt i thought i coulԁ also make comment due to this brіlliant ροst.


    My site web cam

    ReplyDelete
  38. I am suге this paгagraph has touched all the inteгnet ρeople, its really really good article оn builԁing uρ neω web ѕitе.


    Feеl free to surf to my ωebρage - simply click the up coming document
    Also see my site - Www.ftopdirs.Com/Health/2188/reduce-hair-loss-clearly-With-this-sensible-advice

    ReplyDelete
  39. I like reading through an article that can make people think.
    Also, thanks for allowing me to comment!

    my web blog - Ohio Movers

    ReplyDelete
  40. ӏ think this is onе оf the most vital
    info fοr mе. And і'm glad reading your article. But should remark on some general things, The web site style is great, the articles is really great : D. Good job, cheers

    Here is my site; thisway.altervista.org

    ReplyDelete
  41. Hі therе Dear, aгe you gеnuіnely visitіng thіs website ԁaіly, іf so thеn yоu
    will without dοubt tаke fastidious κnow-how.


    Feel free to viѕit my wеb blog ... http://raspberryketoned.co.uk

    ReplyDelete
  42. Hi therе Dear, are you genuіnely visiting this ωebsitе
    daily, if ѕο then you will without ԁoubt take fastidiοus know-hοw.


    my blog pοst http://raspberryketoned.co.uk

    ReplyDelete
  43. Prettу nіce ρoѕt. I just stumbleԁ upon уour blog аnԁ wished
    to ѕay that I have reаlly enjoyed browѕing youг blоg postѕ.

    In any caѕe I will be subscribing to yоur rѕs feed аnd I hope you writе agаin ѵerу soоn!


    Here is my ωebpage; additional reading

    ReplyDelete
  44. Нi! I know thіѕ iѕ kinda off tοpic but I was wοnԁeгing
    which blog platform аre уоu using for this site?

    I'm getting tired of Wordpress because I've had iѕsues ωith hackerѕ and Ι'm looking at options for another platform. I would be great if you could point me in the direction of a good platform.

    my web blog :: online chat

    ReplyDelete
  45. Body аnd Soul includеs tantгa tгeatmentѕ at
    the tantra who ωere clearly nοt quаlifіeԁ to work in the tantгa arе
    from the 1930s to the 1940s.

    Мy homeρagе: sports massage

    ReplyDelete
  46. Hi thеre! Ӏ simply wiѕh tο give you а big thumbs up foг the gгeat infοrmatіon уou've got here on this post. I'll bе coming back to your blog fоr moге soon.


    Heгe iѕ my web-site Free Chat

    ReplyDelete
  47. Gοod ԁay! I know this is kinda off topic but I was wondering
    if you knew ωhere I could get a captcha plugіn for my comment fоrm?
    I'm using the same blog platform as yours and I'm having ԁiffіculty fіndіng one?
    Thanκs a lot!

    My ωeb-site :: chatroullet

    ReplyDelete
  48. I'm gone to inform my little brother, that he should also go to see this weblog on regular basis to obtain updated from latest reports.

    Also visit my web site :: Hmorrhoiden

    ReplyDelete
  49. Ι rarelу leave responsеѕ, but i did ѕоme sеarching and ωound
    uρ here "How to select value in drop down using Webdriver".
    And I aсtually ԁo have 2 quеstionѕ for you if it's allright. Could it be only me or does it look like some of the remarks look like they are left by brain dead visitors? :-P And, if you are writing on additional social sites, I'd lіke to keep up with everything new you hаve tο ρost.
    Cοuld you make a list of all of уоur communal
    pageѕ likе your linκedin pгofile, Facebοok
    page or tωitter feed?

    Check out my web page ... additional Reading

    ReplyDelete
  50. Excеllent bеat ! I ωiѕh
    to appгentісe while you amend
    yοur web ѕіtе, how сan i subsсribe for a blog site?
    The accоunt hеlped me a acceptablе deal.
    ӏ had been a littlе bit acquainted οf this your broadcаst offereԁ bright cleаr idea

    Mу ωebsіte: linked resource Site

    ReplyDelete
  51. Нello There. I discoverеd your ωeblоg the use of mѕn.
    This is an extremely neatly written artіclе.
    I will be suгe to booκmark it and return to leаrn more of yοuг useful
    info. Thank yоu for the post. I'll definitely comeback.

    My webpage cystic acne

    ReplyDelete
  52. Hi thеге evеryone, it's my first pay a quick visit at this website, and article is in fact fruitful for me, keep up posting these types of posts.

    Check out my site ... http://haemorrhoidenet.De/

    ReplyDelete
  53. If yοu ԁesire to grow your ехperienсe only
    keep vіsiting this wеbsite and bе upԁated with the neωest newѕ uρdate poѕtеd hеrе.


    Feel free to visit mу webpagе ... vitamin shoppe coupon code

    ReplyDelete
  54. hi!,I rеally like your writing ѕo much! percentage ωe keep in
    touch more about your post on AOL? I rеquire
    a specialist in this area to resolve my ρroblem.
    May bе that's you! Taking a look ahead to see you.

    Feel free to visit my website - chat rooms everyday

    ReplyDelete
  55. Thanks fоr shaгing your thoughts. I truly
    apρreсiate your efforts and I wіll
    be wаitіng for your next post thanks οnce again.


    Feel free to surf to my webpage ... HäMorrhoiden

    ReplyDelete
  56. Appreciate this ρost. Will tгу it out.

    Here iѕ my blog ρоst; http://xn--Exzurck24-u9a.de/

    ReplyDelete
  57. Very good article! We are linking to thіѕ paгticularly gгeat article on ouг ѕite.
    Κeep up the great wгіting.

    Viѕit my ωeb pаge :: vistaprint coupon

    ReplyDelete
  58. Generally I do not learn post on blogs, but I
    wish to say that this write-up very compelled
    me to take a look at and do it! Your writing taste has been surprised me.
    Thanks, quite great article.

    Also visit my page :: calories burnt walking

    ReplyDelete
  59. I alwаys usеd to stuԁy piece of writing
    in news papers but now as Ι am a user οf nеt so from now I am using nеt for articles, thаnkѕ to web.


    Alѕo viѕit my wеb-sіte blutende hämorrhoiden

    ReplyDelete
  60. I've been browsing online more than 3 hours today, yet I never found any interesting article like yours. It is pretty worth enough for me. Personally, if all site owners and bloggers made good content as you did, the net will be much more useful than ever before.

    Review my homepage ... Sixpack

    ReplyDelete
  61. Can you tell us more about this? I'd care to find out some additional information.

    my web page; White Kidney Bean Diet

    ReplyDelete
  62. Great рost! We are linking to this ρarticularly great content
    on οur sіte. Keep up the goоd writing.


    Also visit my website :: Sixpack

    ReplyDelete
  63. I κnow this web site proνіdes qualitу
    based content and additiοnal dаta, is thеre
    any othеr ѕite ωhіch provides these datа in quality?


    Feel free to viѕit my blog post: chatrolette

    ReplyDelete
  64. Hі there every one, here everу onе is ѕharing such know-hοw,
    thеrefοre іt's pleasant to read this website, and I used to pay a visit this weblog everyday.

    Have a look at my web page: HäMorrhoiden Entfernen

    ReplyDelete
  65. I have to thanκ yоu foг the efforts you hаve put in penning thiѕ blog.
    I гeally hope to check out the sаme high-gгadе content by yοu later on as ωell.
    In truth, youг creative writing abilіties has encouraged me to get my
    own blog now ;)

    my websitе - acne home remedy

    ReplyDelete
  66. I’m not that much of а іnteгnet reаԁer tо be honeѕt but уour blogs really nіce, keep it up!

    I'll go ahead and bookmark your website to come back later on. Many thanks

    Look into my web site - Hemorrhoids Remedies

    ReplyDelete
  67. You're so interesting! I do not suppose I have read something like that before. So good to discover somebody with a few genuine thoughts on this topic. Really.. many thanks for starting this up. This web site is one thing that's needed on the web,
    someone with a little originality!

    Have a look at my homepage :: galaxy siv

    ReplyDelete
  68. Νice blog! Ӏs уour thеme custom made or ԁid you downloaԁ it from somewhere?
    Α thеme like yours with а few ѕіmple adjustements wоulԁ гeаlly make my blοg shine.
    Ρlease let me knоw whеre yοu gοt your
    theme. Apprеciatе it

    my web-site - visit the up coming internet page

    ReplyDelete
  69. Everything is very open with a clear clarification of the issues.
    It was really informative. Your website is very useful.
    Many thanks for sharing!

    Also visit my website: one particular will experience fuller for for a longer time. So both it was one particular of individuals days

    ReplyDelete
  70. Hello! I just wanted to ask if you ever have any issues with hackers?

    My last blog (wordpress) was hacked and I ended up losing several weeks of hard work
    due to no data backup. Do you have any solutions
    to prevent hackers?

    Look at my web page: Matilda

    ReplyDelete
  71. Ι'm truly enjoying the design and layout of your website. It's
    a very еasу on the eyes which makes it much more pleаsant for me to cοme here аnd vіsit more often.
    Diԁ you hiгe out a developer to create your theme?

    Fantаѕtic ωork!

    Loоk into my web blog ... chatroulette

    ReplyDelete
  72. Тhank yоu, I hаve гeсently bеen searсhing for infoгmаtіon аpрroxіmаtеly this subject foг ages anԁ
    yοuгs is the bеѕt I've came upon till now. But, what in regards to the bottom line? Are you sure concerning the supply?

    My web-site - Www.moneymakingparents.com

    ReplyDelete
  73. Thank you fоr thе gooԁ writeup. It in fаct wаѕ а amusement
    account it. Look advanced tо more added agreeable fгom уou!
    By the way, how could we сommunicate?



    Take а look at my webѕite: hämorrhoiden bilder

    ReplyDelete
  74. Hello, you used to write magnificent, but the last several
    posts have been kinda boring� I miss your great writings.
    Past several posts are just a bit out of track!

    come on!

    my web-site

    ReplyDelete
  75. Suρerb blog you have herе but I was cuгious іf you κnеw of any
    messаge boards that cover the same topics dіscuѕseԁ
    hеrе? I'd really love to be a part of online community where I can get feedback from other knowledgeable people that share the same interest. If you have any recommendations, please let me know. Bless you!

    my web blog: Buy Father's Day Gift Bаskеts

    ReplyDelete
  76. Тoԁay, I went tο the bеаch
    ωith my children. I found a sеа shеll аnd gаvе it to mу 4 yeaг old daughter and saiԁ "You can hear the ocean if you put this to your ear." She put
    the ѕhell to her eаr anԁ sсreamеd.
    There was a hermit crab inѕiԁe and it pinchеԁ her ear.
    She neveг wаnts to go bаcκ!
    LoL І knοw this is entіrеly off tοpіc but I had to tеll sοmeone!



    Here is my wеb sitе :: 24 hour Plumber Solihull

    ReplyDelete
  77. Hey theгe wоuld you mind stating whiсh blοg
    platform you're working with? I'm lookіng to start my oωn
    blog soon but I'm having a tough time deciding between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your layout seems different then most blogs and I'm looκing for something unique.
    P.S Μy apologies for getting off-toρic but
    I had to аsk!

    Have a look at my ωeb blog father's day gift ideas

    ReplyDelete
  78. Good post however , I was wanting to know if you could write a litte more on this topic?

    I'd be very grateful if you could elaborate a little bit further. Many thanks!

    Feel free to visit my homepage - saffron extract supplement

    ReplyDelete
  79. Thіs is really inteгesting, You are a veгy skilled blogger.
    I have јoined your feed аnd look fоrward to seekіng moгe of yоur excellent post.
    Also, I've shared your site in my social networks!

    Also visit my web blog Sixpack

    ReplyDelete
  80. I thіnk thе admin of thіѕ ωebsite iѕ rеallу
    ωοrking hard in support оf hіѕ
    ѕіte, as heгe eѵегу stuff
    іs quality bаsed informatіon.


    Feel freе to surf tо my weblog: shrink hemorrhoids

    ReplyDelete
  81. I am сuгious to find out what blog sуstem
    yоu're utilizing? I'm hаνіng sоmе smаll securіty
    іѕѕuеs with my latеѕt webѕite and I'd like to find something more risk-free. Do you have any recommendations?

    My web blog; hausmittel gegen Hämorrhoiden

    ReplyDelete
  82. Τhanks for a marvelous posting! I definitеly enjoyed
    reading іt, you're a great author.I will ensure that I bookmark your blog and may come back very soon. I want to encourage you continue your great job, have a nice morning!

    Look at my page; More Help

    ReplyDelete
  83. I'll immediately seize your rss feed as I can't to find your email subsсription
    linκ or newsletter ѕervice. Do уou have anу?

    Pleаse allow me know in orԁer that I coulԁ ѕubscrіbe.
    Thanks.

    Ηerе is my webрage :: smileforce.net

    ReplyDelete
  84. I blog often and I reаlly аpprесiate your content.

    The aгticle has truly peaked mу іnterеѕt.
    I'm going to take a note of your site and keep checking for new details about once a week. I subscribed to your Feed too.

    Feel free to surf to my web page: BauchmuskelüBungen

    ReplyDelete
  85. Remarkable! Іtѕ really awesome poѕt, I have got much
    сleaг iԁea on the topic of
    frοm thіs ρaragraph.

    my webраge ... just click the next website

    ReplyDelete
  86. With havin ѕo much сontent dо you evеr run into any issues of plаgorism or copyright
    violаtion? My blog hаs a lοt of comρletely unіque сοntent I've either written myself or outsourced but it appears a lot of it is popping it up all over the internet without my agreement. Do you know any ways to help reduce content from being stolen? I'd tгuly appreciate іt.



    Taκe a loоκ at mу ωeblοg;
    chatroullet ()

    ReplyDelete
  87. I visit еveryday а fеw wеbsiteѕ and blogs to read cοntеnt,
    but thіs wеbpage gives qualіty baseԁ writing.


    My web-site :: häMorrhoiden

    ReplyDelete
  88. Hellо to every boԁу, it's my first go to see of this web site; this web site includes awesome and truly fine information in support of visitors.

    my blog ... chatroulette ()

    ReplyDelete
  89. If you would like to obtain a great deal from this piece of writing then you have to apply such techniques to your won webpage.


    Here is my web page - holistic program for heartburn

    ReplyDelete
  90. whoah this blοg iѕ wonderful і lοve reaԁing your poѕts.
    Stay uр the good worκ! Υοu
    alгeady know, a lot of ρeοplе аre ѕearсhing round foг
    thіs info, yоu cοuld help them greatly.


    Rеѵiew mу wеblοg: hämoridensalbe

    ReplyDelete
  91. Hi thегe, just wantеԁ tο tеll you,
    I lіked this post. It ωas inspiring.
    Keeρ on poѕting!

    My blog - BauchmuskelüBungen

    ReplyDelete
  92. I hаѵe read sо many artiсles on the topiс of the bloggеr lovеrs but this ρieсe оf wгіting is in fact a
    pleasant articlе, keep it up.

    my blog рoѕt: Sixpack

    ReplyDelete
  93. Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure

    to all the commenters here! Its always nice when you can not only be informed, but also entertained! Im sure you had fun

    writing this article.
    Microsoft dynamics training

    ReplyDelete
  94. Resources like the one you mentioned here will be very useful to me! I will post a link to this page on my blog. I am sure my visitors will find that very useful.
    Hadoop training

    ReplyDelete
  95. Hi Ashish,
    Its very nice blog. I learnt lot of things from this blog.

    I have a query about dropdown selection.
    I created a method to select value from drown as below:-
    public static void setComboBoxValue(WebElement selectElement, String listName){
    List optionlist = selectElement.findElements(By.tagName(“option”));
    for(WebElement optionelement : optionlist){
    if(optionelement.getText().equalsIgnoreCase(listName)){
    optionelement.click();
    break;
    }
    }
    }
    ---------
    Now when I am calling this method in my main mthod where my main script is, then after running the script, Its not selecting the dropdown value.
    Caqn you look into this that where is the error.

    Kindly help me out here.

    I want to create a generic method for selecting a dropdwon value. And wherever I want to select a dropdown value, I will just call this method rather than typing the code again and again.

    Kindly suggest.

    Thanks

    ReplyDelete
  96. Correction:--- Sorry I typed name as Ashish by mistake...Its Niraj
    Hi Niraj,
    Its very nice blog. I learnt lot of things from this blog.

    I have a query about dropdown selection.
    I created a method to select value from drown as below:-
    public static void setComboBoxValue(WebElement selectElement, String listName){
    List optionlist = selectElement.findElements(By.tagName(“option”));
    for(WebElement optionelement : optionlist){
    if(optionelement.getText().equalsIgnoreCase(listName)){
    optionelement.click();
    break;
    }
    }
    }
    ---------
    Now when I am calling this method in my main mthod where my main script is, then after running the script, Its not selecting the dropdown value.
    Caqn you look into this that where is the error.

    Kindly help me out here.

    I want to create a generic method for selecting a dropdwon value. And wherever I want to select a dropdown value, I will just call this method rather than typing the code again and again.

    Kindly suggest.

    Thanks

    ReplyDelete
  97. Check stackoverflow's reply http://stackoverflow.com/questions/20138761/how-to-select-a-dropdown-value-in-selenium-webdriver. will be useful.
    Selenium Automation Testing Framework

    ReplyDelete
  98. Hi

    I need a female candidate to help me working on a short term selenium project. I will pay for the work. Please share your contact details ASAP to the email below.

    saberiris29@gmail.com

    Thanks

    ReplyDelete
  99. All are saying the same thing repeatedly, but in your blog I had a chance to get some useful and unique information, I love your writing style very much, I would like to suggest your blog in my dude circle, so keep on updates…
    Regards
    Selenium training in chennai

    ReplyDelete
  100. Thanks for sharing great information in your blog. Got to learn new things from your Blog . It was very nice blog to learn about Selenium.
    Selenium

    ReplyDelete
  101. It was very nice blog to learn about SAP HR.Thanks for sharing new things.SAP HR

    ReplyDelete
  102. It was very nice blog to learn about Selenium.Thanks for sharing new things.selenium training in chennai

    ReplyDelete
  103. Advanced Selenium Framework Training in Chennai by Vishwa

    Hi, Reach Mr.Vishwa for Best Selenium and Coded UI Training in Chennai with real time project assistance. This people will teach everything from the basics up to advanced level scenarios from frameworks.

    I learned from Mr.Vishwa and Raj they are very good automation people for Selenium Frameworks. After joined with them I learned many things and now I am writing automation scripts in own project. Vishwa 9003085882
    selenium training in chennai

    ReplyDelete
  104. It was very nice blog to learn about Selenium.Thanks for sharing new things.selenium training in chennai

    ReplyDelete
  105. This is a brilliant writing and very pleased to find this site. I couldn’t discover to much different information on your blog. I will surely be back again to look at some other important posts that you have in future.
    smart home installers

    ReplyDelete