[Feature] Keyword to execute 2+ browser keywords in parallel
See original GitHub issueIs your feature request related to a problem? Please describe. Sometimes we would have a use case to find out whether or not a network request is sent to the server after clicking a button. To do this we would use playwright’s waitForRequest method and we may write the RBFW script like this. My assumption that we will implement Wait For Request keyword.
Click #button
Wait For Request xxx xxxx
However the requests aren’t captured consistently. On multiple occasions the command times out which results in a failed test. That is because the request is finished before waitForRequest was called.
Describe the solution you’d like Have a keyword to execute 2 keywords in parallel e.g.
Run Async Keywords Click #button AND Wait For Request xxx xxxx
Describe alternatives you’ve considered I have no idea at the moment.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:19 (15 by maintainers)
Top Results From Across the Web
Browser - MarketSquare
The Open Browser keyword opens a new browser, a new context and a new page. ... This can speed execution when running tests...
Read more >TestNG Parallel Execution - How to run Selenium tests in ...
Parallel test execution in TestNG triggers with the help of keyword "parallel". In this variable, we can assign any of the four values...
Read more >Robot Framework User Guide
Quick Start Guide: Introduces the most important features of Robot Framework ... Keywords *** My Keyword [Arguments] ${path} Directory Should Exist ${path}.
Read more >Robot Framework - Cross browser testing - Stack Overflow
The keyword Open Browser has as an argument the browser name; so in one run you will pass "Chrome", then in the following...
Read more >2.8 Advanced features · Robot-Framework-cn&en-User ...
2.8 Advanced features · 2.8.1 Handling keywords with same names · 2.8.2 Timeouts · 2.8.3 For loops · 2.8.4 Conditional execution · 2.8.5...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’ll just close this issue off then, let’s create new issues for future needs related to this.
After merging #158 we now have
Wait For Request
andWait For Response
keywords. For example use see https://github.com/MarketSquare/robotframework-browser/blob/master/atest/test/03_Waiting/wait_for_http.robot