Hello all,
I am having an issue with concurrent execution
Few years back, i was told that UIV (Kantu at the time ) can handle only 5 concurrent profiles.
Developed a UIV Framework that make payments for over 1K clients.
Developed Python script to trigger the UIV Framework, that starts 5 predetermined profiles on Chrome (Person 1, … Person 5).
The python script is using Multi threading approach. Each Profile has its own thread.
The framework executed on Local Win10 laptop. UIV v6.28
Issues:
The Python script never opens 5 browsers at once. Usually it is 3, max 4 browsers/profiles
Usually 1 or 2 browsers cannot even start the test. The RPA URL strangely transforming to this [file:///C:/uivision/ui.vision.html?macro=c%3A%2Fuivision%2FxModule%2Fmacros%2Fperson_5.json&direct=1&loadmacrotree=1&storage=xfile&closeBrowser=1&closeRPA=1&cmd_var1=ABCT%7CCPABCT0005&cmd_var2=c%3A%2Fuivision%2Fuiv_tla_data_files&savelog=c%3A%2Fuivision%2Fresults_downloads%2F22-07-28_run_tag%2Fexec_logs%2FABCT_CPABCT0005_log.txt&reload=3]
instead of [file:///C:/uivision/ui.vision.html?macro=c:/uivision/xModule/macros/person_5.json&direct=1&loadmacrotree=1&storage=xfile&closeBrowser=1&closeRPA=1&cmd_var1=ABCT|CPABCT0005&cmd_var2=c://uivision/uiv_tla_data_files&savelog=c:/uivision/results_downloads/22-07-28_run_tag/exec_logs/ABCT_CPABCT0005_log.txt]
All the
“/” converted to “%2F”
“:” converted to “%3A”
“|” converted to “%7C”
Note the additional element that “magically” attached to the end of the RPA URL - [&reload=3]
The UIV add-on shows the error in a LOG tab - see attachment UIV AddOn 1.png
The browser shows a pop up error - see attachment Browser 2.png
Since V7, all my macros are not working.
Mostly because of the “executeScript_Sandbox” cannot handle Arrays anymore.
I am using this command a lot.
That is the reason , i am still using V6
I have not tested my frame work in V8
I have switched to UIVv8
Triggered 5 browsers, only 4 opened are opened
Now i do not have any tests running , all of my browsers have same issue of jumbled RPA URL