Forum Discussion
create variables in TestComplete for anything you want to share and then use those in the second function
Thanks Marsha_R I already had tried it and did not work. I think, the problem is not at getting the return value, but at recognizing the object again (which I want to manipulate with the return value of the function) .
Do you have any idea why an object cannot be recognized once I has been cklicked once?
Thanks a lot again!
- Marsha_R4 years agoModerator
Coordinates are not the best way to look for an object since they can change between runs of the test or between machines or even between reloads of the same browser. Try using the object name instead. It's a more persistent value.
- anapao4 years agoOccasional Contributor
The drag function always requires the X,Y co-ordinates for the start position and the end position :/. But thank you anyways for your kind help!
- Marsha_R4 years agoModerator
What happens when you try to use the object again in the same function? The exact error message and/or a screenshot would be helpful.
Related Content
- 12 months ago
- 5 years ago
Recent Discussions
- 2 hours ago
- 24 hours ago