How do I Select a Dropdown using if condition in Selenium WebDriver using Java? -
select orgtype = new select(driver.findelement(by.xpath(".//*[@id='organizationtype']"))); orgtype.selectbyvalue("accelerator"); select invstage = new select(driver.findelement(by.xpath(".//*[@id='investmentstage']']"))); invstage.selectbyvalue("series_a"); select tickersize = new select(driver.findelement(by.xpath(".//*[@id='tickersize']"))); tickersize.selectbyvalue("from100kto500k"); driver.findelement(by.xpath(".//*[@id='website']")).sendkeys("www.fb.com"); if(driver.orgtype. )
i not getting after this
Comments
Post a Comment