Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Object identification issue
#1
Not Solved
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..

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.
Reply
#2
Not Solved
If it is taking time then you can go for document object model (DOM).
Reply
#3
Not Solved
Anirban, I have never used the document object model (DOM). Can you please explain me how can i use it here? Or any reference will also suffice. Thank you for your time.
Reply
#4
Not Solved
You can visit to the following site: http://w3schools.com/jsref/dom_obj_document.asp

But one thing i want to suggest you that DOM is the last option for automation. We need to use DOM when other ways gets failed for automating any controls.

You try with other properties to identify the table properly. Try to analysis the result as well. I think you will definitely get the solution.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Enabling Smart Identification for SAP Gui object prasanna.kale5@gmail.com 0 937 12-05-2019, 08:04 PM
Last Post: prasanna.kale5@gmail.com
  Object identification is taking too much time JACKSPARROW 0 1,698 01-17-2017, 11:08 AM
Last Post: JACKSPARROW
  Object Identification approach sams001 2 2,560 06-29-2016, 02:17 PM
Last Post: Ankesh
Shy Java Swing application objects identification issue kavithaminu 2 3,421 07-22-2015, 02:07 AM
Last Post: uftuser18
  Uft 12 - Identification of Google Chrome Object's Property value as plain text teja2730 0 2,578 02-02-2015, 05:22 PM
Last Post: teja2730

Forum Jump:


Users browsing this thread: 1 Guest(s)