qa

Recommendation about the code construction

只愿长相守 提交于 2019-12-11 06:08:05
问题 I have tried to automate the login with Katalon Studio and Selenium|testNG. I have used XML file to send the browser value to the script, which I have pasted here. public class TC_Testportal { private WebDriver driver; private String baseUrl; @Parameters("browser") @BeforeMethod public void beforeMethod(String browser) { if (browser.equals("firefox")) { System.setProperty("webdriver.gecko.driver", "drivers\\geckodriver.exe"); driver = new FirefoxDriver(); baseUrl = "https://test.com"; driver

Java Reflection - NoSuchMethodException Thrown when method exists

懵懂的女人 提交于 2019-12-11 05:18:42
问题 I am trying to create a method which takes two string parameters and invokes a method call on an object. The two parameters would supply the className and methodName. Ideally I wanted to use reflection to find the object and method to then invoke the method. This is for an automation suite I manage. public void executeMethod(String className, String methodName){ Class object = className.getClass(); Method objMethod = object.getMethod(methodName); objMethod.invoke(pageObject); } When I run it,

How to get handlers for all open windows and browsers browsers on selenium?

吃可爱长大的小学妹 提交于 2019-12-11 03:48:46
问题 I am searching for a method that will return the urls and handlers across all open windows, tabs, and browsers, not just the one that is currently being run in selenium. My code below only returns the current window that was instantiated by running the current test. String originalWindowHandle = driver.getWindowHandle(); System.out.println("original Window handles are: " + originalWindowHandle); System.out.println("Title of original Page:" + driver.getTitle()); java.util.Set<java.lang.String>

How can I run automated bdd UI tests using NUnit and SpecFlow in particular order driven by categories

懵懂的女人 提交于 2019-12-10 18:46:12
问题 I need help running an automated UI tests by Continuous integration. I have around 200 test cases but they are not written following some good practices and they are depending each other. I am a dev not a QA and I don't know what is happening in details so excuse me if i am not right for something. This is what i can see : 1. The tests are BDD 2. They are written with SpecFlow 3. NUnit is used as test executor The system is a bit complicated and it is hard to write tests without dependencies

How to convince management that QA is important? [closed]

谁说我不能喝 提交于 2019-12-09 18:25:47
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I work for a small software company with less than 10 programmers. Our software is installed in dozens of places across the world. Our

What is a Swamp Diagram?

随声附和 提交于 2019-12-09 18:24:01
问题 Someone told me about swamp diagrams explaning that they were useful to predict code quality by measuring the rate of incoming defects and outgoing fixes on a given product. Unfortunately, I am unable to find additional information on those diagrams and I am wondering if it is a jargon term specific to one company. Can you explain what a swamp diagram is? 回答1: You can see an example of a "swamp diagram" in this article about the "THE COMMISSIONING AND PERFORMANCE CHARACTERISTICS OF CESR",

How can one get a QA team more involved in the SDLC? [closed]

我们两清 提交于 2019-12-09 13:38:34
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed last month . I have worked in environments where the QA team has been actively involved in the development process from the onset of a project through maintenance. I generally have found this to be effective as the QA team has an idea of what is going on from a business prospective early

Is quality assurance the same as testing and bug fixing? [closed]

若如初见. 提交于 2019-12-09 11:00:43
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 4 years ago . What is quality assurance? Is it testing and bug fixing, or is it something more? 回答1: Software QA involves the entire software development process - monitoring and improving the process, making sure that any agreed-upon standards and procedures are followed, and ensuring that

Should I Keep Registering A Failure?

你说的曾经没有我的故事 提交于 2019-12-08 21:33:05
问题 I'm working on an automated regression test suite for an app which I maintain. While developing the automated regression test, I ran across some behavior that's almost certainly a bug. So, for now, I've modified the automated regression test to not register a failure--it's deliberately allowing this bad behavior to go by, I mean. So, I am interested in the opinions of others on this site. Obviously, I'll add a bug to our defect tracking to make sure this error behavior gets fixed. But are

Selenium WebDriver (2.25) Timeout Not Working

夙愿已清 提交于 2019-12-08 15:56:27
问题 I think I've read all the Selenium timeout questions on Stack Overflow, yet neither implicit nor explicit timeout works in my Selenium webdriver 2.25 (Python 2.7 binding) and both "no_timeout_here =" lines would hang forever -- browser = webdriver.Firefox() browser.implicitly_wait(6) browser.set_page_load_timeout(30) browser.get("http://www.google.com") try: #no_timeout_here = browser.find_element_by_id("id_not_found") no_timeout_here = WebDriverWait(browser, 5).until(lambda browser: browser