Contributions
Bearer Auth Token - How to pass as header for each API resource
Hello People, I am new to Ready API and API automation in general. For our API testing (JSON), initially we have to authorize with a bearer token in SWAGGER UI. Two API resources are present /auth/login & /auth/base64 and both these return an access token and user details respectively in encrypted format. The final bearer token format is: </auth/login: accesstoken>.</auth/base64 : message> The bearer token has session time of 15 minutes after which we need to generate a new one. Could anyone please let me know resources or steps on how to set the bearer token details for every Test Case in Ready API?Solved4.8KViews0likes2CommentsRename functions in Keyword Tests when inside if/else/while blocks
When we rename any function in scripts, and if that function is called in keyword test inside block of “If or else or while” then the function name doesn’t get renamed. However if it is not inside block of “If or else or while” then it gets renamed. Please add feature with which Right click function name >> 'Rename..' will update the function name in Keyword Tests when inside if/else/while blocks as well386Views0likes0Comments'Find Usages' feature to identify if a script routine is inside the block of if/else or while
Script routine right click >> 'Find Usages' feature does find where in keyword tests the function/script routine is used if the script routine is added inside the if/else or while block in a keyword test. Please add feature to identify all instances where script routine is used within keyword tests irrespective of placement of such script routine if present either inside the if/else/while block or outside810Views1like1CommentAdd feature to identify Keyword Tests as modified when function used is renamed
When we rename any function in scripts, the function name gets updated in all keyword tests and scripts, but all keyword tests using such a renamed function doesn’t show as modified, and is not included during commit using source control software like Git. Steps to reproduce: 1. Create keyword tests KT1 and KT2 which includes script routine 'Function 1' present in script file 'All Functions' 2. Right click and rename function name from 'Function1' to 'Function 2' in script file 'All Functions' 3. Commit the project changes using source control We will see that only 'All Functions' will be committed but KT1 and KT2 is not shown as modified, hence these will not be committed. Please add feature to include such Keyword tests to also be identified as modified335Views0likes0CommentsRe: Run Remote Browser: Methods supported
hkim5Tried with FindElement and it worksbut it does not serve the purpose here. What I am looking for is thecollection of objects having same XPath, which EvaluateXpath's array length property can provide. With FindElement, it is returning the first occurrence of this object so no way to know how many similar objects exists in the page.3.5KViews0likes8CommentsRun Remote Browser: Methods supported
Hi, We have some existing keyword tests with scripts where we use methodsEvaluateXpath, FindChildByXpath etc. Now we are running the same keyword tests through the Run Remote browser utility to perform crossbrowser tests across browsers/devices. The test seem to be failing at steps where EvaluateXpath, FindChildByXpathare used. What is the workaround to make the existing scripts compatible with cross browser tests through Run Remote Browser? Any help will be greatly appreciated.Solved4.6KViews0likes16Comments