Vote count: 0 I have a webpage: Wireless - General Set up the wireless related information below. Frequency 2.4GHz 5GHz By default "5GHz" option is selected. How can I select "2.4GHz" using xpath? I am doing this from Python script and using selenium webdriver. asked 59 secs agoManoj Tyagi Let's block ads! بخوانید...
ادامه مطلبVote count: 0 Sorry for this weird question. Actually we go for selenium-webdriver to make manual test simpler,but what I felt is, for finding each and every webelement itself a hectic job. I actually do 'n' number of test to test my selenium code. So, how can I make it simpler. Thanks in advance!! asked 1 min agoPrabhu Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I have a page that I am trying to test which basically consists of an upload button. Once you click the button you are given an uploader which will take a still image and convert it into a short video. The java code works fine on chrome and firefox but safari does not seem to ever see the uploader button or really any input box which uses sendKeys(). Any ideas on how to proceed? Using Safari 9.1. Mac OS X 10.10.5. Selenium 2.52.0. SafariDriver is 2.48.0 which is the only one I can find on the Selenium website. import org.openqa.selenium.*; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.interactions.Actions; import org.openqa.selenium.safari.SafariDri...
ادامه مطلبVote count: 0 I'm trying to make sure that in a "text box" I can only input specific characters , and or only numbers. I want to to this with selenium , but I seem unable to reach the script throw selenium. Im able to check the properties of the text box but not the script itself , since this one does not appear on screen. Here is the code I want to check. How can I test the script through selenium? Simple form New user registration: First name: * Last name: * Password: * Phone: * E-mail: *...
ادامه مطلبVote count: 0 I have a pop up window on webpage where in i need to click on "Next" and "Cancel" button. I have tried navigating and find the css selector but couldnt able to locate and click on Next & Cancel button. Below is the Fire bug things when i got after hovering on Next & Cancel Button. Please help how to click on Next & Cancel button Next Cancel asked 1 min agouser3349459 Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I am testing a web application in selenium IDE. I want to access a single row of table, but i am unable to select, plzzz tell me what command and target i should write? asked 1 min agoVii Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I use selenium to login the Facebook. Now I am trying to put some keywords into the search bar on the top of the page than get the result back. In the old version of the search bar, I could easily find the input by finding the id of the text input. However, in the new version of the search bar, I can't do the same trick. Anyone could handle this situation? asked 3 mins agoYuwin Let's block ads! بخوانید...
ادامه مطلبVote count: 0 On page I have HTML element which changes after a few seconds (to few minutes) from: to: It's part of loader. I want to wait till this element change. I've tried with this: element = self.check_element(By.ID, "progressbar-overlay", "Progressbar wasn't displayed", tekst) for x in range(0, 120): if element.value_of_css_property("opacity")==1: print element.value_of_css_property("opacity") + " not yet" else: print element.value_of_css_property("opacity") + " end" break but result is: 1 en. Ran 1 test in 23.021s OK d Why doesn't it work and how to wait on this element's change? asked 1 min agoJustyna This entry passed through the Full-Text RSS service - if this is your content and ...
ادامه مطلبVote count: 1 I have been ruing tests on our Selenium Grid and have run into a problem using the same xvfb display over - when I run a batch of 100 tests in parallel, most of which are filling in forms / clicking buttons - some tests get stuck entering in text or clicking on the button. This is not a "wait until element" appears issue, we've done that already. A user on a separate question had 1 answer to the above: Multiple Instances of Firefox during Selenium Webdriver Testing not handling focus correctly. The solution there worked for ruing a local Selenium test using FirefoxBinary. I am ruing a test on a Selenium Grid, meaning that I am creating a Remote webdriver object (in python): pro...
ادامه مطلبVote count: 0 I am trying to use the Python Interpolation %s for my parameter variable. My variable is name and the value in this variable I would like to insert it where I have put %s My code snippet is: def select_dataset(self, name): # Params name: The name of the dataset e.g. CRM name_element = self.get_element(By.XPATH, '//table[@id="data_configuration_datasets_ct_fields_body"]/tbody/tr/td/div/span[@title="%s" and contains(text(), "%s")]/preceding::input[1]' % name % name).click() The error is: Traceback (most recent call last): File "C:WebdriverClearCore Regression TestClearCore - Regression TestTestCasesDatasetsPage_TestCase.py", line 146, in test_a2_edit_datasets ds.select_dataset("E...
ادامه مطلبVote count: 0 i need to access a website multiple times a day and want to skip the Log-In page. This is why i want to use Cookies in Java Selenium Chromedriver, for skipping that Log-In after accessing it the first time on a day. Selenium is saving the Cookies correctly, but does not use them and i dont get access on the following page. Can you help me? This is my Code: public static void main(String[] args) throws InterruptedException { Set cookie = null; Iterator itr = null; while (true) { System.setProperty("webdriver.chrome.driver", "C:\Users\Maxi\Desktop\ChromeDriver.exe"); driver = new ChromeDriver(); driver.get("https://www.google.com"); while (itr != null && itr.hasNext()) { driver.m...
ادامه مطلب