qa

第九组作业(张丽娟,鲁雨静,张国一,梅位民,潘泽)

折月煮酒 提交于 2020-01-06 12:30:23
QA是质量保证,是对软件制作过程中的制作质量进行管理,强调控制和评估。 软件测试是对软件产品的质量本身进行测试,是从技术方面出发测试软件质量,属于Life cycle的一部分,更准确的说法应该是质量管理。 对于一个团队如何安排QA 和测试工作,我认为在初始阶段,即新项目、团队进入一个新领域,这时每个团队成员都要尽量打通各个环节,多负责,把所有事情都搞懂,培养通才。 当项目或产业发展到一定阶段即进入阵地战的时候,要大力提倡分工合作,培养专才。同时,要把好的工具和流程集成起来,从每日构建,到基本功能的自动化,都要尽快实现。 当开发项目时,项目的的架构和流程做好,让所有人都能比较容易地进行QA工作,这样,团队的“软件工程质量”才会有提高。同时培养“大家都要做QA,专人负责量化的Test,有条件多做测试自动化”的文化。 最后要明白自己项目的特点,避免照搬别人的做法。如果一个团队是认真严肃地做软件,那他们一定要考虑如何保证程序的质量和软件工程的质量,以及达到这些质量,需要多少成本。 来源: https://www.cnblogs.com/zlj1/p/12152258.html

What does it mean and how to fix SonarQube Java issue “Cycles between packages should be removed” (squid:CycleBetweenPackages)

旧时模样 提交于 2020-01-06 02:56:26
问题 Cycles exist between packages when there are dependencies of using or importing kind between classes in these packages. Consider the following example. Let there be 4 classes: Truck and interface Car in org.example.car package and Navigation and CPU in package org.example.part . In packages org.example.car and org.example.part we have use relations between classes Truck --> Car and classes Navigation --> CPU . Let's assume that the class Truck use Navigation class so we have the relationship

What Are Some Best Practices When Asserting iOS Elements Are Displayed?

让人想犯罪 __ 提交于 2020-01-05 07:05:17
问题 I'm trying to write my first UI Automation test for an iOS app with Appium/Python. I find that when I list 10 assertions like the one below, I get very inconsistent results ... sometimes it passes, but it usually fails the third assertion, sometimes it fails the eighth. assert driver.find_element_by_name('Settings').is_displayed() I've also tried to use waits: driver.wait_for_element_by_name_to_display('Settings') assert driver.find_element_by_name('Settings').is_displayed() Does anyone know

What Are Some Best Practices When Asserting iOS Elements Are Displayed?

烂漫一生 提交于 2020-01-05 07:04:38
问题 I'm trying to write my first UI Automation test for an iOS app with Appium/Python. I find that when I list 10 assertions like the one below, I get very inconsistent results ... sometimes it passes, but it usually fails the third assertion, sometimes it fails the eighth. assert driver.find_element_by_name('Settings').is_displayed() I've also tried to use waits: driver.wait_for_element_by_name_to_display('Settings') assert driver.find_element_by_name('Settings').is_displayed() Does anyone know

How to deploy an Android app to multiple phones?

╄→гoц情女王★ 提交于 2020-01-04 07:53:39
问题 I have an Android app that I would like to test across 20 or so Android devices that I have in my posession. What is the best/quickest way to deploy this APK across to multiple devices for testing? 回答1: Put the APK on a website, convert the URL to QR CODE or send the URL to the phones using email. Click on the link and install. Make sure you put the MIME type on IIS application/vnd.android.package-archive 回答2: There is a nice service called PushLink https://www.push-link.com PushLink is a

Appium Setup - no ./reset.sh file

我们两清 提交于 2020-01-04 06:22:24
问题 I am attempting to set up Appium and am following the tutorial. I get to the cd appium; ./reset.sh line in Install Ruby section. I don't have a reset.sh file anywhere. I've installed all prior steps, as well as XCode and Android Dev Studio . So I tried to skip over that step, and simply run appium with node . , which throws error: Error: Cannot find module '/Users/myname/Sites/myproject/appium Obviously it needs a server.js or app.js file, but the git clone git://github.com/appium/appium.git

Calabash Android: Is there a special perform_action command for pressing the search button on the Android keyboard

筅森魡賤 提交于 2020-01-03 02:31:09
问题 The command perform_action('send_key_enter') sends the enter key but for our search field, the enter key is replaced by the search key in the Android keyboard. Is there a special perform_action command to send the input of the search key? 回答1: What could be happening is your scripts aren't able to accurately locate ADB in order to send the command to the device. Try using the following, which uses default_device.adb_command - this should use the full path to ADB and also use the proper device

How to resolve org.openqa.selenium.WebDriverException?

对着背影说爱祢 提交于 2020-01-02 18:35:20
问题 I am writing an automated test and want to report bugs, if occur, directly in the repo at GitHub . The step which fails in my program is the Submit new issue button from GitHub Issue Tracker. Here is the code: WebElement sendIssue = driver.findElement(By.xpath("/html/body/div[5]/div/div/div[2]/div[1]/div/form/div[2]/div[1]/div/div/div[3]/button")); sendIssue.click(); And the exception: org.openqa.selenium.WebDriverException: Element is not clickable at point (883, 547.7999877929688). Other

Groovy for testing an API

最后都变了- 提交于 2020-01-01 03:26:14
问题 I'm writing a series of automated, end-to-end test cases that exercise a RestFUL API. I have several good test scripts, written in Groovy, that provide the sort of tests and build the confidence we need, and we're looking at integrating these into a nightly build, as well as allow the QA team to run them. This is a step above Unit testing, as we are looking at complete end-to-end workflows, rather than atomic steps. The output is currently human readable, with each test condition printing out

Trouble locating Angular element for Protractor UI Nav test

家住魔仙堡 提交于 2019-12-25 10:01:28
问题 I'm trying to select the third option in a dropdown list. Below are some details about the element: Outer HTML: <md-option _ngcontent-c6="" role="option" ng-reflect-value="last90Days" tabindex="0" id="md-option-2" aria-selected="false" aria-disabled="false" class="mat-option"><!--bindings={ "ng-reflect-ng-if": "false" }--> Last 90 Days <!--bindings={ "ng-reflect-ng-if": "true" }--><div class="mat-option-ripple mat-ripple" md-ripple="" ng-reflect-trigger="[object HTMLElement]"> </div> </md