File tree Expand file tree Collapse file tree 3 files changed +27
-0
lines changed
Framework/Built_In_Automation/Web Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 55
66### [ Current changes]
77- ** [ Add] ** 'frame parameter' support is added into Switch_Iframe action
8+ - ** [ Add] ** Action for get access token url (oauth 2.0) with documentation
9+ - ** [ Add] ** Browser action for get current url from address bar with documentation
810- ** [ Add] ** Basic performance testing functions for rest calls
911- ** [ Add] ** Added selenium grid functionality. Usage:
1012 ``` shell
Original file line number Diff line number Diff line change @@ -1571,6 +1571,23 @@ def Insert_Tuple_Into_List(step_data):
15711571
15721572@logger
15731573def Get_Oauth2_Access_Token_URl (step_data ):
1574+ """
1575+ This action takes the data given below as input and returns us an access token url. This url will open a popup
1576+ window asking for username and password for authentication.
1577+
1578+ client id element parameter <takes client id for generating an access token url>
1579+ client secret element parameter <takes client secret for generating an access token url>
1580+ access point element parameter <takes the access point for generating an access token url>
1581+ grant type element parameter <takes the type of grant, ex: Authorization Code (With PKCE)>
1582+ base uri element parameter <takes the base uri for generating an access token url>
1583+ request token uri element parameter <takes the request token uri for generating an access token url>
1584+ redirect uri element parameter <takes the redirect uri for generating an access token url>
1585+ token name element parameter <takes the name of token for generating an access token url>
1586+
1587+ :param data_set: Action data set
1588+ :return: string: "passed" or "zeuz_failed" depending on the outcome
1589+
1590+ """
15741591 sModuleInfo = inspect .currentframe ().f_code .co_name + " : " + MODULE_NAME
15751592 try :
15761593 client_id = ''
Original file line number Diff line number Diff line change @@ -3412,6 +3412,14 @@ def Switch_Browser(step_data):
34123412
34133413@logger
34143414def Get_Current_URL (step_data ):
3415+ """
3416+ This action saves the current url the browser is in by inspecting the address bar.
3417+
3418+ get current url selenium action <saves the current url by inspecting the address bar of the browser>
3419+
3420+ :param data_set: Action data set
3421+ :return: string: "Current url saved in a variable named '%s'" or "zeuz_failed" depending on the outcome
3422+ """
34153423 sModuleInfo = inspect .currentframe ().f_code .co_name + " : " + MODULE_NAME
34163424 global selenium_driver
34173425 try :
You can’t perform that action at this time.
0 commit comments