Forum Discussion
Oferv
15 years agoSuper Contributor
Thanks Robert,
yes i am transferring an integer,i even changed the field format in the excel where the value is coming from.
but,TC just doesn't perform the selection.
if i'll record only the value selection and run it it will select properly.
for example :
function Test1()
{
//Selects the 5 item of the 'ChooseTypeScroll' combo-box.
Aliases["DesktopMainWindow"]["HwndSource_ChooseTemplateDialog"]["ChooseTemplateDialog"]["Grid"]["ChooseType"]["ChooseTypeScroll"]["ClickItem"](5);
}
but if i'll convert my recording to script(which i usually do)and i'll copy the code line to my unit and i'll change the value 5 to 3 for example it won't work
yes i am transferring an integer,i even changed the field format in the excel where the value is coming from.
but,TC just doesn't perform the selection.
if i'll record only the value selection and run it it will select properly.
for example :
function Test1()
{
//Selects the 5 item of the 'ChooseTypeScroll' combo-box.
Aliases["DesktopMainWindow"]["HwndSource_ChooseTemplateDialog"]["ChooseTemplateDialog"]["Grid"]["ChooseType"]["ChooseTypeScroll"]["ClickItem"](5);
}
but if i'll convert my recording to script(which i usually do)and i'll copy the code line to my unit and i'll change the value 5 to 3 for example it won't work