Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to enter data in a cell in web table
#1
Solved: 10 Years, 9 Months ago
Hi,

Can anyone help me on below scenario?

There are two web tables with one row each...

In First Web Table -
I have to search for the text and get the position of the column

In Second Data Table -
Now, we have to go to second web table and go to the column position retreived from first web table and click on the cell and enter the data.

Can anyone give piece of code for second scenario???
Reply
#2
Solved: 10 Years, 9 Months ago
use child objects method and try it
Reply
#3
Solved: 10 Years, 9 Months ago
Hi,
Follow the steps
1.Get the row count of first table
2. In a for loop (i=1 to rc) just get the vaule of the cell using getroproperty() method
3. if the text matches then, store the position in a variable and exit for
4. just get the object using childobjects property(here use the position value which is stored in a variable)
5. Set the value of the object

Feel free to post your query, If any difficulty


Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  data table use uft_usr 1 2,105 06-29-2016, 05:23 PM
Last Post: Ankesh
  Writing to Run time data table Neetha 5 11,652 08-27-2015, 10:18 AM
Last Post: supputuri
  Webtable Checkpoint to get cell data from dynamic WbfGrid Neetha 1 3,333 08-20-2015, 11:43 PM
Last Post: ADITI1992
  Unable to pass "Enter" Key through Sendkeys Lavanya N 1 3,922 07-24-2015, 02:17 PM
Last Post: Lavanya N
  Updating the web table Ananth1982 0 1,776 03-04-2015, 02:31 AM
Last Post: Ananth1982

Forum Jump:


Users browsing this thread: 1 Guest(s)