You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should have feature which allow user to provide more than one elements to target, more than one actions to perform and ability to input in more than one value in single step.
I came to know about this issue while filling sign up form where I have seen more than one fields like username, password, email etc.
According to present structure, we need to create different test step to add these values which increases efforts and steps in one test cases.
I expect to update structure of testscript as below:
See the target and value; provided list of values to it.
sequence:
- testcase 2
- testcase 3
- testcase 1
test:
- testcase 1:
- scenario: close the browser
- step 1:
action: closebrowser
name: closing browser window
target: closebrowser
- testcase 2:
- scenario: Visiting GitHub website
- step 1:
action: goto
name: Provide GitHub website url to go to GitHub page
target: https://github.com/
- testcase 3:
- scenario: Creating GitHub account
- step 1:
action: import
name: Go to GitHub website and click on sign up to visit registration page
target: testcase 2
- step 2:
action: click
name: click on sign up button
target: Sign up
- step 3:
action: input
name: Insert all the details
target: ['//*[@id="user_login"]', '//*[@id="user_email"]']
value: ['NewUser', '[email protected]']
wait after action: 10
Hi Ganesh,
Yes this feature is good but better to create new action with name "inputform " or "forminput" likewise which will server this feature. I have recently added targets attribute to all action which have multiple fallback xpath and again if we add this feature to same input action it might get complicated.
Description
target
, more than oneactions
to perform and ability to input in more than onevalue
in single step.target
andvalue
; provided list of values to it.urls
as atarget
will be problematic.@vishalvijayraghavan I would like to hear your thoughts on this feature.
The text was updated successfully, but these errors were encountered: