Questions tagged as 'selenium-webdriver'

1
answer

VBA: the underlying connection was closed: an unexpected error occurred on a receipt

I have a VBA project that interacts with web pages using the SeleniumWrapper reference. In Windows Vista business the application works normally, however, in Windows 7 appears the error reported in the title of the question Follow the code:...
asked by 10.02.2017 / 15:38
1
answer

No tests found with test runner 'JUnit 4'

When you create a new package and create a new test in this package, try to run the test eclipse returns the message: "No tests found with test runner 'JUnit 4'" Within the project I have another package with other tests that run normally. Do...
asked by 30.08.2016 / 14:50
1
answer

How to identify an http (500) error via selenium web driver or javascript

I need to mount a script that will scan certain pages and find http errors, specific to 500. I thought about doing a selenium script, but I do not know a command that I can "read" this type of error. Can anyone tell me if selenium has any comman...
asked by 10.09.2016 / 05:03
1
answer

Wait for time to execute new action [Selenium] [C #]

I'm starting with test automation with Selenium WebDriver in the C # language . I have a question, I have to make the test wait for the page load to perform a new action. How do I do that? I think the easiest is to do it for time. Can someone...
asked by 03.12.2015 / 18:13
1
answer

TD / TR Input - Selenium

I'm setting up a system to automate a routine here in the company, but it has a specific site that uses the form field within TD 's / TR ' s, so I used: driver.FindElement(By.XPath("//input[@name='user']")).SendKeys("Teste"...
asked by 21.11.2018 / 13:44
1
answer

Close ok button in popup with Selenium Driver

I'm developing a testing tool using selenium driver in java. The portal I'm testing has a pop-up or dialog box, where it has an OK button. My tool needs to press .clik () on this button, I can not select the button id because I can not use F1...
asked by 22.08.2018 / 14:07
1
answer

Ruby test capybara encoding UTF-8 does not work

I created a new test project, using Ruby and Capybara for studies and I'm not understanding why it is not working. I have a very similar project in another PC, same configuration, the difference that the problem only occurs in the machine with w...
asked by 23.08.2018 / 13:46
0
answers

Capture data with Selenium, add and insert into another field

I have a code where it captures data from one field, using Selenium WebDriver and inserts into another field. I would like to add (captured field + 1000) and then insert into another field. Where will I enter + 1000? WebElement ultimok...
asked by 21.08.2018 / 18:56
0
answers

Save TextFiel text in a variable and inseir in a field using Selenium driver

I need to get data from a Textfiel (letters and number) and then insert into a field using Selenium. //Classe1 para pegar texto String guardarPlaca; @FXML public void inserirDados(ActionEvent event) throws Exception { guardarPl...
asked by 28.08.2018 / 22:25
1
answer

Can I use a variable to set a path in FileStream?

I have a test script in Selenium Webdriver using C # in which I read data from an external .txt file. The path to the file is fixed in the script, indicating a folder on my computer. But in the future other people will run this script on othe...
asked by 23.06.2018 / 19:13