How to write a function to test a list box or combo box by selecting the list items randomly from the existing list items

Showing Answers 1 - 2 of 2 Answers

RAJU

  • Sep 2nd, 2006
 

window("window name").winlistbox.select("xxxxx")

window("window name").wincombobox.select("xxxxx")

  Was this answer useful?  Yes

elluruvidyasagar

  • Sep 2nd, 2006
 

function fAdditem

dim litem

litem=window("windowname").wincombobox("wincombo_2").getitemscount()

msgbox litem

lselect=randomnumber(1,ltem-1)

acttxt=window("windowname").wincombobox("combobox name").lselect

msgbox acttxt

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions