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).
A fixed page is displayed through order 1 to 8, followed by downloading the file (9 to 18), followed by uploading the file (Second Picture 1 to 15) 순After fixing the pages in order 1 to 8.
Please let me know if you know anything about TEST SUITE’s repetitive work.
@kazurayam some say that “SUITE COLLECTION” is needed to perform the Looping test Suite, but what is more appropriate to perform the algorithm I wrote down above?
@kazurayam
These are the two TEST CASE I made.
I don’t think there’s anything wrong with the download part, but I wonder if I should use SWITCH whenever I acquire a new URL after uploading.
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.
@kazurayam
Yes. Exactly.
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.
@kazurayam
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.