I recorded a test wherein I encountered a RadTreeView. I expand a parent node, then a child node, then the child's child node.
When I execute the test it fails at the point where it attempts to expand the first node. It fails because it is searching for the text in the node but can't find it since the text of the node changes each time the test is run.
So, I believe I need to have the test expand the nodes by index instead. Is there a setting that will accomplish this? Or can this only be solved by developing a coded step(s)?
When it was recorded:
RadTreeView('ctl00_ctl00_cphMain_rc_ProfileContent_rdTree_treePreferences'): 'CustomerA' action -> 'Expand'
Pages.UserProfile.CphMainRcProfileContentRdTreeTreePreferencesDiv.ExpandNodeByText("CustomerA");
When the test ran:
RadTreeView('ctl00_ctl00_cphMain_rc_ProfileContent_rdTree_treePreferences'): 'CustomerB' action -> 'Expand'")]
When I execute the test it fails at the point where it attempts to expand the first node. It fails because it is searching for the text in the node but can't find it since the text of the node changes each time the test is run.
So, I believe I need to have the test expand the nodes by index instead. Is there a setting that will accomplish this? Or can this only be solved by developing a coded step(s)?
When it was recorded:
RadTreeView('ctl00_ctl00_cphMain_rc_ProfileContent_rdTree_treePreferences'): 'CustomerA' action -> 'Expand'
Pages.UserProfile.CphMainRcProfileContentRdTreeTreePreferencesDiv.ExpandNodeByText("CustomerA");
When the test ran:
RadTreeView('ctl00_ctl00_cphMain_rc_ProfileContent_rdTree_treePreferences'): 'CustomerB' action -> 'Expand'")]