10-20-2009, 03:58 PM
Hi,
with the below code u would be able to identify how many list box has been displayed dynamically
Please find the attached Object Repository also , it may helpful to u
I am attaching OR.doc (As because this site is not accepting .tst files so i changed it to .doc , if u wnat to see this please change it to .tsr and upload it to your object repository)
Please let me know if u need any information apret from this...
with the below code u would be able to identify how many list box has been displayed dynamically
Code:
Browser("Lockers, Storage Lockers,").Page("Lockers, Storage Lockers,").WebEdit("keyword").Set ("LW1368")
Browser("Lockers, Storage Lockers,").Page("Lockers, Storage Lockers,").WebButton("Search").Submit
wait(10)
Set a=Description.Create
a("html tag").value="SELECT"
Set b=Browser("Lyon - Work Bench with").Page("Lyon - Work Bench with").ChildObjects(a)
c=b.count
msgbox c 'Here u will be able to identify how many attributes list has been displayed
Please find the attached Object Repository also , it may helpful to u
I am attaching OR.doc (As because this site is not accepting .tst files so i changed it to .doc , if u wnat to see this please change it to .tsr and upload it to your object repository)
Please let me know if u need any information apret from this...