cancel
Showing results for 
Search instead for 
Did you mean: 

Get Table Items from within iFrame - Edge

PeterCousins
Level 2
Hi,

We have just swapped one of our Automations from IE to Edge and having trouble getting table items from within an iFrame.

Previously with IE we could just HTML spy the table and use 'Read' - 'Get Table' and place the results into a collection, however now with Edge the same element is being spied as iFrame and when using 'Read' we are unable to 'Get Table'.

Element Details of Edge spied table element:
36590.png
Same Element but on IE:
36591.png
I have tried changing the Element type to 'Table (Web)' and get the below message when trying to read/get table items into a collection:

36592.png
I have also tried changing the Element Type to 'Table (Web)' coupled with changing the Web Element Type attribute to 'TABLE' and still no joy.

Is there a way of grabbing the table within the iFrame and sticking the results into a collection?

Any help on this would be greatly appreciated.


1 BEST ANSWER

Helpful Answers

Kirk.Russell
Level 6
Hi Peter

Lesley Case a developer in Leeds shared how to do this, I tried to add her in here but I don't think she is a member of the Product community. She says I can share this doc with how she did it and is happy for you to reach out to her directly through the wider BP community

Feels like there are a few of us wrangling with this table in switching e-RS from IE to Edge or Chrome

Kirk

View answer in original post

8 REPLIES 8

Kirk.Russell
Level 6
Hi Peter

Lesley Case a developer in Leeds shared how to do this, I tried to add her in here but I don't think she is a member of the Product community. She says I can share this doc with how she did it and is happy for you to reach out to her directly through the wider BP community

Feels like there are a few of us wrangling with this table in switching e-RS from IE to Edge or Chrome

Kirk

LesleyCase
Level 5
Hi Peter, I managed to find the discussion!

Kirk has already shared the document I put together on how to extract the eRS data items from the IFRAME. I hope this is helpful but if you do have any problems please do reach out to me - I'm more than happy to help.
Lesley Case [JobTitle] Leeds Teaching Hospitals Trust [WebsiteUrl]

PeterCousins
Level 2
Hi,

This is great , thanks for your help Lesley and Kirk! Should make the switch over for eRS much easier.

Pete.

Hi Lesley,

Sorry to bother you, just reading through this thread after a recent ERS update that has stopped our Automation from working. I've also been looking at accessing the IFrame table, could I also please have a copy of this document?

James

Gateshead Health NHS Foundation Trust

Hi James

Lesley is on Maternity leave and unfortunately I cant find the document I shared before and it doesn't seem to be in the thread any longer. 

Perhaps her colleague Greg @greggoodrem Can help track down a copy.

Kirk

Hi James and Kirk,

I'm not sure on the location of the document but I could jump on a call with you if that'll help as I've updated the extraction of the iFrame data to use C# and ultimately it can export far higher volumes of UBRN data.

Greg
greg.goodrem@nhs.net

Hi both

I managed to track Lesley's original doc down but this thread doesn't seem to allow document attachments, so can't see how to share it at the moment.

I'm okay thanks Greg - don't need a session with you right now, but if I get a use case may come tapping on your screen 🙂

If you do set something up with James and want this doc as reference I can mail it to you.

Kirk

JamesBrady
Level 3

Thanks very much for responding both. I did manage to sort something in the end. Thanks very much for the offer Greg I may take you up on that at some point as that would be really useful. But ok for the moment 😀