08-20-2009, 04:52 PM
Hi njnirmal,
First of all let me explain one scenario. Then you can implement the same scenario in your case.
'***********************
In your gmail account when you login you will have around 20 new mails then "Inbox(20)" will display. When you relogin next day the mail count may change to 35 then "Inbox(35)". Now I want to validate the "Inbox(X)", so what we can do is
1) Add this object to OR
2) Reg Exp the Value in the OR as "Inbox.*"
Then if you highlight from OR the Inbox(20) or Inbox(35) or Inbox(Anything) thing will highlight. So, now ur script will work without any issue though the number is changing dynamically.
'**************
The second method is as it is webbased application, i can use the getCellData method and get the value from the particular (Though the cell content is chaged from Inbox(20) to Inbox(35) the cell row number and col number will be constant).
'******************************
I think,you are also running with the similar case.
Hope you got my point, if else ping me back. NoProbs
First of all let me explain one scenario. Then you can implement the same scenario in your case.
'***********************
In your gmail account when you login you will have around 20 new mails then "Inbox(20)" will display. When you relogin next day the mail count may change to 35 then "Inbox(35)". Now I want to validate the "Inbox(X)", so what we can do is
1) Add this object to OR
2) Reg Exp the Value in the OR as "Inbox.*"
Then if you highlight from OR the Inbox(20) or Inbox(35) or Inbox(Anything) thing will highlight. So, now ur script will work without any issue though the number is changing dynamically.
'**************
The second method is as it is webbased application, i can use the getCellData method and get the value from the particular (Though the cell content is chaged from Inbox(20) to Inbox(35) the cell row number and col number will be constant).
'******************************
I think,you are also running with the similar case.
Hope you got my point, if else ping me back. NoProbs
Thanks,
SUpputuri
SUpputuri