artifex
15 years agoNew Contributor
Extended Find_NameMapping vs. FindChild
** TC v7.5
javaScript
Hello everyone.
I´ve been having the same problem since I first used TC for testing webpages. As I read in another post, the namemapping and aliases feature works just fine when the object locations are not changing too much. But when it comes to dynamic tables, cells objects this gets complicated and it requires some maintenance. I´ve also found the Extended Find feature which now I am going to use, since I was not aware of its existence.
On the other hand, I´ve been trying to make use of the NativeWebObject.Find and the FindChild methods to locate the same objects without having to map them in. The big deal with this is the time that takes TC to actually locate these objects so I can perform an action on them.
Having this two different strategies, I am asking whether there is a way to increase the performance of the FindChild method regarding the timing and/or Extended Find feature would be the best solution. I believe that maybe combining both approaches I could get a good solution, but I am not sure. I´d appreciate it if someone could suggest what to do about this.
Thanks
Sebastian
javaScript
Hello everyone.
I´ve been having the same problem since I first used TC for testing webpages. As I read in another post, the namemapping and aliases feature works just fine when the object locations are not changing too much. But when it comes to dynamic tables, cells objects this gets complicated and it requires some maintenance. I´ve also found the Extended Find feature which now I am going to use, since I was not aware of its existence.
On the other hand, I´ve been trying to make use of the NativeWebObject.Find and the FindChild methods to locate the same objects without having to map them in. The big deal with this is the time that takes TC to actually locate these objects so I can perform an action on them.
Having this two different strategies, I am asking whether there is a way to increase the performance of the FindChild method regarding the timing and/or Extended Find feature would be the best solution. I believe that maybe combining both approaches I could get a good solution, but I am not sure. I´d appreciate it if someone could suggest what to do about this.
Thanks
Sebastian