如何在Ranorex中处理数据加密? [英] How to handle data encryption in Ranorex?
问题描述
我想从数据库中获取加密密码,以便在Android和iOS App中登录. 我已经将用户名和密码设置为数据绑定,并通过将password-variable设置为textField,我希望密码能够被转换/解密,以正确设置密码,否则测试用例将始终失败.
I want to get encrypted-password from database for login in Android and iOS App. I've made Username and password as data binding and by setting password-variable to the textField, I want the password to be converted/decrypted, to set password correctly, otherwise testcase will be always failed.
Ranorex中是否有用于数据加密的内置方法/功能?如果没有,该怎么办?
is there any built-in method/function in Ranorex for doing data encryption? If not, how to do it?
(我是Ranorex和测试自动化的新手.)
(I'm new in Ranorex and test automation.)
推荐答案
没有内置的方法可以加密/解密.您需要自己在代码模块文件中或记录模块的用户代码操作中执行此操作.如果需要,您可以使用任何第三方库来提供帮助.
There is no built-in method to encrypt/decrypt. You will need to do this yourself in a code module file or recording module's user code action. You can use any third-party library to help with this if needed.
这篇关于如何在Ranorex中处理数据加密?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!