Hi,
I hope someone will know the solution to solve my problem.
I am also facing same problem.
I would like to tell detail.
The following lines are written, when i had record the step.
Code:
JavaWindow("NetSim - Simulation -").JavaButton("Router_Blue").Click
(This is while choose router icon (button) from tool bar.)
Then, it would be list out of routers.
Now i have click the router icon in the list.
then following line are written.
Code:
JavaWindow("NetSim - Simulation -").JavaButton("Router_Blue_2").Click
While reply the error comes in first line which i have mentioned in above.
Code:
(JavaWindow("NetSim - Simulation -").JavaButton("Router_Blue").Click)
Then i saw "Blue Router" property in object repository.
There "Blue Router" has nothing.
But "Blue Router_2" has some properties like x, y pos, class name, text and etc.
I don't why "Blue Router" doesn't have anything.
And if i change "Blue Router_2" to first line , then its working fine.
Why it's happen.
Like that i have faced so many place.
Please anyone help me what's problem in that? and how to resolve that?
Regards
Charles J