Hi,
I am looking for a design structure and methodology to automate the test scripts for multiple screen sizes (Small, Medium, Large, Xtra Large)
Also i’m unable to set the window size greater than 1008px for chrmoe browser.
Pls suggest
Thanks in advance!!
2 Likes
Hi there,
Thank you very much for your topic. Please note that it may take a little while before a member of our community or from Katalon team responds to you.
Thanks!
Hi,
Anyone with the experience in this please help
You can create 4 Execution Profiles named Small, Medium, Large, Xtra Large.
Each Profile will contain a pair of integers WINDOW_WIDTH and WINDOW_HEIGHT.
You will develop a set of Test Cases which use the GlobalVariable.WINDOW_WIDTH
and GlobalVariable.WINDOW_HEIGHT
to control the size of browser window.
You will create a Test Suite that binds your test cases.
You will create a Test Suite Collection that includes the Test Suite repeatedly 4 times each associated with one of the Execution Profiles: Small, Medium, Large and Xtra Large.
You can run the Test Suite Collection, then all 4 device sizes will be tested as a single batch.
7 Likes
Hi @hritik,
Just checking in to see if Kazuyaram’s comment was able to help you or not.
If yes, then don’t forget to mark his replies as a solution
so that others who may be asking similar questions / running into similar problems can find the solution as well!
Thanks,
Albert
2 Likes