Suggest Design Structure to automate testscripts for multiple device sizes

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

Pls try testing - How to set window size for Chrome in Selenium? - Stack Overflow

1 Like

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

nice link thanks !

1 Like

Thanks Kazurayam !

Define Executuin Profiles: Buy Autodesk Revit 2024 online. Small: GlobalVariable.WINDOW_WIDTH = 800, GlobalVariable.WINDOW_HEIGHT

1 Like