As a user, I wish I had the option to only copy the selector of a specific element I want during paused recording.
Scenario:
A test failed
I run the test locally and pause it before the failed step
I record the step again
I notice that only the selector changed
I delete the old failed step
I now have the correct step
I resume the test execution
Test fails again a few steps later
I investigate a bit more and conclude that this test will fail to very specific elements that now have been updated in our software
I keep running the test until each failed step, record the step again, delete the old one, and repeat the process
The above shows the power of the pause and record functionality, however there are scenarios where if I know the exact elements that will need a new selector, I wish I could improve my speed by simply updating the selectors of the steps in advance instead of pausing and resuming everytime.
I think the above could be improved by having an action in the recording modal that allows the user to “Copy to clipboard” the selector of the clicked element. This way I can easily update in bulk, and in advance, a series of steps, and then resume execution of the test once, lowering the number of times I need to pause the test to fix things.
I think this new button could be added in the modal during “pause” model.
So the scenario above would turn into something shorter:
A test failed because a selector is invalid
I run the test locally and pause it before the failed step
I record the step again
I delete the old failed step
I now have the correct step which turns out only had an updated selector
I resume the test execution
Test fails again a few steps later
I investigate a bit more and conclude that this test will fail to very specific elements
I use the copy selector button to find the selectors I need and update the steps in advance
I resume the test execution once and it will pass.
Further points:
Which selector should be copied? I think the system should consider the same order/priority as on the project settings
I think this button would be useful even in general if we need to find a specific selector as an alternative to manually building selectors using the tool “No-code XPath Selector Builder by BugBug"
Please authenticate to join the conversation.
In Review
💡 Feature Request
23 days ago
Marius COJOCARIU
Get notified by email when there are changes.
In Review
💡 Feature Request
23 days ago
Marius COJOCARIU
Get notified by email when there are changes.