- Share This:
- Google+
Batches Details
Popular Posts
About Me
Subscribe
Followers
Popular Posts
-
1. What is the default value of the local variables? A. The local variables are not initialized t...
-
1. What is Selenium? Selenium is a suite of tools for browser automation. It is composed of "IDE", a recording and playback...
-
To make synchronize webdriver with application we have three ways in selenium. impliciteWait : If we use implicitlyWait(20, TimeUnit. SE...
-
Principal Global Services Pvt. Ltd. Eligibility : # BE/ BTech/ MCA/ MS or equivalent (all branches) from 2019 batch # Good academic r...
-
Using Robot We can Handle Multiple Tabs in Selenium package samples; import java.awt.AWTException; import java.awt.Robot; import java.awt.e...
-
Browser Commands Navigation Commands Switch Commands Wait Commands WebElement Commands
-
I have a bike I have a car I have a BMW I have a Audi
-
Honda Jazz i20 Fiat Audi
-
Navigation for Downloading selenium webdriver jars Open Browser and type seleniumhq.org Click on Download Tab Under selenium standa...
-
Working With Eclipse Videos Installing Java, working with eclipse, creating workspace, Project , Package, Class
Powered by Blogger.
Blog Archive
Pages
Definition List
Support
Ordered List
Support
Testing Job News
Principal Global Services Pvt. Ltd. Eligibility : # BE/ BTech/ MCA/ MS or equivalent (all branches) from 2019 batch # Good academic r...
How to handle 2 dropdowns which has same name.
ReplyDelete//I have written code like this, but its select only first dropdown, its not going to 2nd dropdown:
WebElement rel = driver.findElement(By.name("customerBean.relationCd"));
if(rel.isDisplayed()){
Select se = new Select(rel);
se.selectByIndex(18);
}
//Even I tried this code too, but its not working:
List ref = driver.findElements(By.name("customerBean.relationCd"));
System.out.println("reference dropdowns " + ref.size());
((Select) ref.get(0)).selectByIndex(18);
((Select) ref.get(1)).selectByIndex(18);
ares mp3 apk
ReplyDeletesports whatsapp groups
ReplyDeleteYour article is very helpful.You can visit my website:fmovies apk
ReplyDeleteIf Your are not ediot then try this app SketchBook Mod Apk
ReplyDelete