Error: Permission denied to access property "x" due to same/cross origin...
I want to access to the content of a script which is inside another HTML element which I can Identify easily. I've tried to find the element by getting the parent and then looking for a child but I've...
View ArticleXHR request getting blocked and showing HTTP status code 405 with Python...
Hi I am new to Selenium based automation. I am trying to load a page in Selenium with Python. But the website is blocking me. They are sending XHR request to the site and redirecting based on the...
View ArticleRunning Selenium test in parallel browsers
I am facing an issue while running selenium tests in parallel browsers. If I am running 1 Test in 1 Browser, then its taking 3 mins to get over. However, if I am increasing the number of runner files...
View ArticleMultiple Assertions in MSTest
I am developing a C# based Selenium .Net application testing suite using MSTest and am in fairly later stages of the development. I now feel the need to implement multiple assertions for a test case....
View ArticleHow to group priority in TestNG for each class?
When I execute my testNG project, it is mixing up all the Tests from different classes which i add under the same <test> based on the priority. How do i code so that, I need to run all the...
View ArticleWhich ChromeDriver version is compatible with which Chrome Browser version?
Actually I'm a bit confused. Although I read several resources about this.For having a test of Selenium 3 using ChromeBrowser we need an extra app called ChromeDriver.I found this text from...
View ArticleSelenium webdriver Java: Page object model :Cannot find web elements in...
I am trying to execute a simple testng program using page object model. I am able to launch chrome browser. But cannot find any web elements on the page. It is printing foundd and not doing anything...
View ArticleCircle Slider Hour Android Tester
I want to set my slider hour android in selenium tester.My codeprotected void hourCircularSlider(WebElement sliderHour) { Actions move = new Actions(getDriverInstance()); //Action action =...
View ArticleIllegal State Exception with Gecko Driver [closed]
I am trying to execute following program but getting below error. Any idea how I can fix this?package Test; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver;...
View ArticleHiding java files in selenium and java test automation framework
I have a test framework built with java and selenium. How can i hide few java files in the framework, which are inside different packages? But i need to use those files in the framework. Is this...
View ArticleXpath and className are not working even though path and name are correct
I want to click "Action" button and select the option "Update Reference data".Here is my code Thread.sleep(30000);// To load the page...
View ArticlePython selenium handle key pressed
I'm trying to make an automation program, and it tries to run another logic before sending a specific key to chrome driver.For example,A GUI program opens a browser and waits the user input from the...
View Articleorg.openqa.selenium.SessionNotCreatedException: session not created exception
I'm trying to run some Selenium tests using the ChromeDriver, and I started getting this error:Starting ChromeDriver 2.23.409699 (49b0fa931cda1caad0ae15b7d1b68004acd05129) on port 42985 Only local...
View ArticleHow to get value of content attribute from span class
My diction is going to be wrong, so forgive the misnomers. I'm looking for the text of the "content" within the span class:<span class="rating-label" content="5"> I'm looking for "5"I've...
View Articlewhen i am using pojo, i am getting exception?
hi all please check my codepublic class Sample1 extends Sample { public static void main(String[] args) { System.setProperty("webdriver.chrome.driver",...
View ArticleHow to remove coma from web element in python?
How to remove , from WebElement?Details:I scraped a web page using selenium but from that text I want to remove ,For Example:If I scrap hey, welcome 2020 before this will enter on my csv file I want to...
View ArticleTesting data from two different source in Robot Framework
I want to test & validate the data from two different sources at the same time using robot framework. I'm stuck & I don't know how to proceed further. I've come up with code as far now...
View ArticleIs there something issue in indentation, while using Anaconda's Spyder
from selenium import webdriver from selenium.common.exceptions import TimeoutException from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions...
View ArticleRunning testMethods in parallel not the Tests in testng...?
testng.xmlHere i've mentioned my test methods are parallel, my intention is to run the test methods in parallel but each tests should run sequentially one after the other like, After LoginPage-tests...
View ArticleHow do I automate multiple options from dropdown simultaneously [closed]
How do I automate dropdown multiple times using a single piece of java code For example: Dropdown has 10 webelement options and would like to perform actions on any 6 options like below - Select item1,...
View Article