5
votes
How to Pause your script in selenium untill your Autoit script gets completed?
Simpler solution is try a waitFor() on your process, this waits until the process exits.
@Test (priority=1)
public void CreateNew() throws Exception
{
Process process = Runtime.getRuntime()...
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
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
How to click on the hidden values in selenium webdriver using java?
You can't click hidden elements with Selenium.
However, you can trigger the click through Javascript, as found on SO:
JavascriptExecutor js = (JavascriptExecutor)driver;
js.executeScript("arguments[0]...
3
votes
How to start object mapping mode in Jubula?
The prerequisites for starting the object mapping mode are:
project is created and opened
a connection has been made to the AUT Agent (if this is successful, the "Stop AUT Agent" button on the ...
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
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
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
Running selenium scripts on remote machine
Hopefully you are using a test framework like testng on spock, if you are then plugging it into a remote jenkins and show the status in jenkins should be your standard approach. If trust is an issue ...
2
votes
Selenium with IntelliJ
Eclipse and Intellij(Community Edition) are open source.
Intellij refactoring support is better.
IntelliJ IDEA is way powerful than Eclipse, It has the best autocomplete (intellisense). Its better ...
2
votes
Selenium with IntelliJ
It is a personal preference:
You can find out more information about IntelliJ and Eclipse here:
Why IDEA is better?
Eclipse, NetBeans or IntelliJ: Which is the best Java IDE?
How is IntelliJ ...
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
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
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
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
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
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
Accepted
Is there a tool to measure Java/Eclipse memory and garbage collector performance?
Have a look at the Eclipse Memory Analyzer:
The Memory Analyzer provides a general purpose toolkit to analyze Java heap dumps. Besides heap walking and fast calculation of retained sizes, the ...
1
vote
How to get span value
//Getting the WebElement.
WebElement errormsgforoldpass = driver.findElement(By.xpath("//span[@class='field-validation-error']//span[@for='OldPassword']"));
//Getting the text of the webelement.
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
eclipse × 93selenium-webdriver × 77
java × 38
automated-testing × 25
testng × 17
appium × 7
selenium2 × 5
browser-automation × 4
robotframework × 4
junit × 4
maven × 4
python × 3
cucumber × 3
autoit × 3
test-automation-framework × 2
javascript × 2
android × 2
selenium-ide × 2
database × 2
selendroid × 2
jubula × 2
monkeytalk × 2
performance × 1
xpath × 1
unit-tests × 1