Hi there,
I'm testing a desktop application and need to validate whether the mail which was sent is in the Sent Mailbox.
When I use the "TRACK" feature in the repository, it captures the entire client area. However, I would like to see whether there is an entry of recently sent mail on top line of the client area. There is no row and column in this client area.
The following is the RxXpath.
/form[@title~'^Admin\ Automation,\ Group\ :']/container[@controlname='panMain']/container[@controlname='ucTabAssistant']/?/?/container[@controlname='PageMail']/?/?/element/container[@controltypename='UltraTabPageControl' and @instance='0']/container[@controlname='ucMail']/container[@controlname='Panel2']/?/?/container[@controlname='panData']/?/?/container[@accessiblerole='Client']
Please see the attachment of the screen capture of this client area.
Basically, I would like to validate whether the top line has the recently sent mail.
Thank you very much for your time and kind assistance. I look forward to hearing from you.
Best regards,
Poblarp
How to find the element in the client area
How to find the element in the client area
You do not have the required permissions to view the files attached to this post.
Re: How to find the element in the client area
/form[@title~'^Admin\ Automation,\ Group\ :']/container[@controlname='panMain']/container[@controlname='ucTabAssistant']/?/?/container[@controlname='PageMail']/?/?/element/container[@controltypename='UltraTabPageControl' and
@instance='0']/container[@controlname='ucMail']/container[@controlname='Panel2']/?/?/container[@controlna
me='panData']/?/?/container[@accessiblerole='Client']
@instance='0']/container[@controlname='ucMail']/container[@controlname='Panel2']/?/?/container[@controlna
me='panData']/?/?/container[@accessiblerole='Client']
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: How to find the element in the client area
Hello Poblarp,
Typically you can target the first row by creating a path that targets all rows, then specify the index with [n].
All rows
First Row
With a Ranorex Snapshot (*.rxsnp) of your application, we can provide a more accurate RxPath to target the first row in your application.
Kind Regards,
Ned
Typically you can target the first row by creating a path that targets all rows, then specify the index with [n].
All rows
Code: Select all
/dom//table/tr
Code: Select all
/dom//table/tr[1]
Kind Regards,
Ned
Re: How to find the element in the client area
Hi Ned / Support Team,
I would like to thank you very much for your reply and suggestion. I sent you the snapshot file as requested to [email protected] so you could have a full picture of application and RXxpath. I look forward to hearing from the [email protected] for details and instruction to find this UI elements from the first row.
Best regards,
Poblarp
I would like to thank you very much for your reply and suggestion. I sent you the snapshot file as requested to [email protected] so you could have a full picture of application and RXxpath. I look forward to hearing from the [email protected] for details and instruction to find this UI elements from the first row.
Best regards,
Poblarp