1.set设置对象的值,后面输入的是明文。

2.setsecure一般用于密码的输入,后面输入的必须是密文。

关于明文转换成密文的方法:

1.可以用Crypt对象的Encrypt方法

如:需要把mercury转化成密文

crypt.Encrypt("mercury")

2.可以用qtp自带的Password Encoder工具,在qtp安装菜单的tools下找到。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-23
  • 2021-10-29
  • 2021-11-21
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-12
  • 2022-12-23
  • 2021-11-27
  • 2022-12-23
  • 2022-02-20
相关资源
相似解决方案