当前位置:网站首页>Remote - basic principle introduction
Remote - basic principle introduction
2022-07-25 20:38:00 【Diandian Hanbin】
Remote— Introduction to basic principles
background
When we write test cases everyday , It is inevitable that there is a need to obtain data from the server ,RF The framework itself is based on Python A layer of encapsulation , It is not friendly to complex interaction and coding , Therefore, the official provides a Remote To help us improve this situation , You can execute background methods like keywords , It is convenient for us to simplify complex calls .
Remote Principle
Remote The principle of is actually to use HTTP Request to a background service , Get a return result after executing the logic of the background service , actually , Write one yourself HTTP The service then parses the return value , With the use Remote It's the same .
The official logic diagram is like this .

The difference between them is Remote It uses XML-RPC, And we generally HTTP Most of them use JSON.
Because it's based on HTTP Protocol to communicate , So this way can cross language , such as RobotFramework Is based on Python Of , It's easy to call Python The library of , But if the business service is Java, And you need to do some encryption logic when requesting , Then it is best to directly call the encryption method of the business , without Remote&#
边栏推荐
- securecrt乱码解决方法[通俗易懂]
- 【高等数学】【3】微分中值定理与导数的应用
- 2022.7.24-----leetcode.1184
- [advanced mathematics] [6] differential calculus of multivariate functions
- MySQL 日期【加号/+】条件筛选问题
- Brush questions with binary tree (4)
- [today in history] July 15: Mozilla foundation was officially established; The first operation of Enigma cipher machine; Nintendo launches FC game console
- leetcode-919:完全二叉树插入器
- tga文件格式(波形声音文件格式)
- "Chain" connects infinite possibilities: digital asset chain, wonderful coming soon!
猜你喜欢

Has baozi ever played in the multi merchant system?

Why did I choose to become a network engineer after graduating from weak current for 3 months

Card link
![[today in history] July 7: release of C; Chrome OS came out;](/img/a6/3170080268a836f2e0973916d737dc.png)
[today in history] July 7: release of C; Chrome OS came out; "Legend of swordsman" issued

MySQL 日期【加号/+】条件筛选问题

Working principle of radar water level gauge and precautions for installation and maintenance

程序的编译和运行

The database empties the table data and makes the primary key start from 1

Illustration leetcode - 3. longest substring without repeated characters (difficulty: medium)

【高等数学】【1】函数、极限、连续
随机推荐
[tensorrt] dynamic batch reasoning
QML combines qsqltablemodel to dynamically load data MVC "recommended collection"
【TensorRT】trtexec工具转engine
火山引擎项亮:机器学习与智能推荐平台多云部署解决方案正式发布
【单细胞高级绘图】07.KEGG富集结果展示
Do you still have certificates to participate in the open source community?
Recommended books | essentials of industrial digital transformation: methods and Practice
2022.7.24-----leetcode.1184
Web crawler principle analysis "suggestions collection"
Struct, enum type and union
[noi simulation] string matching (suffix automata Sam, Mo team, block)
4everland storage node portal network design
[advanced mathematics] [4] indefinite integral
每条你收藏的资讯背后,都离不开TA
Learn FPGA from the bottom structure (16) -- customization and testing of pll/mmcm IP
Mobile web layout method
Introduction to several scenarios involving programming operation of Excel in SAP implementation project
Leetcode customs clearance: hash table six, this is really a little simple
Chinese son-in-law OTA Ono became the first Asian president of the University of Michigan, with an annual salary of more than 6.5 million!
[cloud native] use of Nacos taskmanager task management