Data driven and global parameter

Ask general questions here.
Santhosh
Posts: 33
Joined: Fri Aug 10, 2018 5:51 am

Data driven and global parameter

Post by Santhosh » Wed Feb 12, 2020 6:00 am

Dear Team,

Dose Ranorex supports the below:

- Drag and drop an object to another table
- Resize grid size
- Drag and Dock grid to different side of AuT screen
- Spy Tool Tip text
- Check-Points (All type)
- Global Parameter – declaration, Setter, Getter.
- Data-Driven : Conditional choosing a column based on a Global parameter value.
: Data binding through rows instead of column or
: Assigning Multiple DataSource allocation to a TestCase and Choosing one of those dataSource based on Global parameter value.

AuT : 64 bit, Desktop Application, using WPF and Infragstics Controls v19.2, Multi Culture Application (Supports English, German, Italian, French).


Waiting for your answers.

Thanks,
Santhosh

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Data driven and global parameter

Post by odklizec » Wed Feb 12, 2020 8:22 am

Hi,

Please find the answers below:
Drag and drop an object to another table
If the UI element in question are drageable, then yes, it's possible to perform drag&drop, using mouse down, mouse move and mouse up actions.
Resize grid size
If the grid in question is resizable, then most probably yes? You just have to simulate mouse drag action via mouse down, mouse move and mouse up.
Drag and Dock grid to different side of AuT screen
The same answer as for the above two points.
Spy Tool Tip text
Yes, tooltips are supported. https://www.ranorex.com/help/latest/ran ... tool-tips/
Check-Points (All type)
If by "Checkpoints" you mean element validation, then yes, Ranorex supports validation. Out of the box only simple things, like texts obtained from controls (plus regex support). If you want to validate something more complicated, like entire tables, compare files or validate multiple items in one round, then you will have to use code. Check for example these sample codes. https://www.ranorex.com/help/latest/han ... -examples/
Global Parameter – declaration, Setter, Getter.
You can set or get the content of Global parameters via code. I'm not quite sure about declaring Global parameters via code, but it may be possible? You will have to dig in API and this forum...
https://www.ranorex.com/Documentation/Ranorex/
Data-Driven: Conditional choosing a column based on a Global parameter value.
Not via UI. Via code, yes.
: Data binding through rows instead of column or
Nope.
: Assigning Multiple DataSource allocation to a TestCase and Choosing one of those dataSource based on Global parameter value.
Nope. Definitely not from UI. But you can set a custom data source from code. Please search this forum. It was discussed in the past.
AuT : 64 bit, Desktop Application, using WPF and Infragstics Controls v19.2, Multi Culture Application (Supports English, German, Italian, French).
I don't see a reason why not? There may be unforeseen problems with custom Infragistics controls, with improperly implemented accessibility. But this is something you will have to explore yourself, by trying your app with Ranorex (even in trial mode)?
Hope this helps?
Pavel Kudrys
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