Questions tagged as 'selenium'

1
answer

Element visible but not yet clickable

In my automated tests with selenium, I have a method that waits for the element for a certain time, until the element is visible on the screen (VisibilityOfAllElementsLocatedBy). However, when the element is visible it is still not clickable,...
asked by 07.04.2016 / 15:35
2
answers

Javascript function to generate valid CNPJ

I need to generate valid CNPJ for the tests I'm performing, but I do not know how to create a function in Javascript and adapt it in Selenium IDE . I even found the script on the internet, but I played it in Selenium user-extension file...
asked by 02.10.2015 / 20:44
1
answer

Loop to fill in an input with various data - Selenium WebDriver

How to make a loop to scan an array and bring its data one by one and fill in the input? The image illustrates well the problem ... I need For For to pass several times through the method and get the data from it and fill in the input and fol...
asked by 01.10.2015 / 14:22
1
answer

Logging errors with Selenium WebDrive in C #

Good evening! I'm organizing my test suite and looking for the best ways to create an error report when a test fails. I have already implemented a log in .txt with the name of the test that is executed (using TestContext), the test execution...
asked by 27.08.2015 / 23:51
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

How do I autodetect firefox with Selenium webdriver in C # (Visual Studio)

I need to select Autodetect of Firefox profile before running my script , because in the network settings of the browser is coming how to use system settings. That way I can not even open the system. I was able to do with java...
asked by 08.09.2015 / 17:32
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
0
answers

How to save PDF from a site in Azure Functions?

I'm developing an application where I'll have to do a crawler on a specific site. The application will contain an endpoint for an Azure Function where the crawler will capture. So far so good, though, we'll have to salvage evidence that th...
asked by 16.07.2018 / 15:02
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
1
answer

How do I capture the text of a webpage with Selenium?

I need to create a default People Generator by using the link site with Selenium. This is the code I have for now: [TestFixture] public class GeradorDePessoas { private IWebDriver driver; [SetUp] public void SetUp() {...
asked by 14.06.2018 / 18:16