09-19-2013, 05:48 PM
(This post was last modified: 09-19-2013, 06:02 PM by automation2012.)
Weblist has items - 1,2,3,4,5,6,7,8,9,10,11,12
current value set to 9
i want to select 8
belw code is not helping me to solve my issue -
Please suggest me the possible solution
Got the solution..after using Cstr its working
current value set to 9
i want to select 8
belw code is not helping me to solve my issue -
Code:
sTimeVal = "9"
sTimeVal = (sTimeVal) - "1"
PRINT sTimeVal
Browser("CVS pharmacy").Page("CVS pharmacy - SelectLocation").WebList("PickupHours").Select sTimeVal
Please suggest me the possible solution
Got the solution..after using Cstr its working