Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions about testing applications written in Java or test automation written in Java, a popular programming language and runtime environment which allows Java programs to run unchanged on most hardware and software platforms.
0
votes
CucumberTests java.lang.IllegalArgumentException: Not a file or directory
Please check whether you have added the correct path. If path is correct then check the jar you have added to the project. Jar version mismatch can lead to this problem. I am using cucumber 1.2.4 and …
0
votes
Selecting a player and the position using winium
Why are you writing as driver.findElementsByName("0-9"), the proper way to write is driver.findElements(By.id("a"));(Just an example).
If you are using specific methods the please don't mind.
As Ale …
4
votes
3
answers
8k
views
I am automating a page which will open up a PDF while clicking on a link. After that I have ...
This is the code for transferring control
for (String handle : driver.getWindowHandles()) {
driver.switchTo().window(handle);
ArrayList<String> windowTab = new ArrayList<String>(driv …
0
votes
Selenium WebDriver: Can anyone help me out in getting the tooltip?
You have to use Actions for this. in this am printing the mouse hover message in Google
Actions ToolTip1 = new Actions(driver);
WebElement googleLogo = driver.findElement(By.xpath("//div[@id …
1
vote
2
answers
1k
views
My page takes long time to load so am not able to identify an element from the page.Please p...
driver.findElement(By.id("oPortalUser_LoginID")).sendKeys("xxxxx");
driver.findElement(By.id("oPortalUser_Password")).sendKeys("xx");
driver.findElement(By.id("xxx")).click();
After clicking on Lo …
0
votes
How to solve java.lang.NullPointerException error in button click event?
I think the line which is causing the problem may be
@FindBy(xpath = Locators.newButton)
You are directly calling an element from the Locators class, right?
Try creating an object of Locators clas …