18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
Take values from another webpage while running scripts
I want to fetch the data from another webpage to the currently running script on different webpage.
For Ex:-
1. I've created a script for "abc.com"
2. I entered the data in the fields then submitted.
3. It takes me to the next page.
4. Now on that page I need to enter the values in some fields which were generated mean while on the "xyz.com".
So I want have those values in between into my script without navigating to that page.
Please Advice.
Akshay Garg.
For Ex:-
1. I've created a script for "abc.com"
2. I entered the data in the fields then submitted.
3. It takes me to the next page.
4. Now on that page I need to enter the values in some fields which were generated mean while on the "xyz.com".
So I want have those values in between into my script without navigating to that page.
Please Advice.
Akshay Garg.
This discussion has been closed.
Comments
You will have to navigate to xyz.com and store the values in a file. Now you can read this file using _readFile() API.
Regards
Sumitra
I think this code might be useful.
You could store the values from the popup window in variables and fetch them later in the main script.
Regards,
Sumitra
Now its working..