Hi All,
We have 10 applications out of which 5 are cloud applications and 5 are desktop applications
We have 2 instances for each application - Test instance and Production instance.
Means for websites, Test instance tenant url is different and production tenant url is different.
Both the tenants have same versions of application installed.
Same is the scenario for desktop application - i.e. test instance and production are different machines having same version of applications installed
The process is -
- We will develop Uipath flows for every application on the test instance .
- And we want to use thease same flows on the production instance
I have following question -
Now, If we change just the login url of the tenant in production instance ,will thease flows work on production instance without making any other change?
And same question for desktop appications - can I reuse test instance flows developed for desktop applications into different production machine without any change?
Hi @shraddha_joshi
Please make sure the Production Instance has the exact replica of the Web Application as well as Desktop Application in the Test Instance, where all the selectors remains constant in both the instance.
Then you can use the same code across all the instances.if the application changes from instance to instance then you have to develop the code accordingly.
Thanks
Thanks for the quick reply.
If we take same version of software with below changes
- Different machines
- Url will be different
- Login credentional are different
- The amout of data will be different e.g. in test instance there will be 100 records only where as in production that might go up to 10000 records.
Will this cause an issue in data scraping ?
So If I only update url and login credentials in flows,can I re-use flows considering above conditions ?
I have seen some selectors and data scraping breaking when I run same flow on different tenants and desktop applications even if they have same version .
And when I recaptured them on that machine it started working
Any suggestion in this case ?
Hey!
Create the libraries for this (Reusable components). And publish to your local system as Custom(.NUPKG)
Just send this NUPKG to the test or production.
No need to build the code again and again.
This will works fine…
Regards,
NaNi
Hi Nani,
You did not get the question
Its not the qustion about how to share and reuse the code actually , its the question about will the same code actually work for different tenants in case of cloud applications and machines in case of desktop applications.
I have seen some selectors and data scraping breaking when I run same flow on different tenants and desktop applications even if they have same version .
And when I recapture it on that machine it started working
Any suggestion in this case ?
Hi @shraddha_joshi
Please make sure you have similar settings (extensions, resolution) on all the Bot Machines across.
if you are using Data scrapping , please make the Maximum Number of results to 0, as it keeps on changing.
![image](https://global.discourse-cdn.com/uipath/original/4X/5/6/a/56ac2e92ecd42a31a5b32c3be316b3111dabe270.png)
and make sure the selectors are dynamic to run on both the instance.
You can use your code across all the instances.
Thanks.
Sure I will try this . Thanks
Heyy!
Yes, the same code will work…
if you wants to se the limit to that data scraping as @suraj.setty mentioned you can make it to zero and extracted data activity you can also set the limit.
Example:
if you wants to get the first 50 data… You can set it in the Extracted data activity
Regards,
NaNi