Idstr property of a Frame changes with every login, how to overcome this?
Hello Team,
I am using TestCOmpelte(10.40) for Automating Mycrosoft Dynamics CRM (2015 | Version 7.0.0.3543) based application on Chrome Browser (version 40.0.2214.115 | updates of Chrome are already disabled by admin).
There is a Frame under parent page of which IdStr property value is toggeling between "contentIFrame0" and "contentIFrame1" with new page lading or new login.
This is making the test fails. I have tried using regular expression but then object cannot be identified.Other properties are not unique enough to distinguish this frame.
It is most important frame since all other components are children of this frame.
I have tried FindChild method as well but then execution time gets increased unexpectedly.
attached is the NAmeMapping screenshot.
Please help how to overcome this problem.
Thanks,
Pratiksha
Hi,
In addition to the already said recommendations, you may also consider Conditional mapping of the problematic IFrame (http://support.smartbear.com/viewarticle/55608/) or specify one or more required child object(s) (http://support.smartbear.com/viewarticle/56656/) to improve the stability of the IFrame object recognition.