Forum Discussion
Here are the Angular controls that you can access in TC
Did you try recording a test? What happened when you tried that?
- Vars014 years agoOccasional Contributor
Thanks. I tried with recording. It gets recorded but the elements changes its location. So I wanted to iterate through all rows and whichever matches exactly I want to click.
- Marsha_R4 years agoModerator
I suggest figuring out how to process one row first and then building the loop around that code.
- Vars014 years agoOccasional Contributor
I tried selecting but I am not able to click on the element or capture the text present on it. Please have a look at the script below:
ItemCount = Aliases.browser.page.FindElements("xpath");
for(var i = 1; i <= ItemCount.length ; i++)
{
//I want to capture the Text for the below and click on the link how should I do that. I am not able to get any function like getText/click
var Name = page.FindElement("xpath[" + i + "]/td");
Related Content
- 5 years ago
- 4 years ago
Recent Discussions
- 4 hours ago
- 6 days ago
- 10 days ago