dkasirajan
7 years agoContributor
Using findchild method in global variable file - test fails. please give me examples using classes
We are using Python script and I have used Findchild method in function- to find objects.
So I have duplicate code in each function for every test case.
But i would like to do with using python class.
Can you please give me example how to use Python classes and calling them in test complete.
I am learning python separately. but i am not able to use it in testcomplete environment.
We are using desktop application.
- please help me how to organize find child method .
-I would like to create object file for each page - where all the objects of that page is identified and will be used in projects.
while running my test - it tries to find objects which will be created when loading that page and test fails.
Thanks,
Devaki