TestComplete_Scripting_Dynamic object_How to handle table based dynamic object.
Recently i come across very famous issue i.e. Dynamic object, well my web based application does contain the few dynamic object and without selecting them we can not proceed for further page, so i here i would like to request you all will you please guide me how to handle this dynamic object using scripted language ( not using recording and converting them) pure coding based.
Login as employee
Search employee id whose having premium profile
Search will return list of employees in tabular format contains columns like Name of employee,Country ,Status of Profile [Either reviewed or in-progress] & View profile
So here i'm more interested to click and view only reviewed status profile. if profile status is in-progress then view profile symbol is not available for that employee profile.
=> So my question is how to click on this dynamic "View profile" symbol which will be enabled only for employee whose profile status is reviewed.
let say example of reviewed status employee profile standing in 3rd row in my table , first two employees dont have view profile symbol option on screen.
Thanks in advance
Re: TestComplete_Scripting_Dynamic object_How to handle table based dynamic object.
This is one of the cases where I would not map the contents of the table. Map the table itself and then use properties like RowCount, ColumnCount, etc., to find the particular row you want and column you want and then check the contents of the indicated cell.
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider