not able to parse different values from weblist
I wanted to get parse through the values of a weblist without parameterization.
There is a combobox with four values : daily,monthly,weekly,regularinterval.
These are some statements in my script:
var1=Dialog("Trustix AntiVirus 2005").Dialog("Trustix Antivirus - Schedule").Page("Scheduling a Scan").WebList("CboScheduleTask").GetItem(2)
Dialog("Trustix AntiVirus 2005").Dialog("Trustix Antivirus - Schedule").Page("Scheduling a Scan").WebList("CboScheduleTask").Select(var1)
I am getting the scond item from the list to the variable 'var1'. But when am using the variable var1 in the select statement, it is still selecting the first value(which i selected while recording).
Note::The object i\was not identified by normal recording so i recorded it with low-level and than using object spy/repository converted to regular dialog boxes.
Re: not able to parse different values from weblist
actually i am not clear with u r question....but one thing i can say is for GetItem the index value of weblist always starts with 1 and where has for Select the index value always starts with 0....so this may be u r problem....
r else pls try to elaborate the question, if u r selecting the item from GetItem, then onceagain y r u using, Select method...