Forum Discussion
What you'll need to do is change your keyword test to be more dynamic.... rather than dragging to a set region based upon co-ordinates that are hardcoded in your test, you need to find the desired region every time and then use that for the drag.
So, the way you're going to have to do this:
1) Use some sort of finding methodology (FindChild, Find, etc. or even some custom code), find the region in your calendar that contains the desired dates.
2) Calculate, based upon that found object, the co-ordinates for your drag
3) Pass those co-ordinates into your Drag method.
There's any number of ways to do a lot of this, but step 1 is going to depend a LOT upon the calendar component itself. That's the dynamic piece that you'll need to work around. You MIGHT need to dive into Script code to do a bit of this and then call that code from within your keyword test.
Related Content
- 2 years ago
Recent Discussions
- 2 hours ago
- 3 days ago