UiPath安装方法

由于UiPath目前还无法在各种软件管家里一键安装,所以需要手动到RPA之家官网下载安装并完成配置,下面我会一步一步地带领大家完成安装。

1、首先进入UiPath官网https://www.uipath.com/

2、如果进入地网页是英文的,可以在右上方“简体中文”四个字的位置选择语言。

3、之后将鼠标放在“产品与解决方案”位置,可以看到如下选项,点击中间一栏正数第三个“Studio”,之后等待页面跳转:

4、我们选择社区版。之后它不会直接开始下载,而是需要一些简单的注册性质工作,填写一些信息后选择提交。(注意这里的电子邮箱,我下载时QQ邮箱是无效的。。。所以专门注册了一个网易邮箱)

5、现在我们填写的邮箱里会收到一份包含下载连接的邮件,找到来自UiPath的邮件并打开它:

6、注意这里可能出现一个bug,就是下载后面的蓝色链接点不动,但是不妨碍我们找到链接。没有遇到bug可以跳过6、7、8步。我们只需要点击F12,浏览器就会启用开发者选项,相当于让我们查看到这个网页的后台内容。点击跳出的部分左上角鼠标样式的小图标。

7、之后将鼠标放在蓝色链接上,如果出现如图所示的变化,点击:

8、可以发现右边的“Elements”框中变样了,已经在HTML文档中定位到了这个元素的位置,那一串“https://”的很长的字符就是这个链接。鼠标方上去复制粘贴并在浏览器里访问,同样也会跳转到下载地址。

9、自己选择文件夹下载安装程序:

10、下载完成后双击,进入安装程序:

11、点击社区版。

12、选择StudioX(Studio版本是为开发人员准备的可以进行代码操作的,暂时不需要使用)

13、更新渠道选择预览。同样是由于不能在应用商店更新的原因,选择预览让它自动更新会更方便。

14、安装完成后界面如下,点击新建任务流程自动化即可开始学习使用。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
自动化个人学习第一步笔记import os import time import logging import configparser from appium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.support.wait import WebDriverWait base_path=os.path.abspath(os.path.dirname(os.path.dirname(__file__))) class comm: @staticmethod def driver(): """APPIUM驱动""" desired_caps={} desired_caps['platformName']=comm.conf(section='desired_caps',key='platformName') # 手机操作系统 desired_caps['deviceName']=comm.conf(section='desired_caps',key='deviceName') # 手机设备号 desired_caps['platformVersion']=comm.conf(section='desired_caps',key='platformVersion') # 操作系统版本 desired_caps['appPackage']=comm.conf(section='desired_caps',key='appPackage') # app包名 desired_caps['appActivity']=comm.conf(section='desired_caps',key='appActivity') # app ACTIVITY名称 desired_caps['resetKeyboard']=True # 是否在测试结束后将键盘重轩为系统默认的输入法。 desired_caps['newCommandTimeout']=comm.conf(section='desired_caps',key='newCommandTimeout') # Appium服务器待appium客户端发送新消息的时间。默认为60秒 desired_caps['noReset'] = True # true:不重新安装APP,false:重新安装app desired_caps['automationName'] = comm.conf(section='desired_caps',key='automationName') # appium1.5以后的版本才支持toast定位 driver=webdriver.Remote("http://127.0.0.1:4723/wd/hub", desired_caps) return driver @staticmethod def get_element(driver,by,selector): """ description:封装定位方法;id指的是resource-id,class_name指的是class,uiautomator使用方法:'new UiSelector().text("文字内容")',xpath定位元素 uthor:clay date: 2020-5-08 params: driver 驱动,by 选择定位的方式,selector 定位的语法 """ if by == 'id': element=driver.find_element_by_id(selector) elif by =='class_name': element=driver.find_element_by_class_name(selector) elif by =='uiautomator': element=driver.find_elemen_by_android_uiautomator(selector) elif by == 'xpath': element=driver.find_element_by_xpath(selector) else: raise NameError return element @staticmethod def tap(driver,upper_left_x,upper_left_y,bottom_right_x,bottom_right_y,time): """ description:根据坐标触发点击事件 uthor:clay date: 2020-5-08 params: driver:驱动,upper_left_x:左上角坐标X轴,upprt_lef_y:左上角Y轴,bottom_right_x:右下角X轴,bottom_right_y:右下角Y轴,time:点击停留的时间 ms为单位 """ tap_=driver.tap([(upper_left_x,upper_left_y),(bottom_right_x,bottom_right_y)],time) return tap_ @staticmethod def tips(driver, text): """ descirption:xpath定位toast提示 author:supper date: 2029-10-06 params: text:元素的text文本 """ try: toast_loc = ("xpath", "//*[contains(@text,'%s')]" % text) toast = WebDriverWait(driver, 5, 0.1).until(EC.presence_of_element_located(toast_loc)) text = toast.text print('提示为:%s' % text) return True except: return False

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值