05-28-2010, 11:12 AM
Hi,
I am having a script which is taking too much time to identify a cell data within a webtable.
all the objects are in OR. When i use highlight property to highlight the webtable in the page, it is successfully identifying the webtable. But when i use the code to get the cell data within the webtable, it takes around 3 minutes to get that data and sometimes it just hangs up.
Below is the code..
I have inserted the transaction command to check how long it waits for getting the cell data. It roughly comes around 3min or more and like i said sometime script gets hanged..
I am not able to figure out the reason behind this abnormal behavior.
Any help would be great.
I am having a script which is taking too much time to identify a cell data within a webtable.
all the objects are in OR. When i use highlight property to highlight the webtable in the page, it is successfully identifying the webtable. But when i use the code to get the cell data within the webtable, it takes around 3 minutes to get that data and sometimes it just hangs up.
Below is the code..
Code:
Services.StartTransaction "CR Ready status"
sData = Trim(Browser("ABC").Window("ADA").Page("ADA").WebTable("Doc Type").GetCellData(2, 6))
Services.EndTransaction "CR Ready status"
I have inserted the transaction command to check how long it waits for getting the cell data. It roughly comes around 3min or more and like i said sometime script gets hanged..
I am not able to figure out the reason behind this abnormal behavior.
Any help would be great.