Giter Club home page Giter Club logo

litterbaby's Introduction

LitterBaby

这是一个对Java程序员友好的《学习强国》自动化测试工具,目的是只使用这一个工具最大化自动完成积分任务。

功能

  • 登录(1分) √
  • 阅读文章(6分) √
  • 视听学习(6分) √
  • 文章学习时长(6分) √
  • 视听学习时长(6分) √
  • 每日答题(6分)
  • 每周答题(5分)
  • 专项答题(10分)
  • 挑战答题(6分)
  • 订阅(2分)
  • 收藏(1分) √
  • 分享(1分) √
  • 发表观点(2分) √
  • 本地频道(1分) √

目前可以完成 1 + 6 + 6 + 6 + 6 + 1 + 1 + 2 + 1 = 30 分

下一步计划

暂时没有。本来打算定时任务来每天自动刷。但是,我对学习强国强制30分是完全抵制的。

开发

准备

JDK和Android SDK的安装网上都能找到教程,Appium Desktop启动后要配置JAVA_HOME和ANDROID_HOME 夜神模拟器启动后,要确保命令行运行adb devices能找到设备(可能需要将SDK中的adb覆盖掉夜神模拟器的adb和nox_adb)

xxqg.properties

修改学习强国的用户名和密码

user.phoneNum=
user.password=

修改AndroidDriver相关配置

# android 版本
cap.version=5.1.1
# 夜神模拟器启动后用 adb devices 查看
cap.deviceName=127.0.0.1:62001
# 这个保证不用每次运行都登录
cap.noReset=true
# 因为要debug所以这个设置得大一点
cap.newCommandTimeout=600
# appium启动的地址
cap.appiumServer=http://localhost:4723/wd/hub

访问

访问数据库图形界面, 数据库连接信息查看application.properties

http://localhost:8080/h2

开始做任务

http://localhost:8080/start

litterbaby's People

Contributors

l-qiang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

litterbaby's Issues

请问可以出一个详细一点的使用教程吗?

因为并未接触过Java语言,在安装配置的时候出现了大量问题,本人愚钝,研究了两天也没有得到解决。
目前所有JDK8、Android SDK 24.4.1、Appium 1.15.1、夜神模拟器,全部已经安装好,并且通过ADB可以查找到夜神设备。
但是并不知道下一步应该怎么做,无法打开http://localhost:8080/start与http://localhost:8080/h2。
Download整个项目后,应该如何使用呢?
希望有大神或者作者大大帮忙解决一下,多谢了。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.