I am automating the download and upload of files from web pages. After entering the web page, I want to fix the search page, put only the content in the search bar, and make them repeat downloading the file (a,b).
you start the test navigatinging to a url “https://kusa…” somthing.
you do downloading somthing and uploading something
when you do “Click input_SS_button”, then it seems a new browser window (or tab) is opened
so you want to switch to the new window
you want to repeat the step 2-4 more and more
you want to stop the loop when …?
Is it what you want?
It seems that you only know the starting URL and you have to find out the 2nd and following URLs to visit dynamically. Is it right?
If my understanding is right, then the web app you are targeting is unusual one.
In most cases, Katalon testers have a list of URLs to visit, and they ask how to iterate the list while visiting the URLs. Then is is a simple programming question. I thought you also asked how to write a looping script in Katalon Test Case. But now I have realized I was wrong.
You seem to have a difficult requirement, not really a simple programming question.
Enter variable a,b in the search box and download as many files as the number of rows.
Then, the file is uploaded through c,d, and a new URL is issued by putting “a” in the same column as c,d in the search bar and pressing the search button. Put the new URL in global varaiable and put it in csv.
After that, close the new URL and go back to https://kusa…(First URL). I will run the same task on the page starting with.
All I want is the automation work of web. This process should be required 2 Search + 2 Download, Then 2 upload downloaded files, finally Press botton “Send” on the web page. As a result of this process, New URL will be sent.