qa

Peer Reviews or Pair Programming, or Both? [closed]

为君一笑 提交于 2019-12-20 11:51:54
问题 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 2 years ago . Do you participate in code peer reviews or practice pair programming, or both? Have you been able to demonstrate an increase in software quality using these practices? What benefits and drawbacks have you observed in the course of practice? What hurdles to implementation did

Appium [iOS] Instruments crashed on startup

家住魔仙堡 提交于 2019-12-18 09:14:18
问题 Maybe somebody can help me. When appium tries to run application, the screen flashes with app splash screen, as if appium tries to launch app multiple times. This behaviour happens both on simulator and real device. I set enable on my iOS devices UI Autimation, but when i try start inspector i have this problem: info: [debug] [INST STDERR] 2015-11-05 15:11:05.082 instruments[1495:39489] WebKit Threading Violation - initial use of WebKit from a secondary thread. info: [debug] [INST STDERR]

How to save the JavaScript errors in file

偶尔善良 提交于 2019-12-18 03:48:50
问题 Need a solution for saving log of JavaScript errors. For automated testing any site with support popular web browsers (IE, FF, Chrome). 回答1: Most practical method is to look for an event onerror. try-catch is the best method, but you should know where in your code is possible to appear an error. Here alert is used. It can be replaced with an ajax call to some server-side script/app which will be responsible for the database logging of the message. JavaScript by itself can`t access any file

Open source Tool for Stress, Load and Performance testing [closed]

孤人 提交于 2019-12-17 17:27:41
问题 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 . Possible Duplicate: How do you stress test a web application? Currently I have configured a project with cc.net, watin and nunit and

Measuring time spent on GC in JVM

半腔热情 提交于 2019-12-17 15:54:09
问题 Suppose I am testing a Java server application. I know how much time it takes to finish the test. Now I'd like to know how much was spent on GC during that test. How can I do it? 回答1: The simplest way is to use the -Xloggc and -XX:-PrintGCTimeStamps options when starting up your JVM. I think it prints out how long garbage collection takes. http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html 回答2: I guess that when GC (Garbage Collector) is working the application stops

Best way to stress test a website [duplicate]

杀马特。学长 韩版系。学妹 提交于 2019-12-17 03:47:07
问题 This question already has answers here : ASP.NET Stress Testing (6 answers) Closed 4 years ago . This may be the wrong question to ask but, what's the best way to replicate a large load on an asp.net web application? Is there an easy way to simulate many requests on particular pages? Or is the best thing to use a profiler to track a single request and then work out from that if the performance is ok? It would be good to know how well a web app works with a server spec. I'd like to be able to

Best way to stress test a website [duplicate]

拥有回忆 提交于 2019-12-17 03:45:34
问题 This question already has answers here : ASP.NET Stress Testing (6 answers) Closed 4 years ago . This may be the wrong question to ask but, what's the best way to replicate a large load on an asp.net web application? Is there an easy way to simulate many requests on particular pages? Or is the best thing to use a profiler to track a single request and then work out from that if the performance is ok? It would be good to know how well a web app works with a server spec. I'd like to be able to

How Selenium webdriver locate element with a http response full of javascript

大憨熊 提交于 2019-12-14 02:01:46
问题 I use selenium webdriver to speed up my testing. In my work our website will redirect to paypal for user to finish payment. However, I cannot make selenium webdriver to locate the email and password input field on paypal. The sample paypal URL : https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-07L974777B231831F#/checkout/login A demo of my code may like this: WebDriver m_driver = new FirefoxDriver(); String redirected_url = "https://www.sandbox.paypal.com/cgi-bin

How to ignore Get Table Text from Cell, if xpath of cell not match

孤人 提交于 2019-12-13 13:58:05
问题 How to ignore Get Table Text from Cell, if xpath of cell not match ? Becuase i want my test case still continues testing . ${tableFinal} Set Variable xpath=/html/body/div[2]/div[3]/div/form/table[3] ${totalPayAmount} Get Table Text from Cell ${tableFinal} 1 2 Thanks you 回答1: Using either Run Keyword And Continue On Failure or Run Keyword And Ignore Error can help with this. In the documentation the entire family of Run Keyword .... keywords. The difference between the two is that one just

Confusion about sanity testing of software [closed]

不打扰是莪最后的温柔 提交于 2019-12-13 10:51:47
问题 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 last year . I have read several posts regarding smoke and sanity testing. All are almost confusing. Neither explaining them clearly,just repeating the matter except some two or three posts and based on that two or three posts i concluded that following is the formal process: Smoke testing