Forum Discussion
JavierCollRodri
12 years agoContributor
Hello Sonali,
The fastest way to do that is to actually record the test case (as a script, not as a keyword) and see how Test Complete does that by itself. Then you can adapt it to your scripts.
To check the results, you can check if the dragged item parent object is the folder. I don't know much about vbs, so I can't show you an example. In JavaScript it would be something like that:
theItem.Parent.wText == <FOLDER_NAME>
I hope it helped!
The fastest way to do that is to actually record the test case (as a script, not as a keyword) and see how Test Complete does that by itself. Then you can adapt it to your scripts.
To check the results, you can check if the dragged item parent object is the folder. I don't know much about vbs, so I can't show you an example. In JavaScript it would be something like that:
theItem.Parent.wText == <FOLDER_NAME>
I hope it helped!
Related Content
- 9 years ago
- 6 years ago
- 3 years ago
Recent Discussions
- 11 hours ago