5
votes
Accepted
How to share git project to other users
Sharing credentials
You should never share your credentials with others. Keep those private. Use the tools provided by git(hub) to give others access to your repository.
How to give others access
...
4
votes
Accepted
"java.lang.NoClassDefFoundError" : A JNI error has occurred
Understand - Cause why this occur
Any of your file is present at the compile time but its not reachable at the execution time
You need to crosscheck both compile time and run time environment & ...
4
votes
I was asked this question in interview on test automation
The purpose of using any test automation tool is to fail when the assertion fails. However, how you write your tests also matter. It's recommended when writing tests to use the FIRST principle.
FIRST ...
3
votes
Accepted
Selenium Webdriver | Python (Tumblr) : Cannot access element ID after posting
The message
Element <div class="tab iconic tab_nav_account " id="account_button">...</div>
is not clickable at point (924, 28). Other element would receive the click:
<div class="v-...
3
votes
Robot framework not picking up keyword implementation
A few corrections which will not directly solve the issues you're facing, but will put you in the right direction.
About your robotframework source:
The settings names are actually Test Setup and ...
3
votes
How to perform databse testing in selenium webdriver
Selenium is used for automating user-browser interaction with the HTML and Javascript on websites.
It does not have any functionality to test databases other than indirectly through web applications ...
3
votes
How to run testcases on one browser
Define the webdriver at the class level and then call the same webdriver instance on each and every test method.
3
votes
Python expected an intended block error if/else
You seem to have "else" twice near the end of the code snippet.
On some other things that I would change:
You call time.sleep() twice at the start of the code, one right just after the other
Remove ...
2
votes
Accepted
TestNG Report display Blank
As per your configuration link that provided in comment , There is step num 3 is missed.
Please update testng.xml to
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "testng....
2
votes
Accepted
Problem with Selenium configuration in Eclipse
You are initializing chrome in a wrong way. In your code you have maximized browser and called the URL, before even setting up the chrome profile. You can give a try to below code:
System.setProperty(...
2
votes
Accepted
I want to know working of sonarqube
Here is the step-by-step procedure to perform the scenario:
Setup a Jenkins server if already not using.
Goto plugin-manager of Jenkins to install “SonarQube Plugin”.
Goto “System-configuration” of ...
2
votes
Accepted
Robot framework with java: where to put browser driver path?
I actually found out how to do it:
I created a .java file within src/main/java/mycompany and added a method that sets up the property:
package mycompany;
public class Setup {
public void ...
2
votes
Accepted
Chrome browser is not open in selenium using linux
Possible error :
Old configurations
Already chromedriver process is open and occupied port
Solution :
1. Use latest files :
Java 8
Selenium 3.4.0 (Latest one)
Chromedriver (Latest one)
Note : ...
2
votes
Accepted
Difference of using JAR Files and Maven
Not a big difference.
When you add JARS in eclipse build path you have to find those jars in the network, download the proper version, place them on your hard drive, set up the config in Eclipse.
...
2
votes
Accepted
findElement is not working in Appium on Android
The Issue was related to the JAR files compatibility among them.
After using following versions jar viz
gson-2.8.2.jar
java-client-5.0.3.jar
junit-4.12.jar
selenium-server-standalone-3.5.3.jar
It ...
2
votes
Accepted
How to run selenium-cucumber eclipse project through command prompt
Well at last the Issue is been resolved.
All I have did is in eclipse, just renaming the file "TestRunner" to "TestRunnerTest".
Command Line:
java -cp "E:\Workspace2\AP\Jars\*;E:\Workspace2\AP\bin" ...
2
votes
How to perform QA when dev provided no deliverables?
When testing objectives are unclear (and often even if they are) I go to our generally accepted standards:
Have cases for the following types of tests and tag them accordingly
Smoke - basic page ...
2
votes
How to pass the data provider data when page factory method is applied
If I have understood your question correctly, then following are the changes that you need to do:
1. The method setfirstname is not a Test method, so remove the @Test annotation.
2. The method valid ...
2
votes
Cucumber sentence autocomplete
An autocomplete would come against Cucumber's goal of creating a shared vocabulary.
When the Three Amigos come to work on a new feature and its scenarios, they would develop this vocabulary, which ...
2
votes
Accepted
Eclipse and RED (Robot Editor) won't open files in Robot project - NullPointerException
I should read more before asking questions.
I've looked into RED open issues on github, and there's this thread: Imposible to open robot file after update. That's very similar (or the same) to my ...
2
votes
Accepted
Best model/design technique for test scripts
What's the purpose of the most advanced/the best/...? You should be more concerned about how well you test, not that much about the best/the most advanced etc. Sure, there are good and bad approaches, ...
2
votes
Custom Framework for Writing a Test that Reads a CSV File into a HashMap
I think your biggest issue here, while not strictly test related, is your understanding of what the code you've written does (versus what it is supposed to do).
What your code currently does
If your ...
1
vote
Dynamic ID locating element
I would use the following xpath, assuming your webdriver is called "driver"
WebElement button = driver.findElement(By.xpath("//button[@aria-label='Show Calendar']"));
The idea is to try to locate an ...
1
vote
Getting issue regarding to get selector in the selenium web driver
Without the full DOM structure, I would guess by the UI:
Probably there is a root where the two button elements derive uniquely.
Some common node
└── ├── Image Node
├── Image tag
...
1
vote
How to run selenium-cucumber eclipse project through command prompt
The --glue should point to the java package in which your glue code resides.
Which in your case, based on the above screenshots, should be “--glue stepDefinition”
One other important aspect is that ...
1
vote
How to run selenium-cucumber eclipse project through command prompt
The steps look good so perhaps it is not finding / using the step definition file.
Maybe the part from the instructions about:
"Your feature files can be added to the end of the command line:
$ ...
1
vote
Accepted
Unable to import packages while intializing java classes
I think some problems right here are following:
You are trying to use constructor of the class WebDriverWait to behave as a method of waiting for 5 seconds for some action. This won't work.
There is ...
1
vote
Accepted
Displays error while select radio button in selenium
As I understand from this stack trace it is issue of Element is not clickable.
For this exception, following problem :
Page is not loaded properly. So you need to wait for page and all ...
1
vote
Why is there no Gauge plugin version for Eclipse IDE
No, each "product" has their on version numbers. So each plugin/package being separate from the standard IDE means it has a different number scheme. You need to check the release notes for the ...
1
vote
Robot framework with java: where to put browser driver path?
set up a environment variable like this:
Set Environment Variable webdriver.chrome.driver C:\webdriver\chromedriver.exe
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
eclipse × 93selenium-webdriver × 75
java × 39
automated-testing × 26
testng × 15
appium × 8
selenium2 × 5
robotframework × 4
junit × 4
maven × 4
python × 3
browser-automation × 3
cucumber × 3
android × 3
test-automation-framework × 2
javascript × 2
selenium-ide × 2
database × 2
autoit × 2
git × 2
selendroid × 2
jubula × 2
monkeytalk × 2
performance × 1
xpath × 1