Micro Focus QTP (UFT) Forums
Using SetCelldata in javatable - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Using SetCelldata in javatable (/Thread-Using-SetCelldata-in-javatable)



Using SetCelldata in javatable - cowboy49 - 09-19-2010

Hello All,

I am trying to use setcelldata to input text into a javaedit box and javalist inside a javatable. I notice when I am executing my script the cells are selected but there is no text. Does anyone have any ideas what could be my problem?

Thanks


RE: Using SetCelldata in javatable - guin.anirban - 09-19-2010

Use childitem to get the count and access of the objects inside the cell. And then use "Set" and "Select" method to set or select the value.


RE: Using SetCelldata in javatable - venkatbatchu - 09-19-2010

Hi,

Before going to set some value in Edit field first try to acgtivate the cell by using "Activate Cell" and then start passing values to that object.

Please let me know for furether clarification.


Regards,
Venkat. Batchu