RError.com

RError.com Logo RError.com Logo

RError.com Navigation

  • 主页

Mobile menu

Close
  • 主页
  • 系统&网络
    • 热门问题
    • 最新问题
    • 标签
  • Ubuntu
    • 热门问题
    • 最新问题
    • 标签
  • 帮助
主页 / user-311317

IMadiev's questions

Martin Hope
IMadiev
Asked: 2020-03-21 17:37:40 +0000 UTC

从詹金斯运行时,诱惑报告中没有包和行为选项卡

  • 0

从 Maven 中心(v. 2.10.0)自动安装 allure-commandline。在程序集中设置报告生成,启动。报告生成成功,但左侧窗格中的包和行为选项卡缺失。如果您从安装在机器上的相同 allure-report 上的 2.9.0 版本生成报告,则有选项卡。问题是什么?

jenkins
  • 1 个回答
  • 10 Views
Martin Hope
IMadiev
Asked: 2020-03-14 00:26:36 +0000 UTC

在 ubuntu 中找不到 .jenkins 文件夹

  • 0

按照说明安装tomcat服务器%D0%B2%D0%BA%D0%B0-%D0%B8-%D0%BD%D0%B0%D1%81%D1%82%D1%80%D0%BE %D0%B9%D0%BA %D0%B0-Tomcat-9-%D0%BD%D0%B0-Ubuntu- 16-04 ),将 jenkins.war 放入 webapps,启动服务器,安装 jenkins。创建了一个空作业,收集。控制台输出写道:

Building in workspace /root/.jenkins/workspace/simpleItem
Finished: SUCCESS

理论上,作业的工作文件夹应该已经出现了。但是根文件夹是空的,没有 .jenkins 文件夹。如何找到它?

linux
  • 1 个回答
  • 10 Views
Martin Hope
IMadiev
Asked: 2020-02-21 00:23:05 +0000 UTC

如何提取文件夹名称并将其写入 xml 文件?

  • 0

情况:该目录包含一个 xml 文件 (Load.xml) 和另一个文件夹 (Project),其中包含 1 个名称未知的文件夹。如何借助bat文件拉出文件夹名,在Load.xml中找到一个子串,替换成文件夹名?UPD。Load.xml 文本,需要替换 ProjectName:

<?xml version="1.0" encoding="UTF-8"?>
<Projects Server="127.0.0.1" Password="7319" MinPeriod="200">
  <Project Name="ProjectName" Address="1"/>
</Projects>
xml
  • 1 个回答
  • 10 Views
Martin Hope
IMadiev
Asked: 2020-02-19 17:29:35 +0000 UTC

从 csv 数据构建 html 图表

  • 1

我有一个本地 csv 文件,如果可能的话,我想在同一个文件夹中拥有基于其数据构建的图形的 html。csv 每 24 小时更新一次,因此图表应随之更新。如何以最少的努力做到这一点?

javascript
  • 1 个回答
  • 10 Views
Martin Hope
IMadiev
Asked: 2020-02-13 21:35:30 +0000 UTC

运行 docker 命令时:引用格式无效

  • 1
$ sudo docker run -v $(pwd):/var/loadtest -it direvius/yandex-tank
docker: invalid reference format.
See 'docker run --help'.

我从办公室带走了团队。说明https://yandextank.readthedocs.io/en/latest/install.html?highlight=entrypoint。操作系统 Ubuntu

docker
  • 1 个回答
  • 10 Views
Martin Hope
IMadiev
Asked: 2020-01-14 22:24:15 +0000 UTC

Jenkins 和 GitLab 连接:客户端错误:HTTP 401 Unauthorized

  • 0

如何设置 GitLab 和 Jenkins 通信?在 Gitlab 主机 URL 中,指向私有组的链接,在 GitLab API 令牌中 - 带有 api 复选框的组成员(维护者)的个人访问令牌。但是没有授权,可能是什么问题?全局配置的屏幕截图

如果只是在 Gitlab 主机 URL 中输入https://gitlab.com/,那么 TestConnection 会返回 Success,但是在创建 Item 时

无法连接到存储库:命令“git ls-remote -h https://gitlab.com/qa_InSAT/temprepos.git HEAD”返回状态码 128:stdout:stderr:登录失败,使用 ctrl+c 取消基本凭据提示. 登录失败,使用 ctrl+c 取消基本凭证提示。远程:HTTP 基本:访问被拒绝致命:“ https://gitlab.com/qa_InSAT/temprepos.git/ ”的身份验证失败

gitlab
  • 1 个回答
  • 10 Views
Martin Hope
IMadiev
Asked: 2020-10-31 21:53:27 +0000 UTC

Allure+JUnit+Maven 项目中未创建文件夹“allure-results”

  • 1

目前我正在根据文章学习 Allure https://habr.com/company/sberbank/blog/358836/ https://habr.com/company/sberbank/blog/359302/ 我决定尝试重复它在最简单的测试项目中,但未在目标中创建 allure 文件夹 -results:

pom.xml:

<groupId>me</groupId>
<artifactId>alluretest</artifactId>
<version>1.0-SNAPSHOT</version>

<properties>
    <maven-surefire-plugin.version>2.20.1</maven-surefire-plugin.version>
    <aspectj.version>1.8.10</aspectj.version>
    <allure-junit4.version>2.6.0</allure-junit4.version>
</properties>

<dependencies>
    <dependency>
        <groupId>io.qameta.allure</groupId>
        <artifactId>allure-junit4</artifactId>
        <version>${allure-junit4.version}</version>
    </dependency>
</dependencies>

<build>
    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-plugin</artifactId>
            <version>${maven-surefire-plugin.version}</version>
            <configuration>
                <testFailureIgnore>false</testFailureIgnore>
                <argLine>-javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar"</argLine>
                <properties>
                    <property>
                        <name>listener</name>
                        <value>io.qameta.allure.junit4.AllureJunit4</value>
                    </property>
                </properties>
                <systemProperties>
                    <property>
                        <name>allure.results.directory</name>
                        <value>${project.build.directory}/allure-results</value>
                    </property>
                </systemProperties>
            </configuration>
            <dependencies>
                <dependency>
                    <groupId>org.aspectj</groupId>
                    <artifactId>aspectjweaver</artifactId>
                    <version>${aspectj.version}</version>
                </dependency>
            </dependencies>
        </plugin>
    </plugins>
</build>

alluretest.java:

import io.qameta.allure.Step;
import org.junit.Assert;
import org.junit.Test;

public class alluretest {
    @Step
    public static void checkSumStep(int num1, int num2, int expectedSum) {
        Assert.assertTrue("Сумма слагаемых не соответствует ожидаемому значению", num1 + num2 == expectedSum);
    }
    @Test
    public void simpleTest2() {
        checkSumStep(3, 2, 5);
        checkSumStep(5, 4, 9);
    }
}
java
  • 1 个回答
  • 10 Views
Martin Hope
IMadiev
Asked: 2020-10-30 19:05:09 +0000 UTC

如何使用 Selenium+JUnit 检查页面上 SVG 元素的加载?

  • 1

我目前正在对 SVG 元素进行基于屏幕截图的测试。一页上有很多,所以它们不是同时加载的。编写了一个等待某个 SVG 出现在页面上的函数:

public void Wait(WebDriver driver, String XPath)
{
    driver.manage().timeouts().pageLoadTimeout(240, TimeUnit.SECONDS);
    WebDriverWait wait = new WebDriverWait(driver, 240);
    wait.until(ExpectedConditions.presenceOfElementLocated(By.xpath(XPath)));
    wait.until(ExpectedConditions.elementToBeClickable(By.xpath(XPath)));
    wait.until(ExpectedConditions.visibilityOf(driver.findElement(By.xpath(XPath))));
}

但它不能正常工作,因为 页面上空白区域的屏幕截图会定期创建。程序员说重点是svg是和页面并行加载的。我检查了存在元素,它告诉我嵌入已经出现,但实际上嵌入中还没有svg文件。那么如何等到 SVG 在页面上呈现?

svg
  • 1 个回答
  • 10 Views
Martin Hope
IMadiev
Asked: 2020-10-30 14:56:59 +0000 UTC

仅声明外部 Java 类时如何使嵌套类方法可访问

  • 0

也就是说,如果类Class有一个带有方法method()的嵌套类innerClass,那么这样的事情是可能的:

Class class = new Class();
class.innerClass.method();
java
  • 1 个回答
  • 10 Views
Martin Hope
IMadiev
Asked: 2020-10-29 20:07:24 +0000 UTC

如何使用 bat 文件在远程计算机上打开快捷方式文件位置?

  • 0

我的任务是编写一个可以重新安装 Windows 桌面应用程序的 bat 文件。为此,您需要编写一个执行以下步骤的 bat 文件:

  1. 通过 ip (10.0.0.100) 在本地网络上的远程计算机上输入文件夹 为了获得访问权限,您必须指定用户名并输入网络密码
  2. 右侧文件夹中是安装程序的快捷方式。您需要输入快捷方式文件的位置,然后将 .exe 文件下载到您计算机的特定文件夹中。我读到人们用 robocopy 来做

我刚开始使用cmd,所以我正在寻求解决方案的帮助

cmd
  • 2 个回答
  • 10 Views

Sidebar

Stats

  • 问题 10021
  • Answers 30001
  • 最佳答案 8000
  • 用户 6900
  • 常问
  • 回答
  • Marko Smith

    我看不懂措辞

    • 1 个回答
  • Marko Smith

    请求的模块“del”不提供名为“default”的导出

    • 3 个回答
  • Marko Smith

    "!+tab" 在 HTML 的 vs 代码中不起作用

    • 5 个回答
  • Marko Smith

    我正在尝试解决“猜词”的问题。Python

    • 2 个回答
  • Marko Smith

    可以使用哪些命令将当前指针移动到指定的提交而不更改工作目录中的文件?

    • 1 个回答
  • Marko Smith

    Python解析野莓

    • 1 个回答
  • Marko Smith

    问题:“警告:检查最新版本的 pip 时出错。”

    • 2 个回答
  • Marko Smith

    帮助编写一个用值填充变量的循环。解决这个问题

    • 2 个回答
  • Marko Smith

    尽管依赖数组为空,但在渲染上调用了 2 次 useEffect

    • 2 个回答
  • Marko Smith

    数据不通过 Telegram.WebApp.sendData 发送

    • 1 个回答
  • Martin Hope
    Alexandr_TT 2020年新年大赛! 2020-12-20 18:20:21 +0000 UTC
  • Martin Hope
    Alexandr_TT 圣诞树动画 2020-12-23 00:38:08 +0000 UTC
  • Martin Hope
    Air 究竟是什么标识了网站访问者? 2020-11-03 15:49:20 +0000 UTC
  • Martin Hope
    Qwertiy 号码显示 9223372036854775807 2020-07-11 18:16:49 +0000 UTC
  • Martin Hope
    user216109 如何为黑客设下陷阱,或充分击退攻击? 2020-05-10 02:22:52 +0000 UTC
  • Martin Hope
    Qwertiy 并变成3个无穷大 2020-11-06 07:15:57 +0000 UTC
  • Martin Hope
    koks_rs 什么是样板代码? 2020-10-27 15:43:19 +0000 UTC
  • Martin Hope
    Sirop4ik 向 git 提交发布的正确方法是什么? 2020-10-05 00:02:00 +0000 UTC
  • Martin Hope
    faoxis 为什么在这么多示例中函数都称为 foo? 2020-08-15 04:42:49 +0000 UTC
  • Martin Hope
    Pavel Mayorov 如何从事件或回调函数中返回值?或者至少等他们完成。 2020-08-11 16:49:28 +0000 UTC

热门标签

javascript python java php c# c++ html android jquery mysql

Explore

  • 主页
  • 问题
    • 热门问题
    • 最新问题
  • 标签
  • 帮助

Footer

RError.com

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

帮助

© 2023 RError.com All Rights Reserve   沪ICP备12040472号-5