New answers tagged java
0
votes
How can i send the JDBC Response from one thread group to another thread group Request in Jmeter
Set up your plan as below.
Add Loop Controller-->
Inside Loop Controller set your JDBC Connection Configuration and Request.
-->Add Counter(available in Config Element) and all other Request.
--&...
0
votes
Unable to capture the element using xpath
My xpath looks like below when copied from browser:
//*[@id="__next"]/div[1]/div/main/div[2]/div/div[3]/div[2]/div/div[4]/dl/div[2]/dd/span
The xpath you mentioned has a high possibility to ...
0
votes
Unable to capture the element using xpath
In every application, such scenarios of retrieving dynamic runtime data through automation script is a common requirement. Usually any professional software testing services company, will handle such ...
0
votes
Logging js console when doing selenium test using firefox driver
Try this piece of code and see if you get the logs:
WebDriver driver;
System.setProperty("webdriver.gecko.driver", System.getProperty("user.dir") + "//geckodriver");
...
0
votes
Accepted
Compilation stuck at find element by xpath without giving any error
Issue was in xpath. Selenium could not able to locate eliment with given xpath. Threfore I customize the xpath use findElements to identify all similar elements. Then use get index to get specific ...
0
votes
Accepted
Button element found but click() action not performed
Issue was there were more buttons with given css selector variables.So when executing selenium could not find the exact elements.
The solution is to get all the elements with similar css variables and ...
0
votes
Webdriver -> how to check something in txt file open in firefox?
When you open a text(.txt) file in a browser and check the structure of the contents in the console, you will notice that it's HTML and the content of the file are enclosed within <pre></pre&...
0
votes
JMeter + Webdriver : Java code is not taking screenshot and it is giving ERROR c.g.j.p.w.s.WebDriverSampler: Sourced file: inline evaluation of:
The error is due to missing import of TakesScreenshot class
You need to add the next line:
import org.openqa.selenium.TakesScreenshot
to the beginning of your script.
Also with regards to "...
1
vote
Which can be better in automation framework designing for an organisation, Python or Java?
Are you familiar with either language ? Are there co-workers or mentors that use either of these languages ? These are the types of questions you need to answer. Either language works fine with ...
0
votes
Appium - 'POST /element' cannot be proxied to UiAutomator2 server because the instrumentation process is not running
When the driver is getting disconnected that error is displayed.
Adding this code helped me
driver = DriverManager.getDriver();
Top 50 recent answers are included
Related Tags
java × 1371selenium-webdriver × 1143
automated-testing × 458
testng × 152
selenium2 × 91
xpath × 70
cucumber × 70
browser-automation × 64
appium × 58
test-automation-framework × 49
junit × 48
page-objects × 45
javascript × 42
eclipse × 36
chromedriver × 34
jmeter × 33
maven × 21
android × 19
mobile-automation × 19
python × 18
selenium3 × 17
firefoxdriver × 17
assert × 17
test-design × 16
unit-tests × 16