2022 Developer Survey is open! Take survey.

New answers tagged

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. --&...
user avatar
  • 1
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 ...
user avatar
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 ...
user avatar
  • 650
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"); ...
user avatar
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 ...
user avatar
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 ...
user avatar
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&...
user avatar
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 "...
user avatar
  • 12.5k
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 ...
user avatar
  • 360
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();
user avatar
  • 1

Top 50 recent answers are included