08-20-2009, 10:30 AM
Yeah Probably it would. Just adding my 2 cents,
Aditi -
I guess the issue is with object refresh. Either the script sync is out or the list is there but QTP is too quick to select before the objects are loaded. The matter of fact that this script had no issues for 1.5 years only rings the bell about performance of the application. If QTPKing's above solution does not resolve the issue, please try this,
After it is done with selecting the javalist with 4 items write the below code,
Let me know if this helps.
Aditi -
I guess the issue is with object refresh. Either the script sync is out or the list is there but QTP is too quick to select before the objects are loaded. The matter of fact that this script had no issues for 1.5 years only rings the bell about performance of the application. If QTPKing's above solution does not resolve the issue, please try this,
After it is done with selecting the javalist with 4 items write the below code,
Code:
wait 2
Javalist().Object.Refreshobject ( or ) JavaList().Refreshobject
javalist().Click
javalist().select "whatever"
Let me know if this helps.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.