Posts by CarolCiola • 63 points
10 posts
-
1
votes0
answers178
viewsQ: Selenium with Chrome Headless fails to get URL
In my test script I simulate the click on a button, which generates and opens a PDF in a new Chrome tab. //Imprime consulta IWebElement btnGeraPDF = driver.FindElement(By.Id("id"));…
-
0
votes1
answer96
viewsQ: Nunit error log repeating exceptions - Multiple failures or warnings in test
I am using Nunit to run test scripts with Selenium Webdriver in C# (Visual Studio). The project uses the template Console Application. When running, the project displays a console (prompt) where I…
-
1
votes1
answer108
viewsQ: Read user input via Javascriptexecutor or promt in Selenium Webdriver C#
I have 4 test environments. When executing the Selenium script, I want the user to inform soon after the browser opens, in which environment the script should be executed. So the script will direct…
-
0
votes0
answers40
viewsQ: Restart the while loop method
I have a script to generate a certain amount of random Cpfs in a text file. When executing the method that generates the random CPF within the while, the method is executed only once and always…
-
1
votes1
answer85
viewsQ: 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 a file .txt external. The path to the file is fixed in the script, indicating a folder on my computer. But in the future…
-
0
votes1
answer61
viewsA: Method [Test] not found after build
Issue solved with the code snippet below: [Test] [TestCaseSource(typeof(massaBase), "ArquivoTXT")] public void AutomacaoLogin(massaBase.DadosTXT coluna)
-
0
votes1
answer61
viewsQ: Method [Test] not found after build
When I do the build from the script below, does not return any error; however, build does not locate the test method [Test], and I can’t execute it. My script is object oriented: calls the class…
-
1
votes2
answers2083
viewsA: Remove infobar from Chrome when running tests with automated software
Question solved! The final code was left: [TestFixture] public class Login { IWebDriver driver = null; public capturaImagem tiraScreenshot; public acessaSite navegador; public LoginPositivo…
-
0
votes2
answers2083
viewsQ: Remove infobar from Chrome when running tests with automated software
I tried to implement the Chrome Options in my script to delete that yellow bar of Chrome information, which is displayed every time we are running automated tests ("Chrome is being Controlled by…
-
2
votes0
answers66
viewsQ: Use Python to run tests on TFS
Hello! I would like to know how to use Python to run tests on TFS. My intention would be to generate a script via Selenium Webdriver, turn the code into Python and use it in TFS to run automated…