| || |
Problem with OracleTables in OracleTabbedRegions
I'm automating tests for Oracle EBS. I have this problem where QTP suddenly cannot identify OracleTables within OracleTabbedRegions. The Object Repository cannot identify the Table but Spy can and sees the same properties.
This occurs when the TabbedRegion (which contains the Table) seems to have had it's x,y,length and width equal to 0. If another Tab is clicked and then you come back to this tab, QTP can find the table and TabbedRegion has the correct values of x,y,length and width.
I have Oracle names set-up in the config.
Anyone seen something similar?
Re: Problem with OracleTables in OracleTabbedRegions
I've discovered that the problem was I was using a SetFocus function for the table cell.
When you use a OracleTable.Setfocus for a table in a Tabbed region, QTP can no longer recognise the table and it sees tha tabbed region as having no size. Strange byt true.