Verifying an element arrangement is in horozontal or vertical

0 Answers 64 Views
Coded Steps Test Execution WPF Testing
Rejitha
Top achievements
Rank 1
Rejitha asked on 28 Feb 2023, 06:43 AM

Hi,

Is any option is available to identify an element is arranged in horizontally or vertically.?

 

Elena
Telerik team
commented on 28 Feb 2023, 03:36 PM

Hi Rejitha, 

Can you elaborate on the verification you need to perform on an element? Is this arrangement an html attribut? How it is defined if the element is arranged horizontally or vertically? 

It will be great if you can share an example from a public accessible page, or provide some screenshots to demonstrate the element in question.

Thanks in advance for your cooperation!

Regards,
Elena

Rejitha
Top achievements
Rank 1
commented on 01 Mar 2023, 05:30 AM | edited

Hi Elena,

Thanks for your quick reply..

I want to know the verification like

  1. Drawing a line in editor.--> I want to do verification on arrangement of the lines in editor. Whether the line is arranged/drawn horizontally or vertically?
  2. Arrangement Button in editor.--> I want to do verification on button arrangement in editor. Whether the button is arranged horizontally or vertically?

Ref:  WPF  Automation Testing. 

 

Elena
Telerik team
commented on 03 Mar 2023, 10:59 AM

Hi Rejitha, 

Have you explored the available options for buidling an advanced verification for the element in question? Another option could be the image verification step - have you also tested it? 

In the general case Test Studio uses the target element attributes to build verification steps. That means it depends on the element whether you can check if its horizontally drawn. 

I hope this helps!

Regards,
Elena

No answers yet. Maybe you can help?

Tags
Coded Steps Test Execution WPF Testing
Asked by
Rejitha
Top achievements
Rank 1
Share this question
or