Forum Discussion
Is your item in, say an update panel - in other words loaded by means of ajax/callback or the like ? TC may not be able to pick up on the change to the object's properties in this case. You may need to use RefreshMapping on the page object or refetch the object if this is the case. Out of interest, why don't you use NameMapping&Aliases ? Also, keep in mind, TC objects are not entirely Object Oriented model objects. You don't neccesarily store a reference to an object, so if you go fetch a TC object with .Find, you aren't exactly working on that page "Object" directly. So, the page may change, but your instance of it won't always be able to reflect the property changes unless you are explicitly doing checkproperty in which case TC is polling the page object to find out when it changes or refresh mappings etc. .
- Wamboo5 years agoCommunity Hero
If you have access to this object in the application, why don't you do another .find search and find the same object?
You can also use "OnLogEvent" event (this is not the most elegant solution).
- Mr_Bro5 years agoChampion Level 0
Hi kaiiii ,
after finding the object for the first time, just do "Sys.Refresh()" and again try finding the object.
i guess that vll work.
Regards,
Sathish Kumar K
- TanyaYatskovska5 years agoSmartBear Alumni (Retired)
Hi kaiiii,
Was the issue solved? Please share the solution with us or let us know if you need any more assistance.
Related Content
- 4 years agoEtrahkad
- 7 years agohrothrock
- 5 years agodbattaglia
Recent Discussions
- 18 hours agovladd1