Hi,
Please someone confirm that how to automate for different screen resolution in Ranorex. I'm trying to automate web application for different screen sizes (manually we do this by using 'inspect element' and them mobile view).
E.g. Screen sizes - S , M , L , XL or resolution : 325, 600, 840.
Different screen resolution or sizes
Re: Different screen resolution or sizes
Hi,
I'm not quite sure what exactly you want to test? Ranorex tests, if properly configured, should be resolution-independent. So if the element is on the screen (even if it's out of the visible area of screen, but physically available), Ranorex should be able to find it and work with it. So please elaborate in more details, what exactly you want to do, ideally, post an example of scenario, you want to automate. Thanks.
I'm not quite sure what exactly you want to test? Ranorex tests, if properly configured, should be resolution-independent. So if the element is on the screen (even if it's out of the visible area of screen, but physically available), Ranorex should be able to find it and work with it. So please elaborate in more details, what exactly you want to do, ideally, post an example of scenario, you want to automate. Thanks.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Different screen resolution or sizes
Hi,
Thanks for the response.
Basically, I'm working on a web application which is fully responsive.(Responsive website testing).
E.g. For manual testing, I use 'inspect element'.
1)Open my application
2) Click 'F12' or select 'inspect element' (by right click on the screen)
3) Click on mobile view option
4)Set screen resolutions e.g. 325*600 , 600 * 900
With the help of this, I can test my application, if all the UI elements are aligned in all the screen sizes or not and it is fully responsive or not.
So, now I have to automate the same.
Please let me know,if there is any solution as I'm new to Ranorex.
Thanks for the response.
Basically, I'm working on a web application which is fully responsive.(Responsive website testing).
E.g. For manual testing, I use 'inspect element'.
1)Open my application
2) Click 'F12' or select 'inspect element' (by right click on the screen)
3) Click on mobile view option
4)Set screen resolutions e.g. 325*600 , 600 * 900
With the help of this, I can test my application, if all the UI elements are aligned in all the screen sizes or not and it is fully responsive or not.
So, now I have to automate the same.
Please let me know,if there is any solution as I'm new to Ranorex.
Re: Different screen resolution or sizes
Hi,
Well, I'm afraid, this description is still very vague.
I understand the steps to change the browser's resolution. That can be done with Ranorex. However, there may be a problem with checking if the web page elements are aligned This can be easily checked by the human eye, but it will require some code and computation if the boundary of each element is within the visible web page area. I'm afraid, I can't provide you with such code. This is out of the scope of this support. And as with other your post, without, at very least, a Ranorex snapshot, there is not much else anyone here can do or suggest.
Well, I'm afraid, this description is still very vague.
I understand the steps to change the browser's resolution. That can be done with Ranorex. However, there may be a problem with checking if the web page elements are aligned This can be easily checked by the human eye, but it will require some code and computation if the boundary of each element is within the visible web page area. I'm afraid, I can't provide you with such code. This is out of the scope of this support. And as with other your post, without, at very least, a Ranorex snapshot, there is not much else anyone here can do or suggest.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
-
- Certified Professional
- Posts: 455
- Joined: Tue Feb 18, 2014 2:14 pm
- Location: Co Louth, Ireland
- Contact:
Re: Different screen resolution or sizes
If you change the screen resolution, you could then validate that expected elements are visible on screen. This won't help with validating alignment, but perhaps image based validation, might be of at least some use - https://www.ranorex.com/help/latest/ran ... roduction/
Example image based validation: https://www.ranorex.com/help/latest/ran ... n-example/
Example image based validation: https://www.ranorex.com/help/latest/ran ... n-example/