Forum Discussion

kktsenthil's avatar
kktsenthil
Occasional Contributor
9 years ago

How can I get the last row first cell value in vbcript

HI All,

 

I'm facing an issue and not able to find exact solution as well  not able to write code also.

 

my scenario is

 

Clicks on Add button - Added a row at the bottom in the grid - Click on a info icon which is locating in the first cell in the last row(added new row) - a new row will be added again in the grid.

 

i was tried through record playback it;s taking the only recorded row but i want to create this dynamic way..

please some one help me.

 

i'm trying to this scenarion but not able to make it..

 

 

2 Replies

  • Hi kktsenthil,

     

    Could you supply us with the the screenshot of the grid as well as a screenshot of its Object Spy?

     

     

    Best regards,

     

    Leandro de Araújo Souza

  • blacy's avatar
    blacy
    Contributor

    Not sure this will help, but I was having an issue with always wanting to select the last order listed on a web page of an application I was testing. When I recorded, the below link (#1) was caputed. Everytime I ran it was always pulling up Order-391 even though in was not the last order in the list. So, I used wildcard (see #2) below). Now everytime I run I get the very last order

     

    1) PendingShipping.aspx?Order=391

     

    2) PendingShipping.aspx?*