How can I click/identify the object in run time which was not there while recording
Scenario> I have a screen with 2 text field and in run time I may find 2 extra text field and one of the existing text field is changed its name.
Query>How can I identify the text field in run time and fill the test data in the those fields ( I have the test data in external file). As the object is not included in the script, I am not able to insert the handwritten script for that objects as we do not have the identifier for that.
Do we really need to record the object again or is there any other way to do it
Re: How can I click/identify the object in run time which was not there while recording
You can use the getMappableChildren function to find dynamic objects on the screen.
also look at getChildren which returns a larger set of objects that might be useful for other purposes.