Hi,
I'm using Ranorex 3.2 to test Flex applications. I found this issue as title.
Snapshot has been attached. Please check.
Thanks.
Can't get column header cell if table is null
Can't get column header cell if table is null
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Can't get column header cell if table is null
Hi Alex,
that's correct.
In flex it's by design, that theres is now row representing the header.
You have to access the header via the representing column.
Regards,
Tobias
Ranorex Support Team
that's correct.
In flex it's by design, that theres is now row representing the header.
You have to access the header via the representing column.
Regards,
Tobias
Ranorex Support Team
Re: Can't get column header cell if table is null
Hi,
You can see from snapshot file. There is no child under column, so I can only get the whole column, not the column header cell.
Regards,
Alex
You can see from snapshot file. There is no child under column, so I can only get the whole column, not the column header cell.
Regards,
Alex
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Can't get column header cell if table is null
Hi,
That's as I said by design.
But the headers text is stored in the attribute name of the column.
Kind regards,
Tobias
Ranorex Support Team
yes, there is no child cell.alex wrote:...There is no child under column...
That's as I said by design.
But the headers text is stored in the attribute name of the column.
Kind regards,
Tobias
Ranorex Support Team
Re: Can't get column header cell if table is null
Hi Tobias,
But I want to click the header cell, then do something.
How can I do it?
Thanks.
But I want to click the header cell, then do something.
How can I do it?
Thanks.
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Can't get column header cell if table is null
Hi,
you can perform a click action on the row with relative coordinates on the header.
Regards,
Tobias
Ranorex Support Team
you can perform a click action on the row with relative coordinates on the header.
Regards,
Tobias
Ranorex Support Team
Re: Can't get column header cell if table is null
How to get header?Support Team wrote:Hi,
you can perform a click action on the row with relative coordinates on the header.
Regards,
Tobias
Ranorex Support Team
By the way, column header cells always exist whether table is null or not. So this is wrong Ranorex provides header cell when table has data, but doesn't when table is null.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Can't get column header cell if table is null
Hi,
To get the header, create a repository item for your header. You can do this by tracking the header with the spy and drag&drop the column from the spy to the repository in Ranorex Studio.
You can also use the Add New Item - Add Item action in Ranorex Studio repository. Your path to the name column should be something like that
or abbreviate it to
To create your own actions (click on the item) in the recorder without recording, have a look at the blog about manually generated recordings.
Regards,
Martin
Ranorex Support Team
To get the header, create a repository item for your header. You can do this by tracking the header with the spy and drag&drop the column from the spy to the repository in Ranorex Studio.
You can also use the Add New Item - Add Item action in Ranorex Studio repository. Your path to the name column should be something like that
Code: Select all
/dom[@domain]/body/flexobject/container/container/container/element/element/container/element/container/container/container/element/container/container/element/container/table/column[@text='Name']
Code: Select all
/dom[@domain]/body/flexobject//table/column[@text='Name']
Regards,
Martin
Ranorex Support Team
Re: Can't get column header cell if table is null
Support Team wrote:Hi,
To get the header, create a repository item for your header. You can do this by tracking the header with the spy and drag&drop the column from the spy to the repository in Ranorex Studio.
You can also use the Add New Item - Add Item action in Ranorex Studio repository. Your path to the name column should be something like thator abbreviate it toCode: Select all
/dom[@domain]/body/flexobject/container/container/container/element/element/container/element/container/container/container/element/container/container/element/container/table/column[@text='Name']
To create your own actions (click on the item) in the recorder without recording, have a look at the blog about manually generated recordings.Code: Select all
/dom[@domain]/body/flexobject//table/column[@text='Name']
Regards,
Martin
Ranorex Support Team
Hi,
I want to get the column header cell rather than all the column.
And as I said in previous response:
By the way, column header cells always exist whether table is null or not. So this is wrong Ranorex provides header cell when table has data, but doesn't when table is null.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Can't get column header cell if table is null
Hi,
The best way to solve your problems/issues and answer your questions might be a remote session.
We will contact you to find a date within calendar week 2 for the remote session.
Best Regards,
Martin
Ranorex Support Team
The best way to solve your problems/issues and answer your questions might be a remote session.
We will contact you to find a date within calendar week 2 for the remote session.
Best Regards,
Martin
Ranorex Support Team
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Can't get column header cell if table is null
Hi,
as mentioned in the remote session, we will have a look on it and inform your about any news on this topic.
Regards,
Tobias
Ranorex Support Team
as mentioned in the remote session, we will have a look on it and inform your about any news on this topic.
Regards,
Tobias
Ranorex Support Team