Hi, We have sample application in which maximum objects including buttons,scrollbar are of type HTMLText. We want to click those HTMLText objects(Buttons) by Click method or DOClick Method. But silkTest is not able to click those object. Can you please help us to resolve this issue.
It would really help if you describe what type of error do you get or you do not get error at all.
1)Open SilkeTest then open your application
2)Do the window declaration
3)Now Open the window Identifier and see SilkTest can recognize the object
4)If SilkTest recognize the object then use the Exists method and see again SilkTest can recognize the object
5)If yes then before click event enter following line of code
Agent.SetOption (OPT_VERIFY_ENABLED, FALSE) then do the click event
I have had times when some controls do not respond like they should. Here are a couple things to try:
Set the control Active
Then Click use the the standard click
Get the Rect of the control
move the mouse to the center (or upper left)
then use the objects click event
This seemed to work for the controls that did not respond to the Click event when the mouse was in a different location. I was using SilkTest 8.0.