Why I am getting error 'screenshot failed, retrying timeout: Timed out...
getting timeout exception org.openqa.selenium.TimeoutException: timeout: Timed out receiving message from renderer: 10.000, screenshot failed, retrying timeout: Timed out receiving message from...
View ArticleCucumber Unsatisfiable Dependencies Exception
I am trying to use cucumber framework with selenium and appium, but while executing cucumber feature, i am getting the following exception :cucumber.runtime.CucumberException:...
View ArticleTestNG run set of test cases in loop
Searched everywhere but could not find solution how to do following: As Example: for (int i = 0; i < 5; i++) { @Test public void test1(){ assertThat(assertvalue 1); } @Test public void test2(){...
View ArticleSelenium Chrome Driver - Can i set timeout for connecting to driver? [duplicate]
I'm using selenium tests which requires to invoke first Chrome driver (in my case through "chrome.exe --remote-debugging-port=9222 --user-data-dir="C:\selenum\AutomationProfile")It's acceptable that...
View ArticleRandom JavascriptException on parallel run
While executing parallel tests in TestNG I randomly got JavascriptException. This occurs on random test. The weird thing is that it goes smoothly on 5 threads, but on 6 threads it always fails one...
View ArticleHow to setup Proxy in Karate config file
I am using the following syntax in karate feature file and it works but I want to add this globally in karate config file so that I don't have to add in all of my feature file individually * configure...
View ArticleHow to close Selenium webdriver with a Winform button - C#
Hy,I'm succesfully separeted my long run thread from the main application so I can reach the Winform UI. Now I would like to put a button to the winform to close and quit the webdriver. Here are some...
View ArticleMoveTargetOutOfBoundsException problem with chromedriver version >74
I don't know why ActionChains move_to_element() is not working with chromedriver >74.(But it works on chromedriver 74 and geckodriver.)Even though I add these three line before ActionChains, it...
View ArticleError while Installing TestNG Eclipse Plugin 6.14.3 Version
I am getting the following error while installing TestNG plugin( 6.14.3) in Eclipse. Missing requirement: TestNG Eclipse Support 6.14.3.201902250526 (org.testng.eclipse 6.14.3.201902250526) requires...
View ArticleGet FQDN from domain
this is my first question here, so I will try my best.I am trying to get the protocol and the FQDN (fully qualified domain name) from a bunch of domains, i.e. get https://es.aliexpress.com from...
View ArticleHow to create batch job in Jenkins to run 100 test cases out of 1000 test...
I have 1000 test cases and i have to create a job to run few test cases daily out of 1000 like 100.how can i create a job to do this in Jenkins.
View ArticleHow to create unique, complex Xpath to find a textarea tag?
Recently I'm struggling in my job with an issue of creating a proper Xpath selector to get the content of the demanded text area. Here's the structure of my HTML document: <div...
View ArticleHow to Automate mainframe through Selenium
How do I automate main frame application with use of Selenium, which pulgin should i use? Does sequili works on mainframe? Also I have to automate AS400. Does anyone has useful content on github?
View ArticleHow to capture the screenshot of a specific element rather than entire page...
Currently I'm trying to capture a screenshot using the Selenium WebDriver. But I can only obtain the whole page screen shot. However, what I wanted is just to capture a part of the page or perhaps just...
View ArticleHow to locate an element that doesn't have element name using xpath?
Hi can anyone let me know if it is possible to locale an element that doesn't have element name using xpath? The element I want to click is a 'x' button beside a label, and it doesn't have a name, I...
View ArticleInfinite Scroll in Instagram comments for Web Scraping in Python
I am trying to build a scraper that is saving the comments under an Instagram post. I manage to log in to the instagram through my code so I can access all comments under a post, but I seem to cannot...
View ArticleHow to select specified node within Xpath node sets by index with Selenium?
I'm writing a Selenium testcase. And here's the xpath expression I use to match all 'Modify' buttons within a data table.//img[@title='Modify'] My question is, how can I visit the matched node sets by...
View ArticleHow to disable the "Insecure Connection" while opening up a private browser...
While running my python selenium script for firefox browser; I encountered an issue saying Your connection is not secureIt is not allowing me to Add exception and blocked Confirm Security Exceptionas...
View ArticleHow to construct css_selector to work with Selenium and Python
Using CSS selector in selenium python, I'm trying to log in to webpage automatically.Instead of using:driver.find_element_by_id() I wanna practice using:driver.find_elements_by_css_selector() So i...
View ArticleUsing a variable in xpath in Python Selenium
I've been having trouble figuring out how to get a variable to work Selenium. This post seems to have helped (Variable not working inside parenthesis) but I still can't get it to work.When I used the...
View Article